Searched refs:client_shares_len (Results 1 – 2 of 2) sorted by relevance
276 size_t client_shares_len; /* Length of client_shares */ in ssl_tls13_write_key_share_ext() local345 client_shares_len = p - client_shares; in ssl_tls13_write_key_share_ext()346 if( client_shares_len == 0) in ssl_tls13_write_key_share_ext()354 MBEDTLS_PUT_UINT16_BE( client_shares_len + 2, buf, 2 ); in ssl_tls13_write_key_share_ext()356 MBEDTLS_PUT_UINT16_BE( client_shares_len, buf, 4 ); in ssl_tls13_write_key_share_ext()
843 size_t client_shares_len; in ssl_tls13_parse_key_shares_ext() local854 client_shares_len = MBEDTLS_GET_UINT16_BE( p, 0 ); in ssl_tls13_parse_key_shares_ext()856 MBEDTLS_SSL_CHK_BUF_READ_PTR( p, end, client_shares_len ); in ssl_tls13_parse_key_shares_ext()859 client_shares_end = p + client_shares_len; in ssl_tls13_parse_key_shares_ext()