| /Linux-v5.4/include/crypto/ |
| D | xts.h | 29 !crypto_memneq(key, key + (keylen / 2), keylen / 2)) { in xts_check_key() 52 !crypto_memneq(key, key + (keylen / 2), keylen / 2)) { in xts_verify_key()
|
| D | algapi.h | 405 static inline int crypto_memneq(const void *a, const void *b, size_t size) in crypto_memneq() function
|
| /Linux-v5.4/net/bluetooth/ |
| D | smp.c | 520 return !crypto_memneq(bdaddr->b, hash, 3); in smp_irk_matches() 576 if (crypto_memneq(smp->local_pk, debug_pk, 64)) in smp_generate_oob() 988 if (crypto_memneq(smp->pcnf, confirm, sizeof(smp->pcnf))) { in smp_random() 1511 if (crypto_memneq(smp->pcnf, cfm, 16)) in sc_passkey_round() 1904 if (crypto_memneq(smp->local_pk, debug_pk, 64)) in sc_send_public_key() 2171 if (crypto_memneq(smp->pcnf, cfm, 16)) in smp_cmd_pairing_random() 2696 if (crypto_memneq(cfm.confirm_val, smp->pcnf, 16)) in smp_cmd_public_key() 2746 if (!crypto_memneq(debug_pk, smp->remote_pk, 64)) in smp_cmd_public_key() 2845 if (crypto_memneq(check->e, e, 16)) in smp_cmd_dhkey_check() 3549 if (crypto_memneq(pk, debug_pk, 64)) in test_debug_key() [all …]
|
| /Linux-v5.4/net/ipv4/ |
| D | ah4.c | 284 err = crypto_memneq(icv, auth_data, ahp->icv_trunc_len) ? -EBADMSG : 0; in ah_input_done() 422 err = crypto_memneq(icv, auth_data, ahp->icv_trunc_len) ? -EBADMSG : 0; in ah_input()
|
| /Linux-v5.4/net/mac80211/ |
| D | wpa.c | 162 if (crypto_memneq(mic, data + data_len, MICHAEL_MIC_LEN)) in ieee80211_rx_h_michael_mic_verify() 1059 if (crypto_memneq(mic, mmie->mic, sizeof(mmie->mic))) { in ieee80211_crypto_aes_cmac_decrypt() 1109 if (crypto_memneq(mic, mmie->mic, sizeof(mmie->mic))) { in ieee80211_crypto_aes_cmac_256_decrypt() 1216 crypto_memneq(mic, mmie->mic, sizeof(mmie->mic))) { in ieee80211_crypto_aes_gmac_decrypt()
|
| /Linux-v5.4/arch/x86/crypto/ |
| D | aegis128-aesni-glue.c | 229 return crypto_memneq(tag.bytes, zeros.bytes, authsize) ? -EBADMSG : 0; in crypto_aegis128_aesni_decrypt()
|
| D | aesni-intel_glue.c | 825 return crypto_memneq(authTagMsg, authTag, auth_tag_len) ? in gcmaes_crypt_by_sg()
|
| /Linux-v5.4/fs/crypto/ |
| D | keysetup_v1.c | 202 if (crypto_memneq(raw_key, dk->dk_raw, ci->ci_mode->keysize)) in find_or_insert_direct_key()
|
| /Linux-v5.4/net/ipv6/ |
| D | ah6.c | 476 err = crypto_memneq(icv, auth_data, ahp->icv_trunc_len) ? -EBADMSG : 0; in ah6_input_done() 624 err = crypto_memneq(icv, auth_data, ahp->icv_trunc_len) ? -EBADMSG : 0; in ah6_input()
|
| /Linux-v5.4/security/integrity/evm/ |
| D | evm_main.c | 179 rc = crypto_memneq(xattr_data->data, digest.digest, in evm_verify_hmac()
|
| /Linux-v5.4/arch/arm64/crypto/ |
| D | aes-ce-ccm-glue.c | 342 if (crypto_memneq(mac, buf, authsize)) in ccm_decrypt()
|
| D | ghash-ce-glue.c | 671 if (crypto_memneq(tag, buf, authsize)) in gcm_decrypt()
|
| /Linux-v5.4/fs/ubifs/ |
| D | auth.c | 487 err = crypto_memneq(hmac, node + ofs_hmac, hmac_len); in __ubifs_node_verify_hmac()
|
| D | ubifs.h | 1576 return crypto_memneq(expected, got, c->hash_len); in ubifs_check_hash() 1591 return crypto_memneq(expected, got, c->hmac_desc_len); in ubifs_check_hmac()
|
| /Linux-v5.4/crypto/ |
| D | aegis128-core.c | 455 return crypto_memneq(tag.bytes, zeros, authsize) ? -EBADMSG : 0; in crypto_aegis128_decrypt()
|
| D | ccm.c | 347 if (!err && crypto_memneq(pctx->auth_tag, pctx->odata, authsize)) in crypto_ccm_decrypt_done() 395 if (crypto_memneq(authtag, odata, authsize)) in crypto_ccm_decrypt()
|
| D | authenc.c | 256 if (crypto_memneq(ihash, ahreq->result, authsize)) in crypto_authenc_decrypt_tail()
|
| D | authencesn.c | 255 if (crypto_memneq(ihash, ohash, authsize)) in crypto_authenc_esn_decrypt_tail()
|
| D | rsa-pkcs1pad.c | 478 if (crypto_memneq(out_buf + pos, digest_info->data, in pkcs1pad_verify_complete()
|
| D | chacha20poly1305.c | 105 if (crypto_memneq(tag, rctx->tag, sizeof(tag))) in poly_verify_tag()
|
| /Linux-v5.4/drivers/crypto/nx/ |
| D | nx-aes-ccm.c | 400 rc = crypto_memneq(csbcpb->cpb.aes_ccm.out_pat_or_mac, priv->oauth_tag, in ccm_nx_decrypt()
|
| D | nx-aes-gcm.c | 411 rc = crypto_memneq(itag, otag, in gcm_aes_nx_crypt()
|
| /Linux-v5.4/security/keys/encrypted-keys/ |
| D | encrypted.c | 546 ret = crypto_memneq(digest, epayload->format + epayload->datablob_len, in datablob_hmac_verify()
|
| /Linux-v5.4/net/sunrpc/auth_gss/ |
| D | gss_krb5_crypto.c | 934 if (crypto_memneq(pkt_hmac, our_hmac, kctx->gk5e->cksumlength) != 0) { in gss_krb5_aes_decrypt()
|
| /Linux-v5.4/drivers/crypto/ |
| D | atmel-aes.c | 1740 err = crypto_memneq(itag, otag, authsize) ? -EBADMSG : 0; in atmel_aes_gcm_finalize() 2113 if (crypto_memneq(idigest, odigest, authsize)) in atmel_aes_authenc_final()
|