From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko =?ISO-8859-1?Q?St=FCbner?= Date: Mon, 25 May 2020 19:18:05 +0200 Subject: [PATCH v5 6/8] lib: rsa: add documentation to padding_pss_verify to document limitations In-Reply-To: <20200522141937.3523692-6-heiko@sntech.de> References: <20200522141937.3523692-1-heiko@sntech.de> <20200522141937.3523692-6-heiko@sntech.de> Message-ID: <5736785.3Rr7SERYul@diego> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am Freitag, 22. Mai 2020, 16:19:35 CEST schrieb Heiko Stuebner: > From: Heiko Stuebner > > padding_pss_verify only works with the default pss salt setting of -2 > (length to be automatically determined based on the PSS block structure) > not -1 (salt length set to the maximum permissible value), which makes > verifications of signatures with that saltlen fail. > > Until this gets implemented at least document this behaviour. > > Signed-off-by: Heiko Stuebner transplanting a tag from v4: Reviewed-by: Philipp Tomsich