Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/fipsmodule/rand/
Drand.c198 if (CRYPTO_memcmp(state->last_block, entropy, CRNGT_BLOCK_SIZE) == 0) { in rand_get_seed()
205 if (CRYPTO_memcmp(entropy + i - CRNGT_BLOCK_SIZE, entropy + i, in rand_get_seed()
/external/boringssl/src/include/openssl/
Dmem.h96 OPENSSL_EXPORT int CRYPTO_memcmp(const void *a, const void *b, size_t len);
/external/boringssl/src/crypto/fipsmodule/aes/
Dkey_wrap.c133 if (CRYPTO_memcmp(A, iv, 8) != 0) { in AES_unwrap_key()
/external/boringssl/src/crypto/
Dmem.c120 int CRYPTO_memcmp(const void *in_a, const void *in_b, size_t len) { in CRYPTO_memcmp() function
/external/boringssl/src/crypto/fipsmodule/bn/
Dcmp.c235 CRYPTO_memcmp(a->d, b->d, (size_t)a->top * sizeof(a->d[0])) == 0; in BN_equal_consttime()
/external/boringssl/src/crypto/evp/
Dp_rsa.c230 CRYPTO_memcmp(tbs, rctx->tbuf, rslen) != 0) { in pkey_rsa_verify()
282 CRYPTO_memcmp(rctx->tbuf, asn1_prefix, asn1_prefix_len - hash_len) != 0) { in pkey_rsa_verify_recover()
/external/boringssl/src/crypto/cipher_extra/
De_aesctrhmac.c233 if (CRYPTO_memcmp(hmac_result, in_tag, ctx->tag_len) != 0) { in aead_aes_ctr_hmac_sha256_open_gather()
De_chacha20poly1305.c275 if (CRYPTO_memcmp(tag, in_tag, ctx->tag_len) != 0) { in aead_chacha20_poly1305_open_gather()
De_aesgcmsiv.c499 if (CRYPTO_memcmp(calculated_tag, given_tag, EVP_AEAD_AES_GCM_SIV_TAG_LEN) != in aead_aes_gcm_siv_asm_open()
785 if (CRYPTO_memcmp(expected_tag, in_tag, sizeof(expected_tag)) != 0) { in aead_aes_gcm_siv_open_gather()
De_ssl3.c311 if (CRYPTO_memcmp(&out[data_len], mac, mac_len) != 0) { in aead_ssl3_open()
De_tls.c356 constant_time_eq_int(CRYPTO_memcmp(record_mac, mac, mac_len), 0); in aead_tls_open()
/external/boringssl/src/crypto/bytestring/
Dcbs.c87 return CRYPTO_memcmp(cbs->data, data, len) == 0; in CBS_mem_equal()
/external/boringssl/src/ssl/
Dtls13_enc.cc444 CRYPTO_memcmp(CBS_data(&binder), verify_data, hash_len) == 0; in tls13_verify_psk_binder()
Dtls13_both.cc444 CRYPTO_memcmp(verify_data, ssl->init_msg, verify_data_len) == 0; in tls13_process_finished()
Ds3_both.cc448 CRYPTO_memcmp(ssl->init_msg, finished, finished_len) == 0; in ssl3_get_finished()
Dt1_lib.cc800 int ok = CRYPTO_memcmp(d, ssl->s3->previous_client_finished, in ext_ri_parse_serverhello()
812 ok = CRYPTO_memcmp(d, ssl->s3->previous_server_finished, in ext_ri_parse_serverhello()
3096 CRYPTO_memcmp(mac, ticket + (ticket_len - mac_len), mac_len) == 0; in ssl_decrypt_ticket_with_cipher_ctx()
/external/boringssl/src/crypto/fipsmodule/rsa/
Dpadding.c439 crypto_word_t bad = ~constant_time_is_zero_w(CRYPTO_memcmp(db, phash, mdlen)); in RSA_padding_check_PKCS1_OAEP_mgf1()
/external/boringssl/src/crypto/curve25519/
Dcurve25519.c732 return CRYPTO_memcmp(s, zero, sizeof(zero)) != 0; in fe_isnonzero()
4688 return CRYPTO_memcmp(rcheck, rcopy, sizeof(rcheck)) == 0; in ED25519_verify()
4892 return CRYPTO_memcmp(kZeros, out_shared_key, 32) != 0; in X25519()
/external/boringssl/src/crypto/fipsmodule/modes/
Dgcm.c1052 return CRYPTO_memcmp(ctx->Xi.c, tag, len) == 0; in CRYPTO_gcm128_finish()
/external/boringssl/src/crypto/fipsmodule/cipher/
De_aes.c1313 if (CRYPTO_memcmp(tag, in_tag, ctx->tag_len) != 0) { in aead_aes_gcm_open_gather()