Home
last modified time | relevance | path

Searched refs:verify_data_len (Results 1 – 4 of 4) sorted by relevance

/net-tools-3.5.0/mbedtls-2.4.0/library/
Dssl_cli.c134 if( end < p || (size_t)( end - p ) < 5 + ssl->verify_data_len ) in ssl_write_renegotiation_ext()
147 *p++ = ( ssl->verify_data_len + 1 ) & 0xFF; in ssl_write_renegotiation_ext()
148 *p++ = ssl->verify_data_len & 0xFF; in ssl_write_renegotiation_ext()
150 memcpy( p, ssl->own_verify_data, ssl->verify_data_len ); in ssl_write_renegotiation_ext()
152 *olen = 5 + ssl->verify_data_len; in ssl_write_renegotiation_ext()
1064 if( len != 1 + ssl->verify_data_len * 2 ||
1065 buf[0] != ssl->verify_data_len * 2 ||
1067 ssl->own_verify_data, ssl->verify_data_len ) != 0 ||
1068 mbedtls_ssl_safer_memcmp( buf + 1 + ssl->verify_data_len,
1069 ssl->peer_verify_data, ssl->verify_data_len ) != 0 )
Dssl_srv.c155 if( len != 1 + ssl->verify_data_len || in ssl_parse_renegotiation_info()
156 buf[0] != ssl->verify_data_len || in ssl_parse_renegotiation_info()
158 ssl->verify_data_len ) != 0 ) in ssl_parse_renegotiation_info()
1996 *p++ = ( ssl->verify_data_len * 2 + 1 ) & 0xFF;
1997 *p++ = ssl->verify_data_len * 2 & 0xFF;
1999 memcpy( p, ssl->peer_verify_data, ssl->verify_data_len );
2000 p += ssl->verify_data_len;
2001 memcpy( p, ssl->own_verify_data, ssl->verify_data_len );
2002 p += ssl->verify_data_len;
Dssl_tls.c5055 ssl->verify_data_len = hash_len; in mbedtls_ssl_write_finished()
5196 ssl->verify_data_len = hash_len; in mbedtls_ssl_parse_finished()
5470 ssl->verify_data_len = 0; in ssl_session_reset_int()
/net-tools-3.5.0/mbedtls-2.4.0/include/mbedtls/
Dssl.h895 size_t verify_data_len; /*!< length of verify data stored */ member