Searched refs:sess_len (Results 1 – 1 of 1) sorted by relevance
894 size_t msg_len, ciph_len, sess_len, comp_len, ext_len; in ssl_parse_client_hello() local1185 sess_len = buf[34]; in ssl_parse_client_hello()1187 if (sess_len > sizeof(ssl->session_negotiate->id) || in ssl_parse_client_hello()1188 sess_len + 34 + 2 > msg_len) { /* 2 for cipherlist length field */ in ssl_parse_client_hello()1195 MBEDTLS_SSL_DEBUG_BUF(3, "client hello, session id", buf + 35, sess_len); in ssl_parse_client_hello()1197 ssl->session_negotiate->id_len = sess_len; in ssl_parse_client_hello()1208 cookie_offset = 35 + sess_len; in ssl_parse_client_hello()1255 ciph_offset = 35 + sess_len; in ssl_parse_client_hello()