Home
last modified time | relevance | path

Searched refs:ivlen (Results 1 – 16 of 16) sorted by relevance

/linux-5.19.10/net/ipv4/
Desp4.c538 int ivlen; in esp_output_tail() local
559 ivlen = crypto_aead_ivsize(aead); in esp_output_tail()
581 assoclen + ivlen + esp->clen + alen); in esp_output_tail()
609 assoclen + ivlen + esp->clen + alen); in esp_output_tail()
619 aead_request_set_crypt(req, sg, dsg, ivlen + esp->clen, iv); in esp_output_tail()
622 memset(iv, 0, ivlen); in esp_output_tail()
623 memcpy(iv + ivlen - min(ivlen, 8), (u8 *)&esp->seqno + 8 - min(ivlen, 8), in esp_output_tail()
624 min(ivlen, 8)); in esp_output_tail()
882 int ivlen = crypto_aead_ivsize(aead); in esp_input() local
883 int elen = skb->len - sizeof(struct ip_esp_hdr) - ivlen; in esp_input()
[all …]
/linux-5.19.10/net/ipv6/
Desp6.c573 int ivlen; in esp6_output_tail() local
594 ivlen = crypto_aead_ivsize(aead); in esp6_output_tail()
616 assoclen + ivlen + esp->clen + alen); in esp6_output_tail()
644 assoclen + ivlen + esp->clen + alen); in esp6_output_tail()
654 aead_request_set_crypt(req, sg, dsg, ivlen + esp->clen, iv); in esp6_output_tail()
657 memset(iv, 0, ivlen); in esp6_output_tail()
658 memcpy(iv + ivlen - min(ivlen, 8), (u8 *)&esp->seqno + 8 - min(ivlen, 8), in esp6_output_tail()
659 min(ivlen, 8)); in esp6_output_tail()
924 int ivlen = crypto_aead_ivsize(aead); in esp6_input() local
925 int elen = skb->len - sizeof(struct ip_esp_hdr) - ivlen; in esp6_input()
[all …]
/linux-5.19.10/drivers/net/wireless/intel/iwlwifi/mei/
Diwl-mei.h432 void iwl_mei_tx_copy_to_csme(struct sk_buff *skb, unsigned int ivlen);
490 unsigned int ivlen) in iwl_mei_tx_copy_to_csme() argument
Dnet.c367 void iwl_mei_tx_copy_to_csme(struct sk_buff *origskb, unsigned int ivlen) in iwl_mei_tx_copy_to_csme() argument
400 pskb_pull(skb, ieee80211_hdrlen(hdr->frame_control) + ivlen + 6); in iwl_mei_tx_copy_to_csme()
/linux-5.19.10/crypto/
Dalgif_aead.c527 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()
Daf_alg.c463 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-5.19.10/include/uapi/linux/
Dif_alg.h44 __u32 ivlen; member
/linux-5.19.10/drivers/crypto/allwinner/sun8i-ce/
Dsun8i-ce-cipher.c192 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()
Dsun8i-ce.h258 unsigned int ivlen; member
/linux-5.19.10/drivers/crypto/amcc/
Dcrypto4xx_alg.c70 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-5.19.10/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-core.c69 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()
Dsun8i-ss.h197 unsigned int ivlen; member
Dsun8i-ss-cipher.c130 rctx->ivlen = ivsize; in sun8i_ss_setup_ivs()
/linux-5.19.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dd3.c1496 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()
Dmvm.h2192 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-5.19.10/drivers/crypto/inside-secure/
Dsafexcel_cipher.c112 int ivlen; in safexcel_skcipher_token() local
114 ivlen = safexcel_skcipher_iv(ctx, iv, cdesc); in safexcel_skcipher_token()
115 if (ivlen == 4) { in safexcel_skcipher_token()