Home
last modified time | relevance | path

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

/openthread-latest/third_party/mbedtls/repo/library/
Dssl_tls12_server.c892 size_t msg_len, ciph_len, sess_len, comp_len, ext_len; in ssl_parse_client_hello() local
1183 sess_len = buf[34]; in ssl_parse_client_hello()
1185 if (sess_len > sizeof(ssl->session_negotiate->id) || in ssl_parse_client_hello()
1186 sess_len + 34 + 2 > msg_len) { /* 2 for cipherlist length field */ in ssl_parse_client_hello()
1193 MBEDTLS_SSL_DEBUG_BUF(3, "client hello, session id", buf + 35, sess_len); in ssl_parse_client_hello()
1195 ssl->session_negotiate->id_len = sess_len; in ssl_parse_client_hello()
1206 cookie_offset = 35 + sess_len; in ssl_parse_client_hello()
1253 ciph_offset = 35 + sess_len; in ssl_parse_client_hello()