/linux-6.6.21/net/mac80211/ |
D | fils_aead.c | 153 size_t crypt_len; in aes_siv_decrypt() local 158 crypt_len = iv_c_len - AES_BLOCK_SIZE; in aes_siv_decrypt() 161 len[num_elem] = crypt_len; in aes_siv_decrypt() 191 sg_init_one(src, iv_crypt + AES_BLOCK_SIZE, crypt_len); in aes_siv_decrypt() 192 sg_init_one(dst, out, crypt_len); in aes_siv_decrypt() 193 skcipher_request_set_crypt(req, src, dst, crypt_len, iv); in aes_siv_decrypt() 225 size_t crypt_len; in fils_encrypt_assoc_req() local 262 crypt_len = skb->data + skb->len - encr; in fils_encrypt_assoc_req() 265 encr, crypt_len, 5, addr, len, encr); in fils_encrypt_assoc_req() 278 size_t crypt_len; in fils_decrypt_assoc_resp() local [all …]
|
/linux-6.6.21/lib/crypto/ |
D | aesgcm.c | 136 int crypt_len, const u8 *assoc, int assoc_len, in aesgcm_encrypt() argument 143 aesgcm_crypt(ctx, dst, src, crypt_len, ctr); in aesgcm_encrypt() 144 aesgcm_mac(ctx, dst, crypt_len, assoc, assoc_len, ctr, authtag); in aesgcm_encrypt() 166 const u8 *src, int crypt_len, const u8 *assoc, in aesgcm_decrypt() argument 175 aesgcm_mac(ctx, src, crypt_len, assoc, assoc_len, ctr, tagbuf); in aesgcm_decrypt() 180 aesgcm_crypt(ctx, dst, src, crypt_len, ctr); in aesgcm_decrypt()
|
/linux-6.6.21/include/crypto/ |
D | gcm.h | 77 int crypt_len, const u8 *assoc, int assoc_len, 81 const u8 *src, int crypt_len, const u8 *assoc,
|
/linux-6.6.21/net/ceph/ |
D | crypto.c | 227 int crypt_len = encrypt ? in_len + pad_byte : in_len; in ceph_aes_crypt() local 230 WARN_ON(crypt_len > buf_len); in ceph_aes_crypt() 233 ret = setup_sgtable(&sgt, &prealloc_sg, buf, crypt_len); in ceph_aes_crypt() 240 skcipher_request_set_crypt(req, sgt.sgl, sgt.sgl, crypt_len, iv); in ceph_aes_crypt() 264 *pout_len = crypt_len; in ceph_aes_crypt()
|
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | rx.c | 50 u8 crypt_len, in iwl_mvm_pass_packet_to_mac80211() argument 80 hdrlen = (len <= skb_tailroom(skb)) ? len : hdrlen + crypt_len + 8; in iwl_mvm_pass_packet_to_mac80211() 143 u8 *crypt_len) in iwl_mvm_set_mac80211_rx_flag() argument 162 *crypt_len = IEEE80211_CCMP_HDR_LEN; in iwl_mvm_set_mac80211_rx_flag() 171 *crypt_len = IEEE80211_TKIP_IV_LEN; in iwl_mvm_set_mac80211_rx_flag() 181 *crypt_len = IEEE80211_WEP_IV_LEN; in iwl_mvm_set_mac80211_rx_flag() 301 u8 crypt_len = 0; in iwl_mvm_rx_rx_mpdu() local 405 &crypt_len)) { in iwl_mvm_rx_rx_mpdu() 541 crypt_len, rxb); in iwl_mvm_rx_rx_mpdu()
|
D | rxmq.c | 92 struct ieee80211_hdr *hdr, u16 len, u8 crypt_len, in iwl_mvm_create_skb() argument 129 hdrlen + crypt_len + 8; in iwl_mvm_create_skb() 136 hdrlen += crypt_len; in iwl_mvm_create_skb() 366 u32 pkt_flags, int queue, u8 *crypt_len) in iwl_mvm_rx_crypto() argument 402 *crypt_len = IEEE80211_CCMP_HDR_LEN; in iwl_mvm_rx_crypto() 415 *crypt_len = IEEE80211_TKIP_IV_LEN; in iwl_mvm_rx_crypto() 424 *crypt_len = IEEE80211_WEP_IV_LEN; in iwl_mvm_rx_crypto() 2329 u8 crypt_len = 0; in iwl_mvm_rx_mpdu_mq() local 2496 &crypt_len)) { in iwl_mvm_rx_mpdu_mq() 2613 if (iwl_mvm_create_skb(mvm, skb, hdr, len, crypt_len, rxb)) { in iwl_mvm_rx_mpdu_mq()
|
/linux-6.6.21/drivers/crypto/intel/ixp4xx/ |
D | ixp4xx_crypto.c | 128 u16 crypt_len; /* Cryption data length */ member 132 u16 crypt_len; /* Cryption data length */ member 797 crypt->crypt_len = AES_BLOCK128; in gen_rev_aes_key() 1010 crypt->crypt_len = nbytes; in ablk_perform() 1130 crypt->crypt_len = eff_cryptlen; in aead_perform()
|
/linux-6.6.21/fs/smb/server/ |
D | auth.c | 1116 unsigned int crypt_len = le32_to_cpu(tr_hdr->OriginalMessageSize); in ksmbd_crypt_message() local 1168 crypt_len += SMB2_SIGNATURE_SIZE; in ksmbd_crypt_message() 1193 aead_request_set_crypt(req, sg, sg, crypt_len, iv); in ksmbd_crypt_message()
|
/linux-6.6.21/drivers/md/ |
D | dm-integrity.c | 3952 unsigned int crypt_len = roundup(ivsize, blocksize); in create_journal() local 3968 crypt_data = kmalloc(crypt_len, GFP_KERNEL); in create_journal() 4001 memset(crypt_data, 0x00, crypt_len); in create_journal() 4002 memcpy(crypt_data, §ion_le, min_t(size_t, crypt_len, sizeof(section_le))); in create_journal() 4004 sg_init_one(&sg, crypt_data, crypt_len); in create_journal() 4005 skcipher_request_set_crypt(req, &sg, &sg, crypt_len, crypt_iv); in create_journal()
|
/linux-6.6.21/fs/smb/client/ |
D | smb2ops.c | 4368 unsigned int crypt_len = le32_to_cpu(tr_hdr->OriginalMessageSize); in crypt_message() local 4411 crypt_len += SMB2_SIGNATURE_SIZE; in crypt_message() 4423 aead_request_set_crypt(req, sg, sg, crypt_len, iv); in crypt_message()
|