/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/suites/ |
H A D | test_suite_constant_time.data | 13 mbedtls_ct_memcmp NULL 16 mbedtls_ct_memcmp len 1 17 mbedtls_ct_memcmp:-1:1:0 19 mbedtls_ct_memcmp len 3 20 mbedtls_ct_memcmp:-1:3:0 22 mbedtls_ct_memcmp len 4 23 mbedtls_ct_memcmp:-1:4:0 25 mbedtls_ct_memcmp len 5 26 mbedtls_ct_memcmp:-1:5:0 28 mbedtls_ct_memcmp len 15 [all …]
|
H A D | test_suite_constant_time.function | 28 TEST_ASSERT(mbedtls_ct_memcmp(&x, NULL, 0) == 0); 29 TEST_ASSERT(mbedtls_ct_memcmp(NULL, &x, 0) == 0); 30 TEST_ASSERT(mbedtls_ct_memcmp(NULL, NULL, 0) == 0); 209 int result = mbedtls_ct_memcmp(a, b, size); 224 result = mbedtls_ct_memcmp(a, b, size); 243 void mbedtls_ct_memcmp(int same, int size, int offset) 267 int actual = mbedtls_ct_memcmp(a + offset, b + offset, size);
|
/aosp_15_r20/external/mbedtls/tests/suites/ |
H A D | test_suite_constant_time.data | 13 mbedtls_ct_memcmp NULL 16 mbedtls_ct_memcmp len 1 17 mbedtls_ct_memcmp:-1:1:0 19 mbedtls_ct_memcmp len 3 20 mbedtls_ct_memcmp:-1:3:0 22 mbedtls_ct_memcmp len 4 23 mbedtls_ct_memcmp:-1:4:0 25 mbedtls_ct_memcmp len 5 26 mbedtls_ct_memcmp:-1:5:0 28 mbedtls_ct_memcmp len 15 [all …]
|
H A D | test_suite_constant_time.function | 28 TEST_ASSERT(mbedtls_ct_memcmp(&x, NULL, 0) == 0); 29 TEST_ASSERT(mbedtls_ct_memcmp(NULL, &x, 0) == 0); 30 TEST_ASSERT(mbedtls_ct_memcmp(NULL, NULL, 0) == 0); 209 int result = mbedtls_ct_memcmp(a, b, size); 224 result = mbedtls_ct_memcmp(a, b, size); 243 void mbedtls_ct_memcmp(int same, int size, int offset) 267 int actual = mbedtls_ct_memcmp(a + offset, b + offset, size);
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/include/mbedtls/ |
H A D | constant_time.h | 32 int mbedtls_ct_memcmp(const void *a,
|
/aosp_15_r20/external/mbedtls/include/mbedtls/ |
H A D | constant_time.h | 32 int mbedtls_ct_memcmp(const void *a,
|
/aosp_15_r20/external/mbedtls/library/ |
H A D | nist_kw.c | 354 diff = mbedtls_ct_memcmp(NIST_KW_ICV1, A, KW_SEMIBLOCK_LENGTH); in mbedtls_nist_kw_unwrap() 398 diff = mbedtls_ct_memcmp(NIST_KW_ICV2, A, KW_SEMIBLOCK_LENGTH / 2); in mbedtls_nist_kw_unwrap()
|
H A D | constant_time.c | 81 int mbedtls_ct_memcmp(const void *a, in mbedtls_ct_memcmp() function
|
H A D | ssl_cookie.c | 350 if (mbedtls_ct_memcmp(cookie + 4, ref_hmac, sizeof(ref_hmac)) != 0) { in mbedtls_ssl_cookie_check()
|
H A D | chachapoly.c | 311 diff = mbedtls_ct_memcmp(tag, check_tag, sizeof(check_tag)); in mbedtls_chachapoly_auth_decrypt()
|
H A D | rsa.c | 1621 bad = mbedtls_ct_bool_or(bad, mbedtls_ct_bool(mbedtls_ct_memcmp(lhash, p, hlen))); in mbedtls_rsa_rsaes_oaep_decrypt() 2072 if (mbedtls_ct_memcmp(verif, sig, ctx->len) != 0) { in mbedtls_rsa_rsassa_pkcs1_v15_sign() 2316 if ((ret = mbedtls_ct_memcmp(encoded, encoded_expected, in mbedtls_rsa_rsassa_pkcs1_v15_verify()
|
H A D | psa_crypto_mac.c | 445 if (mbedtls_ct_memcmp(mac, actual_mac, mac_length) != 0) { in mbedtls_psa_mac_verify_finish()
|
H A D | cipher.c | 1253 if (mbedtls_ct_memcmp(tag, check_tag, tag_len) != 0) { in mbedtls_cipher_check_tag() 1274 if (mbedtls_ct_memcmp(tag, check_tag, tag_len) != 0) { in mbedtls_cipher_check_tag()
|
H A D | ccm.c | 525 int diff = mbedtls_ct_memcmp(tag1, tag2, tag_len); in mbedtls_ccm_compare_tags()
|
H A D | ssl_tls13_server.c | 296 mbedtls_ct_memcmp(ssl->conf->psk_identity, in ssl_tls13_offered_psks_check_identity_match() 352 if (mbedtls_ct_memcmp(server_computed_binder, binder, binder_len) == 0) { in ssl_tls13_offered_psks_check_binder_match()
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/library/ |
H A D | nist_kw.c | 354 diff = mbedtls_ct_memcmp(NIST_KW_ICV1, A, KW_SEMIBLOCK_LENGTH); in mbedtls_nist_kw_unwrap() 398 diff = mbedtls_ct_memcmp(NIST_KW_ICV2, A, KW_SEMIBLOCK_LENGTH / 2); in mbedtls_nist_kw_unwrap()
|
H A D | constant_time.c | 68 int mbedtls_ct_memcmp(const void *a, in mbedtls_ct_memcmp() function
|
H A D | ssl_cookie.c | 350 if (mbedtls_ct_memcmp(cookie + 4, ref_hmac, sizeof(ref_hmac)) != 0) { in mbedtls_ssl_cookie_check()
|
H A D | chachapoly.c | 311 diff = mbedtls_ct_memcmp(tag, check_tag, sizeof(check_tag)); in mbedtls_chachapoly_auth_decrypt()
|
H A D | psa_crypto_mac.c | 445 if (mbedtls_ct_memcmp(mac, actual_mac, mac_length) != 0) { in mbedtls_psa_mac_verify_finish()
|
H A D | cipher.c | 1269 if (mbedtls_ct_memcmp(tag, check_tag, tag_len) != 0) { in mbedtls_cipher_check_tag() 1290 if (mbedtls_ct_memcmp(tag, check_tag, tag_len) != 0) { in mbedtls_cipher_check_tag()
|
H A D | rsa.c | 1993 bad = mbedtls_ct_bool_or(bad, mbedtls_ct_bool(mbedtls_ct_memcmp(lhash, p, hlen))); in mbedtls_rsa_rsaes_oaep_decrypt() 2474 if (mbedtls_ct_memcmp(verif, sig, ctx->len) != 0) { in mbedtls_rsa_rsassa_pkcs1_v15_sign() 2718 if ((ret = mbedtls_ct_memcmp(encoded, encoded_expected, in mbedtls_rsa_rsassa_pkcs1_v15_verify()
|
H A D | ccm.c | 576 int diff = mbedtls_ct_memcmp(tag1, tag2, tag_len); in mbedtls_ccm_compare_tags()
|
/aosp_15_r20/external/mbedtls/tests/src/drivers/ |
H A D | test_driver_aead.c | 424 mbedtls_ct_memcmp(tag, check_tag, tag_length) in mbedtls_test_transparent_aead_verify()
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/src/drivers/ |
H A D | test_driver_aead.c | 424 mbedtls_ct_memcmp(tag, check_tag, tag_length) in mbedtls_test_transparent_aead_verify()
|