Home
last modified time | relevance | path

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

/linux-6.1.9/net/ipv4/
Desp4.c537 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/
Desp6.c574 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/
Diwl-mei.h432 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
Dnet.c371 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/
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-6.1.9/include/uapi/linux/
Dif_alg.h44 __u32 ivlen; member
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/drivers/crypto/inside-secure/
Dsafexcel_cipher.c111 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()