Searched refs:ke_modes_len (Results 1 – 2 of 2) sorted by relevance
628 int ke_modes_len = 0; in ssl_tls13_write_psk_key_exchange_modes_ext() local630 ((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()
76 size_t ke_modes_len; in ssl_tls13_parse_key_exchange_modes_ext() local81 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()