Home
last modified time | relevance | path

Searched refs:mbedtls_ct_memcmp (Results 1 – 12 of 12) sorted by relevance

/third_party/mbedtls/include/mbedtls/
Dconstant_time.h41 int mbedtls_ct_memcmp( const void *a,
/third_party/mbedtls/library/
Dnist_kw.c382 diff = mbedtls_ct_memcmp( NIST_KW_ICV1, A, KW_SEMIBLOCK_LENGTH ); in mbedtls_nist_kw_unwrap()
431 diff = mbedtls_ct_memcmp( NIST_KW_ICV2, A, KW_SEMIBLOCK_LENGTH / 2 ); in mbedtls_nist_kw_unwrap()
Dssl_cookie.c229 if( mbedtls_ct_memcmp( cookie + 4, ref_hmac, sizeof( ref_hmac ) ) != 0 ) in mbedtls_ssl_cookie_check()
Dconstant_time.c49 int mbedtls_ct_memcmp( const void *a, in mbedtls_ct_memcmp() function
Dcipher.c1203 if( mbedtls_ct_memcmp( tag, check_tag, tag_len ) != 0 ) in mbedtls_cipher_check_tag()
1226 if( mbedtls_ct_memcmp( tag, check_tag, tag_len ) != 0 ) in mbedtls_cipher_check_tag()
Dssl_tls13_generic.c932 if( mbedtls_ct_memcmp( buf, in ssl_tls13_parse_finished_message()
Drsa.c1890 if( mbedtls_ct_memcmp( verif, sig, ctx->len ) != 0 ) in mbedtls_rsa_rsassa_pkcs1_v15_sign()
2166 if( ( ret = mbedtls_ct_memcmp( encoded, encoded_expected, in mbedtls_rsa_rsassa_pkcs1_v15_verify()
Dssl_cli.c1361 mbedtls_ct_memcmp( buf + 1, in ssl_parse_renegotiation_info()
1363 mbedtls_ct_memcmp( buf + 1 + ssl->verify_data_len, in ssl_parse_renegotiation_info()
Dssl_srv.c201 mbedtls_ct_memcmp( buf + 1, ssl->peer_verify_data, in ssl_parse_renegotiation_info()
3661 mbedtls_ct_memcmp( ssl->conf->psk_identity, *p, n ) != 0 ) in ssl_parse_client_psk_identity()
Dssl_msg.c1264 if( mbedtls_ct_memcmp( data + rec->data_len, mac_expect, in mbedtls_ssl_decrypt_buf()
1486 if( mbedtls_ct_memcmp( mac_peer, mac_expect, in mbedtls_ssl_decrypt_buf()
Dssl_tls.c2916 if( mbedtls_ct_memcmp( ssl->in_msg + mbedtls_ssl_hs_hdr_len( ssl ), in mbedtls_ssl_parse_finished()
/third_party/mbedtls/
DChangeLog50 * Add new API mbedtls_ct_memcmp for constant time buffer comparison.