Searched refs:verify_data_len (Results 1 – 5 of 5) sorted by relevance
/mbedtls-3.4.0/library/ |
D | ssl_tls12_client.c | 72 MBEDTLS_SSL_CHK_BUF_PTR( p, end, 5 + ssl->verify_data_len ); in ssl_write_renegotiation_ext() 81 *p++ = MBEDTLS_BYTE_0( ssl->verify_data_len + 1 ); in ssl_write_renegotiation_ext() 82 *p++ = MBEDTLS_BYTE_0( ssl->verify_data_len ); in ssl_write_renegotiation_ext() 84 memcpy( p, ssl->own_verify_data, ssl->verify_data_len ); in ssl_write_renegotiation_ext() 86 *olen = 5 + ssl->verify_data_len; in ssl_write_renegotiation_ext() 640 if( len != 1 + ssl->verify_data_len * 2 || in ssl_parse_renegotiation_info() 641 buf[0] != ssl->verify_data_len * 2 || in ssl_parse_renegotiation_info() 643 ssl->own_verify_data, ssl->verify_data_len ) != 0 || in ssl_parse_renegotiation_info() 644 mbedtls_ct_memcmp( buf + 1 + ssl->verify_data_len, in ssl_parse_renegotiation_info() 645 ssl->peer_verify_data, ssl->verify_data_len ) != 0 ) in ssl_parse_renegotiation_info()
|
D | ssl_tls13_generic.c | 1263 size_t verify_data_len = ssl->handshake->state_local.finished_out.digest_len; in ssl_tls13_write_finished_message_body() local 1269 MBEDTLS_SSL_CHK_BUF_PTR( buf, end, verify_data_len ); in ssl_tls13_write_finished_message_body() 1272 verify_data_len ); in ssl_tls13_write_finished_message_body() 1274 *out_len = verify_data_len; in ssl_tls13_write_finished_message_body()
|
D | ssl_tls12_server.c | 107 if( len != 1 + ssl->verify_data_len || in ssl_parse_renegotiation_info() 108 buf[0] != ssl->verify_data_len || in ssl_parse_renegotiation_info() 110 ssl->verify_data_len ) != 0 ) in ssl_parse_renegotiation_info() 1911 *p++ = ( ssl->verify_data_len * 2 + 1 ) & 0xFF; in ssl_write_renegotiation_ext() 1912 *p++ = ssl->verify_data_len * 2 & 0xFF; in ssl_write_renegotiation_ext() 1914 memcpy( p, ssl->peer_verify_data, ssl->verify_data_len ); in ssl_write_renegotiation_ext() 1915 p += ssl->verify_data_len; in ssl_write_renegotiation_ext() 1916 memcpy( p, ssl->own_verify_data, ssl->verify_data_len ); in ssl_write_renegotiation_ext() 1917 p += ssl->verify_data_len; in ssl_write_renegotiation_ext()
|
D | ssl_tls.c | 1477 ssl->verify_data_len = 0; in mbedtls_ssl_session_reset_int() 7722 ssl->verify_data_len = hash_len; in mbedtls_ssl_write_finished() 7867 ssl->verify_data_len = hash_len; in mbedtls_ssl_parse_finished()
|
/mbedtls-3.4.0/include/mbedtls/ |
D | ssl.h | 1796 size_t MBEDTLS_PRIVATE(verify_data_len); /*!< length of verify data stored */
|