/third_party/openssl/doc/man3/ |
D | CRYPTO_memcmp.pod | 5 CRYPTO_memcmp - Constant time memory comparison 11 int CRYPTO_memcmp(const void *a, const void *b, size_t len); 15 The CRYPTO_memcmp function compares the B<len> bytes pointed to by B<a> and B<b> 22 CRYPTO_memcmp() returns 0 if the memory regions are equal and nonzero
|
/third_party/openssl/crypto/ |
D | arm64cpuid.S | 91 .globl CRYPTO_memcmp symbol 92 .type CRYPTO_memcmp,%function 94 CRYPTO_memcmp: label 122 .size CRYPTO_memcmp,.-CRYPTO_memcmp
|
D | armv4cpuid.S | 88 .globl CRYPTO_memcmp symbol 89 .type CRYPTO_memcmp,%function 91 CRYPTO_memcmp: label 116 .size CRYPTO_memcmp,.-CRYPTO_memcmp
|
D | ia64cpuid.S | 179 .global CRYPTO_memcmp# 180 .proc CRYPTO_memcmp# 183 CRYPTO_memcmp: label 217 .endp CRYPTO_memcmp#
|
D | cryptlib.c | 442 # undef CRYPTO_memcmp 443 int CRYPTO_memcmp(const void * in_a, const void * in_b, size_t len) in CRYPTO_memcmp() function
|
D | sparccpuid.S | 446 .global CRYPTO_memcmp symbol 448 CRYPTO_memcmp: label 477 .type CRYPTO_memcmp,#function 478 .size CRYPTO_memcmp,.-CRYPTO_memcmp
|
/third_party/openssl/crypto/modes/ |
D | wrap128.c | 163 if (CRYPTO_memcmp(got_iv, iv, 8)) { in CRYPTO_128_unwrap() 299 if ((!icv && CRYPTO_memcmp(aiv, default_aiv, 4)) in CRYPTO_128_unwrap_pad() 300 || (icv && CRYPTO_memcmp(aiv, icv, 4))) { in CRYPTO_128_unwrap_pad() 324 if (CRYPTO_memcmp(out + ptext_len, zeros, padding_len) != 0) { in CRYPTO_128_unwrap_pad()
|
/third_party/boringssl/src/crypto/ |
D | constant_time_test.cc | 146 EXPECT_EQ(0, CRYPTO_memcmp(buf, copy, sizeof(buf))); in TEST() 152 EXPECT_NE(0, CRYPTO_memcmp(buf, copy, sizeof(buf))); in TEST()
|
D | mem.c | 175 int CRYPTO_memcmp(const void *in_a, const void *in_b, size_t len) { in CRYPTO_memcmp() function
|
/third_party/boringssl/src/crypto/fipsmodule/aes/ |
D | key_wrap.c | 150 if (CRYPTO_memcmp(calculated_iv, iv, 8) != 0) { in AES_unwrap_key() 221 CRYPTO_memcmp(iv, kPaddingConstant, sizeof(kPaddingConstant)), 0); in AES_unwrap_key_padded()
|
/third_party/boringssl/src/crypto/fipsmodule/rand/ |
D | rand.c | 190 if (CRYPTO_memcmp(state->last_block, entropy, CRNGT_BLOCK_SIZE) == 0) { in rand_get_seed() 197 if (CRYPTO_memcmp(entropy + i - CRNGT_BLOCK_SIZE, entropy + i, in rand_get_seed()
|
/third_party/boringssl/src/include/openssl/ |
D | mem.h | 99 OPENSSL_EXPORT int CRYPTO_memcmp(const void *a, const void *b, size_t len);
|
/third_party/openssl/test/ |
D | sanitytest.c | 89 return CRYPTO_memcmp("ab","cd",2); in test_sanity_memcmp()
|
/third_party/openssl/crypto/dh/ |
D | dh_kdf.c | 92 if (CRYPTO_memcmp(p, ctr, 4)) in dh_sharedinfo_encode()
|
/third_party/openssl/ |
D | e_os.h | 349 # define CRYPTO_memcmp memcmp macro
|
/third_party/openssl/crypto/evp/ |
D | e_chacha20_poly1305.c | 352 if (CRYPTO_memcmp(tohash, in, POLY1305_BLOCK_SIZE)) { in chacha20_poly1305_tls_cipher() 478 if (CRYPTO_memcmp(temp, in, POLY1305_BLOCK_SIZE)) { in chacha20_poly1305_cipher() 485 if (CRYPTO_memcmp(temp, actx->tag, actx->tag_len)) in chacha20_poly1305_cipher()
|
D | e_aria.c | 435 if (CRYPTO_memcmp(EVP_CIPHER_CTX_buf_noconst(ctx), in + len, in aria_gcm_tls_cipher() 669 if (!CRYPTO_memcmp(tag, in + len, cctx->M)) in aria_ccm_tls_cipher() 737 if (!CRYPTO_memcmp(tag, EVP_CIPHER_CTX_buf_noconst(ctx), in aria_ccm_cipher()
|
D | e_rc4_hmac_md5.c | 164 if (CRYPTO_memcmp(out + plen, mac, MD5_DIGEST_LENGTH)) in rc4_hmac_md5_cipher()
|
D | e_aes.c | 400 if (enc && CRYPTO_memcmp(key, key + bytes, bytes) == 0) { in aesni_xts_init_key() 820 if (enc && CRYPTO_memcmp(key, key + bytes, bytes) == 0) { in aes_t4_xts_init_key() 1846 if (CRYPTO_memcmp(gctx->kma.param.t.b, in + len, in s390x_aes_gcm_tls_cipher() 1908 if (CRYPTO_memcmp(buf, gctx->kma.param.t.b, gctx->taglen)) in s390x_aes_gcm_cipher() 2172 if (!CRYPTO_memcmp(cctx->aes.ccm.kmac_param.icv.b, in + len, in s390x_aes_ccm_tls_cipher() 2299 if (!CRYPTO_memcmp(cctx->aes.ccm.kmac_param.icv.b, buf, in s390x_aes_ccm_cipher() 3177 if (CRYPTO_memcmp(ctx->buf, in + len, EVP_GCM_TLS_TAG_LEN)) { in aes_gcm_tls_cipher() 3383 if (enc && CRYPTO_memcmp(key, key + bytes, bytes) == 0) { in aes_xts_init_key() 3690 if (!CRYPTO_memcmp(tag, in + len, cctx->M)) in aes_ccm_tls_cipher() 3758 if (!CRYPTO_memcmp(tag, EVP_CIPHER_CTX_buf_noconst(ctx), in aes_ccm_cipher()
|
/third_party/boringssl/src/crypto/evp/ |
D | p_rsa.c | 236 CRYPTO_memcmp(tbs, rctx->tbuf, rslen) != 0) { in pkey_rsa_verify() 288 CRYPTO_memcmp(rctx->tbuf, asn1_prefix, asn1_prefix_len - hash_len) != 0) { in pkey_rsa_verify_recover()
|
/third_party/openssl/crypto/pkcs12/ |
D | p12_mutl.c | 167 || CRYPTO_memcmp(mac, ASN1_STRING_get0_data(macoct), maclen) != 0) in PKCS12_verify_mac()
|
/third_party/boringssl/src/crypto/cipher_extra/ |
D | e_aesctrhmac.c | 233 if (CRYPTO_memcmp(hmac_result, in_tag, ctx->tag_len) != 0) { in aead_aes_ctr_hmac_sha256_open_gather()
|
D | e_aesgcmsiv.c | 517 if (CRYPTO_memcmp(calculated_tag, given_tag, EVP_AEAD_AES_GCM_SIV_TAG_LEN) != in aead_aes_gcm_siv_asm_open() 808 if (CRYPTO_memcmp(expected_tag, in_tag, sizeof(expected_tag)) != 0) { in aead_aes_gcm_siv_open_gather()
|
/third_party/openssl/crypto/rsa/ |
D | rsa_oaep.c | 206 good &= constant_time_is_zero(CRYPTO_memcmp(db, phash, mdlen)); in RSA_padding_check_PKCS1_OAEP_mgf1()
|
/third_party/openssl/ssl/record/ |
D | ssl3_record.c | 519 if (i == 0 || CRYPTO_memcmp(md, mac, mac_size) != 0) { in ssl3_get_record() 634 || CRYPTO_memcmp(md, mac, (size_t)mac_size) != 0) in ssl3_get_record() 1663 if (i == 0 || CRYPTO_memcmp(md, mac, (size_t)mac_size) != 0) { in dtls1_process_record() 1759 || CRYPTO_memcmp(md, mac, mac_size) != 0) in dtls1_process_record()
|