Fix typos in comments

Co-authored-by: Janos Follath <janos.follath@arm.com>
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
Manuel Pégourié-Gonnard 2020-07-28 11:54:35 +02:00
parent 2b80249c04
commit 2b2f956f22
2 changed files with 3 additions and 3 deletions

View File

@ -560,7 +560,7 @@
* *
* This setting requires compiling with clang -fsanitize=memory. * This setting requires compiling with clang -fsanitize=memory.
* *
* Uncomment to enable testing of the constant-flow nature of seletected code. * Uncomment to enable testing of the constant-flow nature of selected code.
*/ */
//#define MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN //#define MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN

View File

@ -882,11 +882,11 @@ int mbedtls_ssl_get_key_exchange_md_tls1_2( mbedtls_ssl_context *ssl,
* to a readable buffer of \p max_data_len bytes. * to a readable buffer of \p max_data_len bytes.
* \param data_len_secret The length of the data to process in \p data. * \param data_len_secret The length of the data to process in \p data.
* This must be no less than \p min_data_len and no * This must be no less than \p min_data_len and no
* greated than \p max_data_len. * greater than \p max_data_len.
* \param min_data_len The minimal length of \p data in bytes. * \param min_data_len The minimal length of \p data in bytes.
* \param max_data_len The maximal length of \p data in bytes. * \param max_data_len The maximal length of \p data in bytes.
* \param output The HMAC will be written here. This must point to * \param output The HMAC will be written here. This must point to
* a writeable buffer of sufficient size to hold the * a writable buffer of sufficient size to hold the
* HMAC value. * HMAC value.
* *
* \retval 0 * \retval 0