]> git.baikalelectronics.ru Git - uboot.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)
commitc5fc3db91c370e085d79001c465b5d596210a680
treebf50166ccca9a33ab3849a3b2a0306aeef1796a5
parent46024ebbd93252489d7785343041868a1f7687fd
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