From 9ff8d1f9639d700a4c6a48ba6638e34430841dd3 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Tue, 5 May 2020 16:00:17 +0200 Subject: [PATCH] Fix copypasta: signature -> encryption Signed-off-by: Gilles Peskine --- include/psa/crypto_sizes.h | 4 ++-- include/psa/crypto_values.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/psa/crypto_sizes.h b/include/psa/crypto_sizes.h index 1f04222c2..0d1810492 100644 --- a/include/psa/crypto_sizes.h +++ b/include/psa/crypto_sizes.h @@ -431,7 +431,7 @@ * \param key_type An asymmetric key type (this may indifferently be a * key pair type or a public key type). * \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 * a buffer size in bytes that guarantees that @@ -462,7 +462,7 @@ * \param key_type An asymmetric key type (this may indifferently be a * key pair type or a public key type). * \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 * a buffer size in bytes that guarantees that diff --git a/include/psa/crypto_values.h b/include/psa/crypto_values.h index baaabff1e..f0203f499 100644 --- a/include/psa/crypto_values.h +++ b/include/psa/crypto_values.h @@ -1259,7 +1259,7 @@ * #PSA_ALG_IS_HASH(\p hash_alg) is true) to use * 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 * hash algorithm. */