From dc1b4e42e9b7aa5ebcacce0afb38c4d6e7254f23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Fri, 30 Apr 2021 10:41:07 +0200 Subject: [PATCH] Fix a few typos MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Manuel Pégourié-Gonnard --- include/psa/crypto.h | 2 +- include/psa/crypto_config.h | 2 +- include/psa/crypto_values.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/psa/crypto.h b/include/psa/crypto.h index 7df4f3aa48..deb5e0c9b3 100644 --- a/include/psa/crypto.h +++ b/include/psa/crypto.h @@ -3733,7 +3733,7 @@ psa_status_t psa_key_derivation_verify_output_bytes( * It is implementation-dependent whether a failure to initialize * results in this error code. */ -psa_status_t psa_key_derivation_verify_output_bytes( +psa_status_t psa_key_derivation_verify_output_key( psa_key_derivation_operation_t *operation, psa_key_id_t expected); diff --git a/include/psa/crypto_config.h b/include/psa/crypto_config.h index 03aa86ccd6..a0874a17d6 100644 --- a/include/psa/crypto_config.h +++ b/include/psa/crypto_config.h @@ -72,7 +72,7 @@ #define PSA_WANT_ALG_MD4 1 #define PSA_WANT_ALG_MD5 1 #define PSA_WANT_ALG_OFB 1 -/* PBKDF2-HMAC is not yet support via the PSA API in Mbed TLS. +/* PBKDF2-HMAC is not yet supported via the PSA API in Mbed TLS. * Note: when adding support, also adjust include/mbedtls/config_psa.h */ //#define PSA_WANT_ALG_PBKDF2_HMAC 1 #define PSA_WANT_ALG_RIPEMD160 1 diff --git a/include/psa/crypto_values.h b/include/psa/crypto_values.h index 38eb421afd..8036a17826 100644 --- a/include/psa/crypto_values.h +++ b/include/psa/crypto_values.h @@ -2187,7 +2187,7 @@ static inline int mbedtls_svc_key_id_is_null( mbedtls_svc_key_id_t key ) * psa_key_derivation_verify_output_bytes() or * psa_key_derivation_verify_output_key() at the end of the operation. */ -#define PSA_KEY_USAGE_PASSWORD_HASH_AND_VERITY ((psa_key_usage_t)0x00008000) +#define PSA_KEY_USAGE_PASSWORD_HASH_AND_VERIFY ((psa_key_usage_t)0x00008000) /** Whether the key may be used to as the expected value to which a password * hash will be compared.