/linux-6.6.21/net/mac80211/ |
D | aead_api.c | 18 int aead_encrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, size_t aad_len, in aead_encrypt() argument 28 aead_req = kzalloc(reqsize + aad_len, GFP_ATOMIC); in aead_encrypt() 33 memcpy(__aad, aad, aad_len); in aead_encrypt() 36 sg_set_buf(&sg[0], __aad, aad_len); in aead_encrypt() 50 int aead_decrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, size_t aad_len, in aead_decrypt() argument 63 aead_req = kzalloc(reqsize + aad_len, GFP_ATOMIC); in aead_decrypt() 68 memcpy(__aad, aad, aad_len); in aead_decrypt() 71 sg_set_buf(&sg[0], __aad, aad_len); in aead_decrypt()
|
D | aead_api.h | 14 size_t aad_len, u8 *data, 18 size_t aad_len, u8 *data,
|
/linux-6.6.21/drivers/staging/rtl8192e/ |
D | rtllib_crypt_ccmp.c | 90 size_t aad_len; in ccmp_init_iv_and_aad() local 100 aad_len = 22; in ccmp_init_iv_and_aad() 102 aad_len += 6; in ccmp_init_iv_and_aad() 108 aad_len += 2; in ccmp_init_iv_and_aad() 148 return aad_len; in ccmp_init_iv_and_aad() 191 int aad_len, ret; in rtllib_ccmp_encrypt() local 198 aad_len = ccmp_init_iv_and_aad(hdr, key->tx_pn, iv, aad); in rtllib_ccmp_encrypt() 202 sg_set_buf(&sg[0], aad, aad_len); in rtllib_ccmp_encrypt() 207 aead_request_set_ad(req, aad_len); in rtllib_ccmp_encrypt() 275 int aad_len, ret; in rtllib_ccmp_decrypt() local [all …]
|
/linux-6.6.21/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_crypt_ccmp.c | 96 size_t aad_len; in ccmp_init_iv_and_aad() local 109 aad_len = 22; in ccmp_init_iv_and_aad() 111 aad_len += 6; in ccmp_init_iv_and_aad() 117 aad_len += 2; in ccmp_init_iv_and_aad() 158 return aad_len; in ccmp_init_iv_and_aad() 202 int aad_len, ret; in ieee80211_ccmp_encrypt() local 209 aad_len = ccmp_init_iv_and_aad(hdr, key->tx_pn, iv, aad); in ieee80211_ccmp_encrypt() 214 sg_set_buf(&sg[0], aad, aad_len); in ieee80211_ccmp_encrypt() 219 aead_request_set_ad(req, aad_len); in ieee80211_ccmp_encrypt() 289 int aad_len, ret; in ieee80211_ccmp_decrypt() local [all …]
|
/linux-6.6.21/net/wireless/ |
D | lib80211_crypt_ccmp.c | 98 size_t aad_len; in ccmp_init_iv_and_aad() local 104 aad_len = 22; in ccmp_init_iv_and_aad() 106 aad_len += 6; in ccmp_init_iv_and_aad() 112 aad_len += 2; in ccmp_init_iv_and_aad() 150 return aad_len; in ccmp_init_iv_and_aad() 198 int len, data_len, aad_len; in lib80211_ccmp_encrypt() local 214 aad_len = ccmp_init_iv_and_aad(hdr, key->tx_pn, iv, aad); in lib80211_ccmp_encrypt() 219 sg_set_buf(&sg[0], aad, aad_len); in lib80211_ccmp_encrypt() 224 aead_request_set_ad(req, aad_len); in lib80211_ccmp_encrypt() 264 int aad_len, ret; in lib80211_ccmp_decrypt() local [all …]
|
/linux-6.6.21/include/uapi/linux/ |
D | virtio_crypto.h | 177 __le32 aad_len; member 258 __le32 aad_len; member 391 __le32 aad_len; member 431 __le32 aad_len; member
|
/linux-6.6.21/arch/s390/include/asm/ |
D | cpacf.h | 530 const u8 *aad, unsigned long aad_len) in cpacf_kma() argument 538 a.odd = (unsigned long)aad_len; in cpacf_kma()
|
/linux-6.6.21/drivers/crypto/caam/ |
D | pdb.h | 307 u16 aad_len; member 320 u16 aad_len; member
|
/linux-6.6.21/include/linux/ |
D | ccp.h | 190 u32 aad_len; /* In bytes */ member
|
/linux-6.6.21/drivers/crypto/ccp/ |
D | ccp-crypto-aes-galois.c | 129 rctx->cmd.u.aes.aad_len = req->assoclen; in ccp_aes_gcm_crypt()
|
D | ccp-ops.c | 685 p_inp = scatterwalk_ffwd(sg_inp, aes->src, aes->aad_len); in ccp_run_aes_gcm_cmd() 686 p_outp = scatterwalk_ffwd(sg_outp, aes->dst, aes->aad_len); in ccp_run_aes_gcm_cmd() 747 if (aes->aad_len > 0) { in ccp_run_aes_gcm_cmd() 749 ret = ccp_init_data(&aad, cmd_q, p_aad, aes->aad_len, in ccp_run_aes_gcm_cmd() 847 final[0] = cpu_to_be64(aes->aad_len * 8); in ccp_run_aes_gcm_cmd() 903 if (aes->aad_len) in ccp_run_aes_gcm_cmd()
|
/linux-6.6.21/arch/x86/crypto/ |
D | aesni-intel_glue.c | 120 unsigned long aad_len); 162 unsigned long aad_len); 185 unsigned long aad_len);
|
D | aesni-intel_avx-x86_64.S | 1742 # u64 aad_len) /* Length of AAD in bytes. With RFC4106 this is going to be 8 or 12 Bytes… 2710 # u64 aad_len) /* Length of AAD in bytes. With RFC4106 this is going to be 8 or 12 Bytes…
|