Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/cmac/
Dcmac_test.cc40 if (CRYPTO_memcmp(out, expected, sizeof(out)) != 0) { in test()
81 if (CRYPTO_memcmp(out, expected, sizeof(out)) != 0) { in test()
/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/
Dmem.c120 int CRYPTO_memcmp(const void *in_a, const void *in_b, size_t len) { in CRYPTO_memcmp() function
/external/boringssl/src/crypto/bytestring/
Dcbs.c86 return CRYPTO_memcmp(cbs->data, data, len) == 0; in CBS_mem_equal()
/external/boringssl/src/crypto/cipher/
De_chacha20poly1305.c179 if (CRYPTO_memcmp(tag, in + plaintext_len, c20_ctx->tag_len) != 0) { in open_impl()
De_ssl3.c291 if (CRYPTO_memcmp(&out[data_len], mac, mac_len) != 0) { in aead_ssl3_open()
De_aes.c1186 if (CRYPTO_memcmp(tag, in + plaintext_len, gcm_ctx->tag_len) != 0) { in aead_aes_gcm_open()
1448 if (CRYPTO_memcmp(A, nonce, 8) != 0) { in aead_aes_key_wrap_open()
1710 if (CRYPTO_memcmp(hmac_result, in + plaintext_len, aes_ctx->tag_len) != 0) { in aead_aes_ctr_hmac_sha256_open()
De_tls.c339 unsigned good = constant_time_eq_int(CRYPTO_memcmp(record_mac, mac, mac_len), in aead_tls_open()
/external/boringssl/src/ssl/
Ds3_both.c253 if (CRYPTO_memcmp(p, ssl->s3->tmp.peer_finish_md, finished_len) != 0) { in ssl3_get_finished()
Dt1_lib.c895 if (CRYPTO_memcmp(d, ssl->s3->previous_client_finished, in ext_ri_parse_serverhello()
903 if (CRYPTO_memcmp(d, ssl->s3->previous_server_finished, in ext_ri_parse_serverhello()
2561 if (CRYPTO_memcmp(mac, ticket + (ticket_len - mac_len), mac_len) != 0) { in tls_process_ticket()
/external/boringssl/src/crypto/evp/
Dp_rsa.c252 CRYPTO_memcmp(tbs, rctx->tbuf, rslen) != 0) { in pkey_rsa_verify()
/external/boringssl/src/crypto/rsa/
Dpadding.c450 bad = ~constant_time_is_zero(CRYPTO_memcmp(db, phash, mdlen)); in RSA_padding_check_PKCS1_OAEP_mgf1()
Drsa.c513 if (len != signed_msg_len || CRYPTO_memcmp(buf, signed_msg, len) != 0) { in RSA_verify()
/external/boringssl/src/crypto/curve25519/
Dcurve25519.c748 return CRYPTO_memcmp(s, zero, sizeof(zero)) != 0; in fe_isnonzero()
4684 return CRYPTO_memcmp(rcheck, rcopy, sizeof(rcheck)) == 0; in ED25519_verify()
4852 return CRYPTO_memcmp(kZeros, out_shared_key, 32) != 0; in X25519()
/external/boringssl/src/crypto/modes/
Dgcm.c1225 return CRYPTO_memcmp(ctx->Xi.c, tag, len) == 0; in CRYPTO_gcm128_finish()