fix typo issues in comments

Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
Jerry Yu 2022-01-20 15:54:26 +08:00
parent eb821c6916
commit 8afd6e4308
2 changed files with 4 additions and 4 deletions

View file

@ -261,7 +261,7 @@
/* Maximum size in bytes of list in signature algorithms ext., RFC 5246/8446 */ /* Maximum size in bytes of list in signature algorithms ext., RFC 5246/8446 */
#define MBEDTLS_SSL_MAX_SIG_ALG_LIST_LEN 65534 #define MBEDTLS_SSL_MAX_SIG_ALG_LIST_LEN 65534
/* Minimue size in bytes of list in signature algorithms ext., RFC 5246/8446 */ /* Minimum size in bytes of list in signature algorithms ext., RFC 5246/8446 */
#define MBEDTLS_SSL_MIN_SIG_ALG_LIST_LEN 2 #define MBEDTLS_SSL_MIN_SIG_ALG_LIST_LEN 2
/* Maximum size in bytes of list in supported elliptic curve ext., RFC 4492 */ /* Maximum size in bytes of list in supported elliptic curve ext., RFC 4492 */

View file

@ -7411,7 +7411,7 @@ int mbedtls_ssl_write_supported_groups_ext( mbedtls_ssl_context *ssl,
/* /*
* Function for writing a signature algorithm extension. * Function for writing a signature algorithm extension.
* *
* The `exitension_data` field of signature algorithm contains `SignatureSchemeList` * The `extension_data` field of signature algorithm contains a `SignatureSchemeList`
* value (TLS 1.3 RFC8446): * value (TLS 1.3 RFC8446):
* enum { * enum {
* .... * ....
@ -7425,8 +7425,8 @@ int mbedtls_ssl_write_supported_groups_ext( mbedtls_ssl_context *ssl,
* SignatureScheme supported_signature_algorithms<2..2^16-2>; * SignatureScheme supported_signature_algorithms<2..2^16-2>;
* } SignatureSchemeList; * } SignatureSchemeList;
* *
* The `exitension_data` field of signature algorithm contains * The `extension_data` field of signature algorithm contains a `SignatureAndHashAlgorithm`
* `SignatureAndHashAlgorithm` value (TLS 1.2 RFC5246): * value (TLS 1.2 RFC5246):
* enum { * enum {
* none(0), md5(1), sha1(2), sha224(3), sha256(4), sha384(5), * none(0), md5(1), sha1(2), sha224(3), sha256(4), sha384(5),
* sha512(6), (255) * sha512(6), (255)