Home
last modified time | relevance | path

Searched refs:CRYPTO_memcmp (Results 1 – 23 of 23) sorted by relevance

/external/boringssl/src/crypto/
Dconstant_time_test.cc146 EXPECT_EQ(0, CRYPTO_memcmp(buf, copy, sizeof(buf))); in TEST()
152 EXPECT_NE(0, CRYPTO_memcmp(buf, copy, sizeof(buf))); in TEST()
Dmem.c172 int CRYPTO_memcmp(const void *in_a, const void *in_b, size_t len) { in CRYPTO_memcmp() function
/external/boringssl/src/crypto/fipsmodule/rand/
Drand.c189 if (CRYPTO_memcmp(state->last_block, entropy, CRNGT_BLOCK_SIZE) == 0) { in rand_get_seed()
196 if (CRYPTO_memcmp(entropy + i - CRNGT_BLOCK_SIZE, entropy + i, in rand_get_seed()
/external/boringssl/src/include/openssl/
Dmem.h99 OPENSSL_EXPORT int CRYPTO_memcmp(const void *a, const void *b, size_t len);
/external/boringssl/src/crypto/fipsmodule/aes/
Dkey_wrap.c136 if (CRYPTO_memcmp(A, iv, 8) != 0) { in AES_unwrap_key()
/external/boringssl/src/crypto/cipher_extra/
De_aesccm.c147 if (CRYPTO_memcmp(tag, in_tag, ctx->tag_len) != 0) { in aead_aes_ccm_open_gather()
De_aesctrhmac.c233 if (CRYPTO_memcmp(hmac_result, in_tag, ctx->tag_len) != 0) { in aead_aes_ctr_hmac_sha256_open_gather()
De_aesgcmsiv.c512 if (CRYPTO_memcmp(calculated_tag, given_tag, EVP_AEAD_AES_GCM_SIV_TAG_LEN) != in aead_aes_gcm_siv_asm_open()
803 if (CRYPTO_memcmp(expected_tag, in_tag, sizeof(expected_tag)) != 0) { in aead_aes_gcm_siv_open_gather()
De_chacha20poly1305.c335 if (CRYPTO_memcmp(data.out.tag, in_tag, tag_len) != 0) { in chacha20_poly1305_open_gather()
De_tls.c378 constant_time_eq_int(CRYPTO_memcmp(record_mac, mac, mac_len), 0); in aead_tls_open()
/external/boringssl/src/crypto/evp/
Dp_rsa.c235 CRYPTO_memcmp(tbs, rctx->tbuf, rslen) != 0) { in pkey_rsa_verify()
287 CRYPTO_memcmp(rctx->tbuf, asn1_prefix, asn1_prefix_len - hash_len) != 0) { in pkey_rsa_verify_recover()
/external/honggfuzz/libhfuzz/
Dmemorycmp.c201 HF_WEAK_WRAP(int, CRYPTO_memcmp, const void* m1, const void* m2, size_t len) { in HF_WEAK_WRAP() argument
/external/boringssl/src/crypto/bytestring/
Dcbs.c88 return CRYPTO_memcmp(cbs->data, data, len) == 0; in CBS_mem_equal()
/external/boringssl/src/crypto/fipsmodule/rsa/
Dpadding.c442 crypto_word_t bad = ~constant_time_is_zero_w(CRYPTO_memcmp(db, phash, mdlen)); in RSA_padding_check_PKCS1_OAEP_mgf1()
/external/boringssl/src/ssl/
Dtls13_enc.cc556 CRYPTO_memcmp(CBS_data(&binder), verify_data, hash_len) == 0; in tls13_verify_psk_binder()
Dt1_lib.cc772 bool ok = CRYPTO_memcmp(d, ssl->s3->previous_client_finished, in ext_ri_parse_serverhello()
784 ok = CRYPTO_memcmp(d, ssl->s3->previous_server_finished, in ext_ri_parse_serverhello()
3449 bool mac_ok = CRYPTO_memcmp(mac, ticket_mac.data(), mac_len) == 0; in decrypt_ticket_with_cipher_ctx()
/external/boringssl/src/third_party/fiat/
Dcurve25519.c406 return CRYPTO_memcmp(s, zero, sizeof(zero)) != 0; in fe_isnonzero()
1992 return CRYPTO_memcmp(rcheck, rcopy, sizeof(rcheck)) == 0; in ED25519_verify()
2136 return CRYPTO_memcmp(kZeros, out_shared_key, 32) != 0; in X25519()
/external/boringssl/src/crypto/fipsmodule/modes/
Dgcm.c855 return CRYPTO_memcmp(ctx->Xi.c, tag, len) == 0; in CRYPTO_gcm128_finish()
/external/boringssl/src/crypto/fipsmodule/cipher/
De_aes.c997 if (CRYPTO_memcmp(tag, in_tag, ctx->tag_len) != 0) { in aead_aes_gcm_open_gather()
/external/grpc-grpc/src/objective-c/
Dgrpc_shadow_boringssl_symbol_list495 CRYPTO_memcmp
DBoringSSL-GRPC.podspec2047 '#define CRYPTO_memcmp GRPC_SHADOW_CRYPTO_memcmp',
/external/boringssl/src/crypto/hrss/
Dhrss.c2169 ok &= constant_time_is_zero_w(CRYPTO_memcmp(ciphertext, expected_ciphertext, in HRSS_decap()
/external/grpc-grpc/src/core/tsi/
Dgrpc_shadow_boringssl.h523 #define CRYPTO_memcmp GRPC_SHADOW_CRYPTO_memcmp macro