mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
Rename write signature algorithms function
To keep similar name with other place. Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
@ -1435,10 +1435,10 @@ void mbedtls_ssl_tls13_add_hs_hdr_to_checksum( mbedtls_ssl_context *ssl,
|
|||||||
/*
|
/*
|
||||||
* Write TLS1.3 Signature Algorithm extesion
|
* Write TLS1.3 Signature Algorithm extesion
|
||||||
*/
|
*/
|
||||||
int mbedtls_ssl_tls13_write_signature_algorithms_ext( mbedtls_ssl_context *ssl,
|
int mbedtls_ssl_tls13_write_sig_alg_ext( mbedtls_ssl_context *ssl,
|
||||||
unsigned char *buf,
|
unsigned char *buf,
|
||||||
unsigned char *end,
|
unsigned char *end,
|
||||||
size_t *olen);
|
size_t *olen);
|
||||||
#endif /* MBEDTLS_KEY_EXCHANGE_WITH_CERT_ENABLED */
|
#endif /* MBEDTLS_KEY_EXCHANGE_WITH_CERT_ENABLED */
|
||||||
|
|
||||||
#endif /* MBEDTLS_SSL_PROTO_TLS1_3_EXPERIMENTAL */
|
#endif /* MBEDTLS_SSL_PROTO_TLS1_3_EXPERIMENTAL */
|
||||||
|
@ -311,8 +311,7 @@ static int ssl_tls13_write_exts_client_hello( mbedtls_ssl_context *ssl,
|
|||||||
|
|
||||||
/* The supported_signature_algorithms extension is REQUIRED for
|
/* The supported_signature_algorithms extension is REQUIRED for
|
||||||
* certificate authenticated ciphersuites. */
|
* certificate authenticated ciphersuites. */
|
||||||
ret = mbedtls_ssl_tls13_write_signature_algorithms_ext( ssl, buf,
|
ret = mbedtls_ssl_tls13_write_sig_alg_ext( ssl, buf, end, &cur_ext_len );
|
||||||
end, &cur_ext_len );
|
|
||||||
if( ret != 0 )
|
if( ret != 0 )
|
||||||
return( ret );
|
return( ret );
|
||||||
|
|
||||||
|
@ -73,7 +73,7 @@ void mbedtls_ssl_tls13_add_hs_hdr_to_checksum( mbedtls_ssl_context *ssl,
|
|||||||
#if defined(MBEDTLS_KEY_EXCHANGE_WITH_CERT_ENABLED)
|
#if defined(MBEDTLS_KEY_EXCHANGE_WITH_CERT_ENABLED)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* mbedtls_ssl_tls13_write_signature_algorithms_ext( )
|
* mbedtls_ssl_tls13_write_sig_alg_ext( )
|
||||||
*
|
*
|
||||||
* enum {
|
* enum {
|
||||||
* ....
|
* ....
|
||||||
@ -90,11 +90,10 @@ void mbedtls_ssl_tls13_add_hs_hdr_to_checksum( mbedtls_ssl_context *ssl,
|
|||||||
* Only if we handle at least one key exchange that needs signatures.
|
* Only if we handle at least one key exchange that needs signatures.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int mbedtls_ssl_tls13_write_signature_algorithms_ext(
|
int mbedtls_ssl_tls13_write_sig_alg_ext( mbedtls_ssl_context *ssl,
|
||||||
mbedtls_ssl_context *ssl,
|
unsigned char *buf,
|
||||||
unsigned char *buf,
|
unsigned char *end,
|
||||||
unsigned char *end,
|
size_t *olen )
|
||||||
size_t *olen )
|
|
||||||
{
|
{
|
||||||
((void) ssl);
|
((void) ssl);
|
||||||
((void) buf);
|
((void) buf);
|
||||||
|
Reference in New Issue
Block a user