Lines Matching refs:mbedtls_ssl_hs_hdr_len
1097 const unsigned char *p = ssl->in_msg + mbedtls_ssl_hs_hdr_len(ssl); in ssl_parse_hello_verify_request()
1112 if (mbedtls_ssl_hs_hdr_len(ssl) + 3 > ssl->in_msglen) { in ssl_parse_hello_verify_request()
1248 if (ssl->in_hslen < 38 + mbedtls_ssl_hs_hdr_len(ssl) || in ssl_parse_server_hello()
1267 buf += mbedtls_ssl_hs_hdr_len(ssl); in ssl_parse_server_hello()
1307 if (ssl->in_hslen > mbedtls_ssl_hs_hdr_len(ssl) + 39 + n) { in ssl_parse_server_hello()
1312 ssl->in_hslen != mbedtls_ssl_hs_hdr_len(ssl) + 40 + n + ext_len) { in ssl_parse_server_hello()
1320 } else if (ssl->in_hslen == mbedtls_ssl_hs_hdr_len(ssl) + 38 + n) { in ssl_parse_server_hello()
2167 p = ssl->in_msg + mbedtls_ssl_hs_hdr_len(ssl); in ssl_parse_server_key_exchange()
2293 unsigned char *params = ssl->in_msg + mbedtls_ssl_hs_hdr_len(ssl); in ssl_parse_server_key_exchange()
2553 if (ssl->in_hslen <= mbedtls_ssl_hs_hdr_len(ssl)) { in ssl_parse_certificate_request()
2559 cert_type_len = buf[mbedtls_ssl_hs_hdr_len(ssl)]; in ssl_parse_certificate_request()
2572 if (ssl->in_hslen <= mbedtls_ssl_hs_hdr_len(ssl) + 2 + n) { in ssl_parse_certificate_request()
2580 sig_alg_len = ((buf[mbedtls_ssl_hs_hdr_len(ssl) + 1 + n] << 8) in ssl_parse_certificate_request()
2581 | (buf[mbedtls_ssl_hs_hdr_len(ssl) + 2 + n])); in ssl_parse_certificate_request()
2595 if (ssl->in_hslen <= mbedtls_ssl_hs_hdr_len(ssl) + 3 + n + sig_alg_len) { in ssl_parse_certificate_request()
2605 sig_alg = buf + mbedtls_ssl_hs_hdr_len(ssl) + 3 + n; in ssl_parse_certificate_request()
2616 dn_len = ((buf[mbedtls_ssl_hs_hdr_len(ssl) + 1 + n] << 8) in ssl_parse_certificate_request()
2617 | (buf[mbedtls_ssl_hs_hdr_len(ssl) + 2 + n])); in ssl_parse_certificate_request()
2620 if (ssl->in_hslen != mbedtls_ssl_hs_hdr_len(ssl) + 3 + n) { in ssl_parse_certificate_request()
2628 dn = buf + mbedtls_ssl_hs_hdr_len(ssl) + 3 + n - dn_len; in ssl_parse_certificate_request()
2678 if (ssl->in_hslen != mbedtls_ssl_hs_hdr_len(ssl) || in ssl_parse_server_hello_done()
3406 ssl->in_hslen < 6 + mbedtls_ssl_hs_hdr_len(ssl)) { in ssl_parse_new_session_ticket()
3413 msg = ssl->in_msg + mbedtls_ssl_hs_hdr_len(ssl); in ssl_parse_new_session_ticket()
3420 if (ticket_len + 6 + mbedtls_ssl_hs_hdr_len(ssl) != ssl->in_hslen) { in ssl_parse_new_session_ticket()