Merge pull request #5953 from tuvshinzayaArm/update-document-PSA_ALG_RSA_PSS

Update documentation of PSA_ALG_RSA_PSS
This commit is contained in:
Paul Elliott 2022-07-14 10:40:21 +01:00 committed by GitHub
commit 0b5f4950cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1400,9 +1400,11 @@
* This is the signature scheme defined by RFC 8017 * This is the signature scheme defined by RFC 8017
* (PKCS#1: RSA Cryptography Specifications) under the name * (PKCS#1: RSA Cryptography Specifications) under the name
* RSASSA-PSS, with the message generation function MGF1, and with * RSASSA-PSS, with the message generation function MGF1, and with
* a salt length equal to the length of the hash. The specified * a salt length equal to the length of the hash, or the largest
* hash algorithm is used to hash the input message, to create the * possible salt length for the algorithm and key size if that is
* salted hash, and for the mask generation. * smaller than the hash length. The specified hash algorithm is
* used to hash the input message, to create the salted hash, and
* for the mask generation.
* *
* \param hash_alg A hash algorithm (\c PSA_ALG_XXX value such that * \param hash_alg A hash algorithm (\c PSA_ALG_XXX value such that
* #PSA_ALG_IS_HASH(\p hash_alg) is true). * #PSA_ALG_IS_HASH(\p hash_alg) is true).