Home
last modified time | relevance | path

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

/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Dconstant_time.h41 int mbedtls_ct_memcmp( const void *a,
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dssl_cookie.c231 if( mbedtls_ct_memcmp( cookie + 4, ref_hmac, sizeof( ref_hmac ) ) != 0 ) in mbedtls_ssl_cookie_check()
A 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()
A Dconstant_time.c49 int mbedtls_ct_memcmp( const void *a, in mbedtls_ct_memcmp() function
A Dcipher.c1198 if( mbedtls_ct_memcmp( tag, check_tag, tag_len ) != 0 ) in mbedtls_cipher_check_tag()
1221 if( mbedtls_ct_memcmp( tag, check_tag, tag_len ) != 0 ) in mbedtls_cipher_check_tag()
A Drsa.c1948 if( mbedtls_ct_memcmp( verif, sig, ctx->len ) != 0 ) in mbedtls_rsa_rsassa_pkcs1_v15_sign()
2250 if( ( ret = FTMN_CALLEE_DONE_MEMCMP(mbedtls_ct_memcmp, encoded, in mbedtls_rsa_rsassa_pkcs1_v15_verify()
A Dssl_cli.c1483 mbedtls_ct_memcmp( buf + 1, in ssl_parse_renegotiation_info()
1485 mbedtls_ct_memcmp( buf + 1 + ssl->verify_data_len, in ssl_parse_renegotiation_info()
A Dssl_srv.c205 mbedtls_ct_memcmp( buf + 1, ssl->peer_verify_data, in ssl_parse_renegotiation_info()
4121 mbedtls_ct_memcmp( ssl->conf->psk_identity, *p, n ) != 0 ) in ssl_parse_client_psk_identity()
A Dssl_msg.c1395 if( mbedtls_ct_memcmp( data + rec->data_len, mac_expect, in mbedtls_ssl_decrypt_buf()
1688 if( mbedtls_ct_memcmp( mac_peer, mac_expect, in mbedtls_ssl_decrypt_buf()
A Dssl_tls.c3696 if( mbedtls_ct_memcmp( ssl->in_msg + mbedtls_ssl_hs_hdr_len( ssl ), in mbedtls_ssl_parse_finished()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/
A DChangeLog130 * Add new API mbedtls_ct_memcmp for constant time buffer comparison.

Completed in 48 milliseconds