/openssl/doc/man3/ |
H A 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
|
/openssl/crypto/modes/ |
H A 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()
|
/openssl/demos/cipher/ |
H A D | aeskeywrap.c | 98 if (sizeof(wrap_ct) == outlen && !CRYPTO_memcmp(outbuf, wrap_ct, outlen)) in aes_wrap_encrypt() 155 if (sizeof(wrap_pt) == outlen && !CRYPTO_memcmp(outbuf, wrap_pt, outlen)) in aes_wrap_decrypt()
|
H A D | ariacbc.c | 95 if (sizeof(cbc_ct) == outlen && !CRYPTO_memcmp(outbuf, cbc_ct, outlen)) in aria_cbc_encrypt() 150 if (sizeof(cbc_pt) == outlen && !CRYPTO_memcmp(outbuf, cbc_pt, outlen)) in aria_cbc_decrypt()
|
/openssl/crypto/ |
H A D | cpuid.c | 198 # undef CRYPTO_memcmp 199 int CRYPTO_memcmp(const void *in_a, const void *in_b, size_t len) in CRYPTO_memcmp() function
|
H A D | ia64cpuid.S | 179 .global CRYPTO_memcmp# 180 .proc CRYPTO_memcmp# 183 CRYPTO_memcmp: label 217 .endp CRYPTO_memcmp#
|
H A D | sparccpuid.S | 446 .global CRYPTO_memcmp 448 CRYPTO_memcmp: label 477 .type CRYPTO_memcmp,#function 478 .size CRYPTO_memcmp,.-CRYPTO_memcmp
|
/openssl/demos/keyexch/ |
H A D | x25519.c | 241 if (CRYPTO_memcmp(peer1.secret, peer2.secret, peer1.secret_len) != 0) { in keyexch_x25519() 247 if (use_kat && CRYPTO_memcmp(peer1.secret, expected_result, in keyexch_x25519()
|
H A D | ecdh.c | 207 || CRYPTO_memcmp(peer1.secret, peer2.secret, peer1.secretlen) != 0) { in main()
|
/openssl/demos/kdf/ |
H A D | pbkdf2.c | 106 if (CRYPTO_memcmp(expected_output, out, sizeof(expected_output)) != 0) { in main()
|
H A D | hkdf.c | 93 if (CRYPTO_memcmp(hkdf_okm, out, sizeof(hkdf_okm)) != 0) { in main()
|
H A D | scrypt.c | 109 if (CRYPTO_memcmp(expected_output, out, sizeof(expected_output)) != 0) { in main()
|
H A D | argon2.c | 143 if (CRYPTO_memcmp(expected_output, out, sizeof(expected_output)) != 0) { in main()
|
/openssl/demos/digest/ |
H A D | EVP_MD_xof.c | 119 if (CRYPTO_memcmp(digest, known_answer, sizeof(known_answer)) != 0) { in main()
|
/openssl/providers/implementations/ciphers/ |
H A D | ciphercommon_ccm_hw.c | 63 || CRYPTO_memcmp(tag, expected_tag, taglen) != 0) in ossl_ccm_generic_auth_decrypt()
|
H A D | cipher_chacha20_poly1305_hw.c | 250 if (CRYPTO_memcmp(tohash, in, POLY1305_BLOCK_SIZE)) { in chacha20_poly1305_tls_cipher() 380 if (CRYPTO_memcmp(temp, in, POLY1305_BLOCK_SIZE)) { in chacha20_poly1305_aead_cipher() 389 if (CRYPTO_memcmp(temp, ctx->tag, ctx->tag_len)) in chacha20_poly1305_aead_cipher()
|
/openssl/demos/mac/ |
H A D | gmac.c | 132 if (CRYPTO_memcmp(expected_output, out, sizeof(expected_output)) != 0) { in main()
|
H A D | siphash.c | 116 if (CRYPTO_memcmp(expected_output, out, sizeof(expected_output)) != 0) { in main()
|
H A D | cmac-aes256.c | 139 if (CRYPTO_memcmp(expected_output, out, sizeof(expected_output)) != 0) { in main()
|
H A D | hmac-sha512.c | 150 if (CRYPTO_memcmp(expected_output, out, sizeof(expected_output)) != 0) { in main()
|
H A D | poly1305.c | 194 if (CRYPTO_memcmp(expected_output, out, sizeof(expected_output)) != 0) { in main()
|
/openssl/providers/implementations/kdfs/ |
H A D | krb5kdf.c | 257 if (CRYPTO_memcmp(&key[0], &key[8], 8) == 0 || in fixup_des3_key() 258 CRYPTO_memcmp(&key[8], &key[16], 8) == 0) { in fixup_des3_key()
|
/openssl/test/ |
H A D | sanitytest.c | 130 return CRYPTO_memcmp("ab", "cd", 2); in test_sanity_memcmp()
|
/openssl/crypto/des/ |
H A D | set_key.c | 125 j = CRYPTO_memcmp(weak_keys[i], key, sizeof(DES_cblock)); in DES_is_weak_key()
|
/openssl/crypto/evp/ |
H A D | e_chacha20_poly1305.c | 351 if (CRYPTO_memcmp(tohash, in, POLY1305_BLOCK_SIZE)) { in chacha20_poly1305_tls_cipher() 474 if (CRYPTO_memcmp(temp, in, POLY1305_BLOCK_SIZE)) { in chacha20_poly1305_cipher() 481 if (CRYPTO_memcmp(temp, actx->tag, actx->tag_len)) in chacha20_poly1305_cipher()
|