[PATCH v4 6/8] lib: rsa: add documentation to padding_pss_verify to document limitations

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Fri May 22 16:25:04 CEST 2020



> On 22.05.2020, at 16:13, Heiko Stuebner <heiko at sntech.de> wrote:
> 
> From: Heiko Stuebner <heiko.stuebner at theobroma-systems.com>
> 
> 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 at theobroma-systems.com>

Reviewed-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>



More information about the U-Boot mailing list