Searched refs:mbedtls_ct_memcmp (Results 1 – 11 of 11) sorted by relevance
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/ |
A D | constant_time.h | 41 int mbedtls_ct_memcmp( const void *a,
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | ssl_cookie.c | 231 if( mbedtls_ct_memcmp( cookie + 4, ref_hmac, sizeof( ref_hmac ) ) != 0 ) in mbedtls_ssl_cookie_check()
|
A D | nist_kw.c | 382 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 D | constant_time.c | 49 int mbedtls_ct_memcmp( const void *a, in mbedtls_ct_memcmp() function
|
A D | cipher.c | 1198 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 D | rsa.c | 1948 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 D | ssl_cli.c | 1483 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 D | ssl_srv.c | 205 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 D | ssl_msg.c | 1395 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 D | ssl_tls.c | 3696 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 D | ChangeLog | 130 * Add new API mbedtls_ct_memcmp for constant time buffer comparison.
|
Completed in 48 milliseconds