/kernel/linux/linux-5.10/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() 931 int ivlen = crypto_aead_ivsize(aead); in esp6_input() local 932 int elen = skb->len - sizeof(struct ip_esp_hdr) - ivlen; in esp6_input() [all …]
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | esp4.c | 540 int ivlen; in esp_output_tail() local 561 ivlen = crypto_aead_ivsize(aead); in esp_output_tail() 583 assoclen + ivlen + esp->clen + alen); in esp_output_tail() 611 assoclen + ivlen + esp->clen + alen); in esp_output_tail() 621 aead_request_set_crypt(req, sg, dsg, ivlen + esp->clen, iv); in esp_output_tail() 624 memset(iv, 0, ivlen); in esp_output_tail() 625 memcpy(iv + ivlen - min(ivlen, 8), (u8 *)&esp->seqno + 8 - min(ivlen, 8), in esp_output_tail() 626 min(ivlen, 8)); in esp_output_tail() 890 int ivlen = crypto_aead_ivsize(aead); in esp_input() local 891 int elen = skb->len - sizeof(struct ip_esp_hdr) - ivlen; in esp_input() [all …]
|
/kernel/linux/linux-5.10/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 | 466 if (cmsg->cmsg_len < CMSG_LEN(con->iv->ivlen + in af_alg_cmsg_send() 860 if (con.iv && con.iv->ivlen != ivsize) in af_alg_sendmsg()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | if_alg.h | 17 __u32 ivlen; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | if_alg.h | 30 __u32 ivlen; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | if_alg.h | 44 __u32 ivlen; member
|
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ce/ |
D | sun8i-ce-cipher.c | 154 rctx->ivlen = ivsize; in sun8i_ce_cipher_prepare() 171 rctx->addr_iv = dma_map_single(ce->dev, rctx->bounce_iv, rctx->ivlen, in sun8i_ce_cipher_prepare() 254 dma_unmap_single(ce->dev, rctx->addr_iv, rctx->ivlen, DMA_TO_DEVICE); in sun8i_ce_cipher_prepare() 319 dma_unmap_single(ce->dev, rctx->addr_iv, rctx->ivlen, DMA_TO_DEVICE); in sun8i_ce_cipher_unprepare()
|
D | sun8i-ce.h | 256 unsigned int ivlen; member
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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 | 194 unsigned int ivlen; member
|
D | sun8i-ss-cipher.c | 111 rctx->ivlen = ivsize; in sun8i_ss_setup_ivs()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | d3.c | 1265 int ivlen = 0, icvlen = 4; /* also FCS */ in iwl_mvm_report_wakeup_reasons() local 1283 ivlen = mvm->gtk_ivlen; in iwl_mvm_report_wakeup_reasons() 1286 ivlen = mvm->ptk_ivlen; in iwl_mvm_report_wakeup_reasons() 1300 pktsize -= ivlen + icvlen; in iwl_mvm_report_wakeup_reasons() 1301 pktdata += ivlen; in iwl_mvm_report_wakeup_reasons()
|
/kernel/linux/linux-5.10/drivers/crypto/ |
D | picoxcell_crypto.c | 238 const u8 *iv, size_t ivlen, const u8 *hash_key, in spacc_load_ctx() argument 249 ivlen); in spacc_load_ctx()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0016_linux_drivers_crypto.patch | 441 + /* payloadlen = input data length - (assoclen + ivlen) */
|