Fix typos in hash_info.[ch]

Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
Manuel Pégourié-Gonnard 2022-07-26 10:20:52 +02:00
parent fca4dc6ba6
commit de9ffe37ab
2 changed files with 3 additions and 3 deletions

View File

@ -95,7 +95,7 @@ psa_algorithm_t mbedtls_hash_info_psa_from_md( mbedtls_md_type_t md_type )
return entry->psa_alg;
}
/* Get PSA from MD */
/* Get MD from PSA */
mbedtls_md_type_t mbedtls_hash_info_md_from_psa( psa_algorithm_t psa_alg )
{
const hash_entry *entry = hash_table;

View File

@ -7,9 +7,9 @@
* - code based on either of them depending on MBEDTLS_USE_PSA_CRYPTO
* - code based on either of them depending on what's available
*
* Note: this internal module will go away when everything become based on
* Note: this internal module will go away when everything becomes based on
* PSA Crypto; it is a helper for the transition while hash algorithms are
* wtill represented using mbedtls_md_type_t in most places even when PSA is
* still represented using mbedtls_md_type_t in most places even when PSA is
* used for the actual crypto computations.
*
* Copyright The Mbed TLS Contributors