Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C5A65C433F5 for ; Mon, 11 Apr 2022 20:14:47 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 95DF783ED2; Mon, 11 Apr 2022 22:14:30 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="UCTnaELx"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 35B4983E97; Mon, 11 Apr 2022 22:14:28 +0200 (CEST) Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 2C7DF83E82 for ; Mon, 11 Apr 2022 22:14:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x82b.google.com with SMTP id o18so10340042qtk.7 for ; Mon, 11 Apr 2022 13:14:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=sGL50eL1keGotgpJg689L8BjGYF02CCKi2jC2gL/BZE=; b=UCTnaELxB6aBKS3slXEjguYh721iY9o/VhbebYBPta2j4Py16ESCmEP4E+bZ66Vbka 7HWhBDRplvAU7hVZQ5PbS/kswthYqZT9yLIC58z+3h4wdltwdfuzF8i9H3PeMhc8CsxA V7oyOwtcA99ttelAlzXus0MsKX0Rw5ZFyLK9M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=sGL50eL1keGotgpJg689L8BjGYF02CCKi2jC2gL/BZE=; b=QroyrmMYB9Cv1icpnLuENN4yPNyY61DPvIhJ8CjfhOcUoDa8CXNl2bwTSfHknU5lKK htRxwU+lTqX9mwn/A++vzr6IS8eu0KIsnpSn0B6NB+HYmzHKgWpBLLReKpHEudeXSpdU sCdTba1DzYcn/TAEV8tJgg4TdBBaQWbxmQ10mEeO+DVBWGcXwN43npVRd7CsfPkssFgU lm5StiaUeO/HfR/lrdhcc4MOQMKdXwce3FqtwA3kypzP+7czLyJq/Jn47nwq14VoN2Zo WzWTjiKXsxTmDb33lYopXV96UaH6OdSOxxqmYp1W5oxBUT67scwlnvClxah5e6Mx//sW mYtA== X-Gm-Message-State: AOAM5306FR00NZPKM6o6vaYNHPFbYzpd3lWy7pNJo1Xq2qcUCKq2T8Mg qjcn5XK+QNuPViUxQfqcpRG9vw== X-Google-Smtp-Source: ABdhPJy+i2cISbtH0w07IgSMVDdZkaVmLrEqe3JkRFW8XlOMimgGQKzGxb6sc2mNdzpTXgKLnB2aFw== X-Received: by 2002:a05:622a:1f94:b0:2ed:73af:109 with SMTP id cb20-20020a05622a1f9400b002ed73af0109mr828174qtb.473.1649708063612; Mon, 11 Apr 2022 13:14:23 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-2ef0-5dff-fedb-a8ba.res6.spectrum.com. [2603:6081:7b01:cbda:2ef0:5dff:fedb:a8ba]) by smtp.gmail.com with ESMTPSA id z26-20020ac86b9a000000b002efedfefb92sm688437qts.84.2022.04.11.13.14.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Apr 2022 13:14:22 -0700 (PDT) Date: Mon, 11 Apr 2022 16:14:20 -0400 From: Tom Rini To: SESA644425 Cc: sjg@chromium.org, gioja.hermann@non.se.com, mr.nuke.me@gmail.com, jamin_lin@aspeedtech.com, xypron.glpk@gmx.de, philippe.reynes@softathome.com, thomas.perrot@bootlin.com, u-boot@lists.denx.de Subject: Re: [PATCH 3/3] lib: rsa: Update function padding_pss_verify (any-salt) Message-ID: <20220411201420.GR14282@bill-the-cat> References: <20220309092717.4203-1-gioja.hermann@non.se.com> <20220309092717.4203-4-gioja.hermann@non.se.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="8h6/jhabpZEPVUNG" Content-Disposition: inline In-Reply-To: <20220309092717.4203-4-gioja.hermann@non.se.com> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean --8h6/jhabpZEPVUNG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 09, 2022 at 01:27:17AM -0800, SESA644425 wrote: > Modify function to support any salt length instead of max > length only. Function now detects salt length by parsing > the content of db buffer. Note that it works with (but is > not limited to) zero-length, digest-length and max-length >=20 > Signed-off-by: SESA644425 > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! --=20 Tom --8h6/jhabpZEPVUNG Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmJUjBwACgkQFHw5/5Y0 tyxyFQv/cPRvMOITkgpNZ5JeMX/uXXjfRPdlLBWuCPi02V2NukhOqP7UPkx5EFKh ixeNHDdFMOCbjo+EB/9Sw1KLGp81MLtKldGX9/k8O5AXMf7vZF1OmHCsUD161RLX wZuc5roJXosxmkjcSqdxXv+yQvSGjm5inKIB5MHaPsxJxTm61pZxVFAcVtC3+l3/ NEsgrEDhSeGr5hP9hjKFxIPyaoLI+kLP6el4tUw4KGNS1hF9zG7zacUNMaq789Ql 4We2W/Oz0BBCw5Ik4WN9kLOJ3X7XuB3C3lG9JPG/QnFLmMhp9Bl6OIcXpCCvzDor kc3Ay78MfHFXTJ6wuuFQ19c2bkSe6kzgL1eSbPHQLdke4Da/qyHWOXwbVKJ0XHt2 154Yh7AvWSTB9hRGj02IsJ/QHSKp+ujJ575c8TajQ4+AS1g4ZIP7bvchJkZvpwkV 66T66Yl7doaoas9UJEz7dVgGzuffEGvsMBkbJ2A1HaSlC6P8utVUL+ka0D7vxrkc Z2GfefEd =TvLy -----END PGP SIGNATURE----- --8h6/jhabpZEPVUNG--