/linux-6.1.9/net/ipv4/ |
D | esp4.c | 537 int ivlen; in esp_output_tail() local 558 ivlen = crypto_aead_ivsize(aead); in esp_output_tail() 580 assoclen + ivlen + esp->clen + alen); in esp_output_tail() 608 assoclen + ivlen + esp->clen + alen); in esp_output_tail() 618 aead_request_set_crypt(req, sg, dsg, ivlen + esp->clen, iv); in esp_output_tail() 621 memset(iv, 0, ivlen); in esp_output_tail() 622 memcpy(iv + ivlen - min(ivlen, 8), (u8 *)&esp->seqno + 8 - min(ivlen, 8), in esp_output_tail() 623 min(ivlen, 8)); in esp_output_tail() 881 int ivlen = crypto_aead_ivsize(aead); in esp_input() local 882 int elen = skb->len - sizeof(struct ip_esp_hdr) - ivlen; in esp_input() [all …]
|
/linux-6.1.9/net/ipv6/ |
D | esp6.c | 574 int ivlen; in esp6_output_tail() local 595 ivlen = crypto_aead_ivsize(aead); in esp6_output_tail() 617 assoclen + ivlen + esp->clen + alen); in esp6_output_tail() 645 assoclen + ivlen + esp->clen + alen); in esp6_output_tail() 655 aead_request_set_crypt(req, sg, dsg, ivlen + esp->clen, iv); in esp6_output_tail() 658 memset(iv, 0, ivlen); in esp6_output_tail() 659 memcpy(iv + ivlen - min(ivlen, 8), (u8 *)&esp->seqno + 8 - min(ivlen, 8), in esp6_output_tail() 660 min(ivlen, 8)); in esp6_output_tail() 925 int ivlen = crypto_aead_ivsize(aead); in esp6_input() local 926 int elen = skb->len - sizeof(struct ip_esp_hdr) - ivlen; in esp6_input() [all …]
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mei/ |
D | iwl-mei.h | 432 void iwl_mei_tx_copy_to_csme(struct sk_buff *skb, unsigned int ivlen); 491 unsigned int ivlen) in iwl_mei_tx_copy_to_csme() argument
|
D | net.c | 371 void iwl_mei_tx_copy_to_csme(struct sk_buff *origskb, unsigned int ivlen) in iwl_mei_tx_copy_to_csme() argument 404 pskb_pull(skb, ieee80211_hdrlen(hdr->frame_control) + ivlen + 6); in iwl_mei_tx_copy_to_csme()
|
/linux-6.1.9/crypto/ |
D | algif_aead.c | 527 unsigned int ivlen = crypto_aead_ivsize(tfm); in aead_sock_destruct() local 530 sock_kzfree_s(sk, ctx->iv, ivlen); in aead_sock_destruct() 542 unsigned int ivlen = crypto_aead_ivsize(aead); in aead_accept_parent_nokey() local 549 ctx->iv = sock_kmalloc(sk, ivlen, GFP_KERNEL); in aead_accept_parent_nokey() 554 memset(ctx->iv, 0, ivlen); in aead_accept_parent_nokey()
|
D | af_alg.c | 463 if (cmsg->cmsg_len < CMSG_LEN(con->iv->ivlen + in af_alg_cmsg_send() 857 if (con.iv && con.iv->ivlen != ivsize) in af_alg_sendmsg()
|
/linux-6.1.9/include/uapi/linux/ |
D | if_alg.h | 44 __u32 ivlen; member
|
/linux-6.1.9/drivers/crypto/allwinner/sun8i-ce/ |
D | sun8i-ce-cipher.c | 192 rctx->ivlen = ivsize; in sun8i_ce_cipher_prepare() 199 rctx->addr_iv = dma_map_single(ce->dev, chan->bounce_iv, rctx->ivlen, in sun8i_ce_cipher_prepare() 279 dma_unmap_single(ce->dev, rctx->addr_iv, rctx->ivlen, DMA_TO_DEVICE); in sun8i_ce_cipher_prepare() 343 dma_unmap_single(ce->dev, rctx->addr_iv, rctx->ivlen, DMA_TO_DEVICE); in sun8i_ce_cipher_unprepare()
|
D | sun8i-ce.h | 258 unsigned int ivlen; member
|
/linux-6.1.9/drivers/crypto/amcc/ |
D | crypto4xx_alg.c | 70 const unsigned int ivlen, bool decrypt, in crypto4xx_crypt() argument 80 if (ivlen) in crypto4xx_crypt() 81 crypto4xx_memcpy_to_le32(iv, req->iv, ivlen); in crypto4xx_crypt() 84 req->cryptlen, iv, ivlen, decrypt ? ctx->sa_in : ctx->sa_out, in crypto4xx_crypt()
|
/linux-6.1.9/drivers/crypto/allwinner/sun8i-ss/ |
D | sun8i-ss-core.c | 69 unsigned int ivlen = rctx->ivlen; in sun8i_ss_run_task() local 108 if (ivlen) { in sun8i_ss_run_task() 113 writel(rctx->t_dst[i - 1].addr + rctx->t_dst[i - 1].len * 4 - ivlen, ss->base + SS_IV_ADR_REG); in sun8i_ss_run_task()
|
D | sun8i-ss.h | 197 unsigned int ivlen; member
|
D | sun8i-ss-cipher.c | 130 rctx->ivlen = ivsize; in sun8i_ss_setup_ivs()
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | d3.c | 1496 int ivlen = 0, icvlen = 4; /* also FCS */ in iwl_mvm_report_wakeup_reasons() local 1514 ivlen = mvm->gtk_ivlen; in iwl_mvm_report_wakeup_reasons() 1517 ivlen = mvm->ptk_ivlen; in iwl_mvm_report_wakeup_reasons() 1531 pktsize -= ivlen + icvlen; in iwl_mvm_report_wakeup_reasons() 1532 pktdata += ivlen; in iwl_mvm_report_wakeup_reasons()
|
D | mvm.h | 2192 unsigned int ivlen) in iwl_mvm_mei_tx_copy_to_csme() argument 2195 iwl_mei_tx_copy_to_csme(skb, ivlen); in iwl_mvm_mei_tx_copy_to_csme()
|
/linux-6.1.9/drivers/crypto/inside-secure/ |
D | safexcel_cipher.c | 111 int ivlen; in safexcel_skcipher_token() local 113 ivlen = safexcel_skcipher_iv(ctx, iv, cdesc); in safexcel_skcipher_token() 114 if (ivlen == 4) { in safexcel_skcipher_token()
|