/kernel/linux/linux-5.10/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() 224 size_t crypt_len; in fils_encrypt_assoc_req() local 261 crypt_len = skb->data + skb->len - encr; in fils_encrypt_assoc_req() 264 encr, crypt_len, 5, addr, len, encr); in fils_encrypt_assoc_req() 276 size_t crypt_len; in fils_decrypt_assoc_resp() local [all …]
|
/kernel/linux/linux-5.10/net/ceph/ |
D | crypto.c | 226 int crypt_len = encrypt ? in_len + pad_byte : in_len; in ceph_aes_crypt() local 229 WARN_ON(crypt_len > buf_len); in ceph_aes_crypt() 232 ret = setup_sgtable(&sgt, &prealloc_sg, buf, crypt_len); in ceph_aes_crypt() 239 skcipher_request_set_crypt(req, sgt.sgl, sgt.sgl, crypt_len, iv); in ceph_aes_crypt() 263 *pout_len = crypt_len; in ceph_aes_crypt()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | rx.c | 102 u8 crypt_len, in iwl_mvm_pass_packet_to_mac80211() argument 132 hdrlen = (len <= skb_tailroom(skb)) ? len : hdrlen + crypt_len + 8; in iwl_mvm_pass_packet_to_mac80211() 200 u8 *crypt_len) in iwl_mvm_set_mac80211_rx_flag() argument 219 *crypt_len = IEEE80211_CCMP_HDR_LEN; in iwl_mvm_set_mac80211_rx_flag() 228 *crypt_len = IEEE80211_TKIP_IV_LEN; in iwl_mvm_set_mac80211_rx_flag() 238 *crypt_len = IEEE80211_WEP_IV_LEN; in iwl_mvm_set_mac80211_rx_flag() 355 u8 crypt_len = 0; in iwl_mvm_rx_rx_mpdu() local 379 &crypt_len)) { in iwl_mvm_rx_rx_mpdu() 564 crypt_len, rxb); in iwl_mvm_rx_rx_mpdu()
|
D | rxmq.c | 173 struct ieee80211_hdr *hdr, u16 len, u8 crypt_len, in iwl_mvm_create_skb() argument 201 if (WARN_ON(crypt_len > mic_crc_len)) in iwl_mvm_create_skb() 204 mic_crc_len -= crypt_len; in iwl_mvm_create_skb() 226 hdrlen + crypt_len + 8; in iwl_mvm_create_skb() 233 hdrlen += crypt_len; in iwl_mvm_create_skb() 237 hdrlen, len, crypt_len)) { in iwl_mvm_create_skb() 244 hdrlen, len, crypt_len); in iwl_mvm_create_skb() 361 u32 pkt_flags, int queue, u8 *crypt_len) in iwl_mvm_rx_crypto() argument 395 *crypt_len = IEEE80211_CCMP_HDR_LEN; in iwl_mvm_rx_crypto() 408 *crypt_len = IEEE80211_TKIP_IV_LEN; in iwl_mvm_rx_crypto() [all …]
|
/kernel/linux/linux-5.10/drivers/crypto/ |
D | ixp4xx_crypto.c | 128 u16 crypt_len; /* Cryption data length */ member 132 u16 crypt_len; /* Cryption data length */ member 737 crypt->crypt_len = AES_BLOCK128; in gen_rev_aes_key() 917 crypt->crypt_len = nbytes; in ablk_perform() 1036 crypt->crypt_len = eff_cryptlen; in aead_perform()
|
/kernel/linux/linux-5.10/drivers/md/ |
D | dm-integrity.c | 3667 unsigned crypt_len = roundup(ivsize, blocksize); in create_journal() local 3683 crypt_data = kmalloc(crypt_len, GFP_KERNEL); in create_journal() 3716 memset(crypt_data, 0x00, crypt_len); in create_journal() 3717 memcpy(crypt_data, §ion_le, min((size_t)crypt_len, sizeof(section_le))); in create_journal() 3719 sg_init_one(&sg, crypt_data, crypt_len); in create_journal() 3720 skcipher_request_set_crypt(req, &sg, &sg, crypt_len, crypt_iv); in create_journal()
|
/kernel/linux/linux-5.10/fs/cifs/ |
D | smb2ops.c | 4289 unsigned int crypt_len = le32_to_cpu(tr_hdr->OriginalMessageSize); in crypt_message() local 4331 crypt_len += SMB2_SIGNATURE_SIZE; in crypt_message() 4343 aead_request_set_crypt(req, sg, sg, crypt_len, iv); in crypt_message()
|