]> git.dujemihanovic.xyz Git - u-boot.git/commit
lib: rsa: add documentation to padding_pss_verify to document limitations
authorHeiko Stuebner <heiko.stuebner@theobroma-systems.com>
Thu, 18 Jun 2020 14:23:26 +0000 (16:23 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 8 Jul 2020 21:21:46 +0000 (17:21 -0400)
commit1a62c23ecf1f38d999f7d94d8d27fbc97483b35d
treebf50166ccca9a33ab3849a3b2a0306aeef1796a5
parenteda753be8a33d9cadf2c41ea614069a31e314ba3
lib: rsa: add documentation to padding_pss_verify to document limitations

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 <heiko.stuebner@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
lib/rsa/rsa-verify.c