Re: [PATCH] lib: rsa: Set conventional salt length RSA-PSS parameter

2024-11-14 Thread Tom Rini
On Thu, 31 Oct 2024 10:15:31 +0100, Loic Poulain wrote: > RFC 3447 says that Typical salt length are either 0 or the length > of the output of the digest algorithm, RFC 4055 also recommends > hash value length as the salt length. Moreover, By convention, > most of the signing infrastructures/libra

[PATCH] lib: rsa: Set conventional salt length RSA-PSS parameter

2024-10-31 Thread Loic Poulain
RFC 3447 says that Typical salt length are either 0 or the length of the output of the digest algorithm, RFC 4055 also recommends hash value length as the salt length. Moreover, By convention, most of the signing infrastructures/libraries use the length of the digest algorithm (such as google cloud