Fix typos & improve wording in comments
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
parent
7d381f517a
commit
161dca63c3
2 changed files with 3 additions and 3 deletions
|
@ -2638,7 +2638,7 @@
|
||||||
*
|
*
|
||||||
* Requires: one of: MBEDTLS_MD5_C, MBEDTLS_RIPEMD160_C, MBEDTLS_SHA1_C,
|
* Requires: one of: MBEDTLS_MD5_C, MBEDTLS_RIPEMD160_C, MBEDTLS_SHA1_C,
|
||||||
* MBEDTLS_SHA224_C, MBEDTLS_SHA256_C, MBEDTLS_SHA384_C,
|
* MBEDTLS_SHA224_C, MBEDTLS_SHA256_C, MBEDTLS_SHA384_C,
|
||||||
* MBEDTLS_SHA512_C, or MBEDTLS_PSA_CRYPTO_C with a least
|
* MBEDTLS_SHA512_C, or MBEDTLS_PSA_CRYPTO_C with at least
|
||||||
* one hash.
|
* one hash.
|
||||||
* Module: library/md.c
|
* Module: library/md.c
|
||||||
* Caller: library/constant_time.c
|
* Caller: library/constant_time.c
|
||||||
|
@ -2850,7 +2850,7 @@
|
||||||
* Module: library/pkcs5.c
|
* Module: library/pkcs5.c
|
||||||
*
|
*
|
||||||
* Requires: MBEDTLS_CIPHER_C
|
* Requires: MBEDTLS_CIPHER_C
|
||||||
* (auto-enables MBEDTLS_MD_C)
|
* Auto-enables: MBEDTLS_MD_C
|
||||||
*
|
*
|
||||||
* \warning If using a hash that is only provided by PSA drivers, you must
|
* \warning If using a hash that is only provided by PSA drivers, you must
|
||||||
* call psa_crypto_init() before doing any PKCS5 operations.
|
* call psa_crypto_init() before doing any PKCS5 operations.
|
||||||
|
|
|
@ -352,7 +352,7 @@ int mbedtls_test_fail_if_psa_leaking(int line_no, const char *filename);
|
||||||
/** \def MD_OR_USE_PSA_INIT
|
/** \def MD_OR_USE_PSA_INIT
|
||||||
*
|
*
|
||||||
* Call this macro to initialize the PSA subsystem if MD uses a driver,
|
* Call this macro to initialize the PSA subsystem if MD uses a driver,
|
||||||
* of if #MBEDTLS_USE_PSA_CRYPTO or #MBEDTLS_SSL_PROTO_TLS1_3 is enabled,
|
* or if #MBEDTLS_USE_PSA_CRYPTO or #MBEDTLS_SSL_PROTO_TLS1_3 is enabled,
|
||||||
* and do nothing otherwise.
|
* and do nothing otherwise.
|
||||||
*
|
*
|
||||||
* If the initialization fails, mark the test case as failed and jump to the
|
* If the initialization fails, mark the test case as failed and jump to the
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue