From de9ffe37ab43e00ee67c4def1a85640daf1a8751 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Tue, 26 Jul 2022 10:20:52 +0200 Subject: [PATCH] Fix typos in hash_info.[ch] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Manuel Pégourié-Gonnard --- library/hash_info.c | 2 +- library/hash_info.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/library/hash_info.c b/library/hash_info.c index f2a4ba088d..c3a81cfdb9 100644 --- a/library/hash_info.c +++ b/library/hash_info.c @@ -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; diff --git a/library/hash_info.h b/library/hash_info.h index e0f47a414b..67983f7ff8 100644 --- a/library/hash_info.h +++ b/library/hash_info.h @@ -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