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() local1163 sess_len = buf[34]; in ssl_parse_client_hello()1165 if (sess_len > sizeof(ssl->session_negotiate->id) || in ssl_parse_client_hello()1166 sess_len + 34 + 2 > msg_len) { /* 2 for cipherlist length field */ in ssl_parse_client_hello()1173 MBEDTLS_SSL_DEBUG_BUF(3, "client hello, session id", buf + 35, sess_len); in ssl_parse_client_hello()1175 ssl->session_negotiate->id_len = sess_len; in ssl_parse_client_hello()1186 cookie_offset = 35 + sess_len; in ssl_parse_client_hello()1233 ciph_offset = 35 + sess_len; in ssl_parse_client_hello()