Fix copypasta: signature -> encryption

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine 2020-05-05 16:00:17 +02:00
parent dd2feead99
commit 9ff8d1f963
2 changed files with 3 additions and 3 deletions

View File

@ -431,7 +431,7 @@
* \param key_type An asymmetric key type (this may indifferently be a * \param key_type An asymmetric key type (this may indifferently be a
* key pair type or a public key type). * key pair type or a public key type).
* \param key_bits The size of the key in bits. * \param key_bits The size of the key in bits.
* \param alg The signature algorithm. * \param alg The asymmetric encryption algorithm.
* *
* \return If the parameters are valid and supported, return * \return If the parameters are valid and supported, return
* a buffer size in bytes that guarantees that * a buffer size in bytes that guarantees that
@ -462,7 +462,7 @@
* \param key_type An asymmetric key type (this may indifferently be a * \param key_type An asymmetric key type (this may indifferently be a
* key pair type or a public key type). * key pair type or a public key type).
* \param key_bits The size of the key in bits. * \param key_bits The size of the key in bits.
* \param alg The signature algorithm. * \param alg The asymmetric encryption algorithm.
* *
* \return If the parameters are valid and supported, return * \return If the parameters are valid and supported, return
* a buffer size in bytes that guarantees that * a buffer size in bytes that guarantees that

View File

@ -1259,7 +1259,7 @@
* #PSA_ALG_IS_HASH(\p hash_alg) is true) to use * #PSA_ALG_IS_HASH(\p hash_alg) is true) to use
* for MGF1. * for MGF1.
* *
* \return The corresponding RSA OAEP signature algorithm. * \return The corresponding RSA OAEP encryption algorithm.
* \return Unspecified if \p hash_alg is not a supported * \return Unspecified if \p hash_alg is not a supported
* hash algorithm. * hash algorithm.
*/ */