Home
last modified time | relevance | path

Searched refs:ke_modes_len (Results 1 – 2 of 2) sorted by relevance

/mbedtls-3.4.0/library/
Dssl_tls13_client.c628 int ke_modes_len = 0; in ssl_tls13_write_psk_key_exchange_modes_ext() local
630 ((void) ke_modes_len ); in ssl_tls13_write_psk_key_exchange_modes_ext()
659 ke_modes_len++; in ssl_tls13_write_psk_key_exchange_modes_ext()
667 ke_modes_len++; in ssl_tls13_write_psk_key_exchange_modes_ext()
673 MBEDTLS_PUT_UINT16_BE( ke_modes_len + 1, buf, 2 ); in ssl_tls13_write_psk_key_exchange_modes_ext()
674 buf[4] = ke_modes_len; in ssl_tls13_write_psk_key_exchange_modes_ext()
Dssl_tls13_server.c76 size_t ke_modes_len; in ssl_tls13_parse_key_exchange_modes_ext() local
81 ke_modes_len = *p++; in ssl_tls13_parse_key_exchange_modes_ext()
84 if( ke_modes_len > 2 ) in ssl_tls13_parse_key_exchange_modes_ext()
91 MBEDTLS_SSL_CHK_BUF_READ_PTR( p, end, ke_modes_len ); in ssl_tls13_parse_key_exchange_modes_ext()
93 while( ke_modes_len-- != 0 ) in ssl_tls13_parse_key_exchange_modes_ext()