Fix typos in hash_info.[ch]
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
diff --git a/library/hash_info.c b/library/hash_info.c
index f2a4ba0..c3a81cf 100644
--- a/library/hash_info.c
+++ b/library/hash_info.c
@@ -95,7 +95,7 @@
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 e0f47a4..67983f7 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