Home
last modified time | relevance | path

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

/mbedtls-3.5.0/library/
Dssl_tls12_client.c1097 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()
[all …]
Dssl_tls12_server.c1043 if (msg_len < mbedtls_ssl_hs_hdr_len(ssl)) { in ssl_parse_client_hello()
1068 if (msg_len != mbedtls_ssl_hs_hdr_len(ssl) + handshake_len) { in ssl_parse_client_hello()
1071 (unsigned) mbedtls_ssl_hs_hdr_len(ssl), in ssl_parse_client_hello()
1126 buf += mbedtls_ssl_hs_hdr_len(ssl); in ssl_parse_client_hello()
1127 msg_len -= mbedtls_ssl_hs_hdr_len(ssl); in ssl_parse_client_hello()
3619 p = ssl->in_msg + mbedtls_ssl_hs_hdr_len(ssl); in ssl_parse_client_key_exchange()
4060 i = mbedtls_ssl_hs_hdr_len(ssl); in ssl_parse_certificate_verify()
Dssl_msg.c3000 if (ssl->in_msglen < mbedtls_ssl_hs_hdr_len(ssl)) { in mbedtls_ssl_prepare_handshake_record()
3006 ssl->in_hslen = mbedtls_ssl_hs_hdr_len(ssl) + ssl_get_hs_total_len(ssl); in mbedtls_ssl_prepare_handshake_record()
5278 if ((ssl->in_hslen == mbedtls_ssl_hs_hdr_len(ssl)) || in ssl_tls13_check_new_session_ticket()
5337 ssl->in_hslen != mbedtls_ssl_hs_hdr_len(ssl))) { in ssl_tls12_handle_hs_message_post_handshake()
Dssl_tls.c7124 if (ssl->in_hslen < mbedtls_ssl_hs_hdr_len(ssl) + 3 + 3) { in ssl_parse_certificate_chain()
7131 i = mbedtls_ssl_hs_hdr_len(ssl); in ssl_parse_certificate_chain()
7139 ssl->in_hslen != n + 3 + mbedtls_ssl_hs_hdr_len(ssl)) { in ssl_parse_certificate_chain()
7253 if (ssl->in_hslen == 3 + mbedtls_ssl_hs_hdr_len(ssl) && in ssl_srv_check_client_no_crt_notification()
7256 memcmp(ssl->in_msg + mbedtls_ssl_hs_hdr_len(ssl), "\0\0\0", 3) == 0) { in ssl_srv_check_client_no_crt_notification()
8105 if (ssl->in_hslen != mbedtls_ssl_hs_hdr_len(ssl) + hash_len) { in mbedtls_ssl_parse_finished()
8113 if (mbedtls_ct_memcmp(ssl->in_msg + mbedtls_ssl_hs_hdr_len(ssl), in mbedtls_ssl_parse_finished()
Dssl_misc.h1701 static inline size_t mbedtls_ssl_hs_hdr_len(const mbedtls_ssl_context *ssl) in mbedtls_ssl_hs_hdr_len() function