Searched refs:mbedtls_ssl_hs_hdr_len (Results 1 – 5 of 5) sorted by relevance
1138 const unsigned char *p = ssl->in_msg + mbedtls_ssl_hs_hdr_len( ssl ); in ssl_parse_hello_verify_request()1148 if( mbedtls_ssl_hs_hdr_len( ssl ) + 3 > ssl->in_msglen ) in ssl_parse_hello_verify_request()1292 if( ssl->in_hslen < 38 + mbedtls_ssl_hs_hdr_len( ssl ) || in ssl_parse_server_hello()1312 buf += mbedtls_ssl_hs_hdr_len( ssl ); in ssl_parse_server_hello()1353 if( ssl->in_hslen > mbedtls_ssl_hs_hdr_len( ssl ) + 39 + n ) in ssl_parse_server_hello()1359 ssl->in_hslen != mbedtls_ssl_hs_hdr_len( ssl ) + 40 + n + ext_len ) in ssl_parse_server_hello()1369 else if( ssl->in_hslen == mbedtls_ssl_hs_hdr_len( ssl ) + 38 + n ) in ssl_parse_server_hello()2262 p = ssl->in_msg + mbedtls_ssl_hs_hdr_len( ssl ); in ssl_parse_server_key_exchange()2403 unsigned char *params = ssl->in_msg + mbedtls_ssl_hs_hdr_len( ssl ); in ssl_parse_server_key_exchange()2675 if( ssl->in_hslen <= mbedtls_ssl_hs_hdr_len( ssl ) ) in ssl_parse_certificate_request()[all …]
1078 if( msg_len < mbedtls_ssl_hs_hdr_len( ssl ) ) in ssl_parse_client_hello()1106 if( msg_len != mbedtls_ssl_hs_hdr_len( ssl ) + handshake_len ) in ssl_parse_client_hello()1110 (unsigned) mbedtls_ssl_hs_hdr_len( ssl ), in ssl_parse_client_hello()1170 buf += mbedtls_ssl_hs_hdr_len( ssl ); in ssl_parse_client_hello()1171 msg_len -= mbedtls_ssl_hs_hdr_len( ssl ); in ssl_parse_client_hello()3749 p = ssl->in_msg + mbedtls_ssl_hs_hdr_len( ssl ); in ssl_parse_client_key_exchange()4245 i = mbedtls_ssl_hs_hdr_len( ssl ); in ssl_parse_certificate_verify()
6868 if( ssl->in_hslen < mbedtls_ssl_hs_hdr_len( ssl ) + 3 + 3 ) in ssl_parse_certificate_chain()6876 i = mbedtls_ssl_hs_hdr_len( ssl ); in ssl_parse_certificate_chain()6884 ssl->in_hslen != n + 3 + mbedtls_ssl_hs_hdr_len( ssl ) ) in ssl_parse_certificate_chain()7004 if( ssl->in_hslen == 3 + mbedtls_ssl_hs_hdr_len( ssl ) && in ssl_srv_check_client_no_crt_notification()7007 memcmp( ssl->in_msg + mbedtls_ssl_hs_hdr_len( ssl ), "\0\0\0", 3 ) == 0 ) in ssl_srv_check_client_no_crt_notification()7847 if( ssl->in_hslen != mbedtls_ssl_hs_hdr_len( ssl ) + hash_len ) in mbedtls_ssl_parse_finished()7856 if( mbedtls_ct_memcmp( ssl->in_msg + mbedtls_ssl_hs_hdr_len( ssl ), in mbedtls_ssl_parse_finished()
3079 if( ssl->in_msglen < mbedtls_ssl_hs_hdr_len( ssl ) ) in mbedtls_ssl_prepare_handshake_record()3086 ssl->in_hslen = mbedtls_ssl_hs_hdr_len( ssl ) + ssl_get_hs_total_len( ssl ); in mbedtls_ssl_prepare_handshake_record()5458 if( ( ssl->in_hslen == mbedtls_ssl_hs_hdr_len( ssl ) ) || in ssl_tls13_check_new_session_ticket()5518 ssl->in_hslen != mbedtls_ssl_hs_hdr_len( ssl ) ) ) in ssl_tls12_handle_hs_message_post_handshake()
1651 static inline size_t mbedtls_ssl_hs_hdr_len( const mbedtls_ssl_context *ssl ) in mbedtls_ssl_hs_hdr_len() function