Home
last modified time | relevance | path

Searched refs:reqsize (Results 1 – 25 of 38) sorted by relevance

12

/linux-6.3-rc2/include/crypto/internal/
A Dkpp.h64 unsigned int reqsize) in kpp_set_reqsize() argument
66 kpp->reqsize = reqsize; in kpp_set_reqsize()
70 unsigned int reqsize) in kpp_set_reqsize_dma() argument
72 reqsize += crypto_dma_align() & ~(crypto_tfm_ctx_alignment() - 1); in kpp_set_reqsize_dma()
73 kpp->reqsize = reqsize; in kpp_set_reqsize_dma()
A Dakcipher.h47 unsigned int reqsize) in akcipher_set_reqsize() argument
49 akcipher->reqsize = reqsize; in akcipher_set_reqsize()
53 unsigned int reqsize) in akcipher_set_reqsize_dma() argument
55 reqsize += crypto_dma_align() & ~(crypto_tfm_ctx_alignment() - 1); in akcipher_set_reqsize_dma()
56 akcipher->reqsize = reqsize; in akcipher_set_reqsize_dma()
A Daead.h121 unsigned int reqsize) in crypto_aead_set_reqsize() argument
123 aead->reqsize = reqsize; in crypto_aead_set_reqsize()
127 unsigned int reqsize) in crypto_aead_set_reqsize_dma() argument
129 reqsize += crypto_dma_align() & ~(crypto_tfm_ctx_alignment() - 1); in crypto_aead_set_reqsize_dma()
130 aead->reqsize = reqsize; in crypto_aead_set_reqsize_dma()
A Dskcipher.h128 struct crypto_skcipher *skcipher, unsigned int reqsize) in crypto_skcipher_set_reqsize() argument
130 skcipher->reqsize = reqsize; in crypto_skcipher_set_reqsize()
134 struct crypto_skcipher *skcipher, unsigned int reqsize) in crypto_skcipher_set_reqsize_dma() argument
136 reqsize += crypto_dma_align() & ~(crypto_tfm_ctx_alignment() - 1); in crypto_skcipher_set_reqsize_dma()
137 skcipher->reqsize = reqsize; in crypto_skcipher_set_reqsize_dma()
A Dhash.h155 unsigned int reqsize) in crypto_ahash_set_reqsize() argument
157 tfm->reqsize = reqsize; in crypto_ahash_set_reqsize()
161 unsigned int reqsize) in crypto_ahash_set_reqsize_dma() argument
163 reqsize += crypto_dma_align() & ~(crypto_tfm_ctx_alignment() - 1); in crypto_ahash_set_reqsize_dma()
164 ahash->reqsize = reqsize; in crypto_ahash_set_reqsize_dma()
/linux-6.3-rc2/net/mac80211/
A Daead_api.c24 int reqsize = sizeof(*aead_req) + crypto_aead_reqsize(tfm); in aead_encrypt() local
28 aead_req = kzalloc(reqsize + aad_len, GFP_ATOMIC); in aead_encrypt()
32 __aad = (u8 *)aead_req + reqsize; in aead_encrypt()
56 int reqsize = sizeof(*aead_req) + crypto_aead_reqsize(tfm); in aead_decrypt() local
63 aead_req = kzalloc(reqsize + aad_len, GFP_ATOMIC); in aead_decrypt()
67 __aad = (u8 *)aead_req + reqsize; in aead_decrypt()
A Daes_gmac.c23 int reqsize = sizeof(*aead_req) + crypto_aead_reqsize(tfm); in ieee80211_aes_gmac() local
30 aead_req = kzalloc(reqsize + GMAC_MIC_LEN + GMAC_AAD_LEN, GFP_ATOMIC); in ieee80211_aes_gmac()
34 zero = (u8 *)aead_req + reqsize; in ieee80211_aes_gmac()
/linux-6.3-rc2/crypto/
A Dsimd.c117 unsigned reqsize; in simd_skcipher_init() local
130 reqsize = crypto_skcipher_reqsize(cryptd_skcipher_child(cryptd_tfm)); in simd_skcipher_init()
131 reqsize = max(reqsize, crypto_skcipher_reqsize(&cryptd_tfm->base)); in simd_skcipher_init()
132 reqsize += sizeof(struct skcipher_request); in simd_skcipher_init()
134 crypto_skcipher_set_reqsize(tfm, reqsize); in simd_skcipher_init()
365 unsigned reqsize; in simd_aead_init() local
377 reqsize = crypto_aead_reqsize(cryptd_aead_child(cryptd_tfm)); in simd_aead_init()
378 reqsize = max(reqsize, crypto_aead_reqsize(&cryptd_tfm->base)); in simd_aead_init()
379 reqsize += sizeof(struct aead_request); in simd_aead_init()
381 crypto_aead_set_reqsize(tfm, reqsize); in simd_aead_init()
A Dahash.c201 unsigned int reqsize; in ahash_save_req() local
207 reqsize = crypto_ahash_reqsize(tfm); in ahash_save_req()
208 reqsize = ALIGN(reqsize, crypto_tfm_ctx_alignment()); in ahash_save_req()
209 subreq_size += reqsize; in ahash_save_req()
222 result = (u8 *)(subreq + 1) + reqsize; in ahash_save_req()
A Dacompress.c71 acomp->reqsize = alg->reqsize; in crypto_acomp_init_tfm()
A Dctr.c225 unsigned int reqsize; in crypto_rfc3686_init_tfm() local
235 reqsize = align + sizeof(struct crypto_rfc3686_req_ctx) + in crypto_rfc3686_init_tfm()
237 crypto_skcipher_set_reqsize(tfm, reqsize); in crypto_rfc3686_init_tfm()
A Dcts.c289 unsigned reqsize; in crypto_cts_init_tfm() local
301 reqsize = ALIGN(sizeof(struct crypto_cts_reqctx) + in crypto_cts_init_tfm()
306 crypto_skcipher_set_reqsize(tfm, reqsize); in crypto_cts_init_tfm()
/linux-6.3-rc2/include/crypto/
A Dacompress.h52 unsigned int reqsize; member
83 unsigned int reqsize; member
151 return tfm->reqsize; in crypto_acomp_reqsize()
A Daead.h156 unsigned int reqsize; member
390 return tfm->reqsize; in crypto_aead_reqsize()
A Dkpp.h45 unsigned int reqsize; member
132 return tfm->reqsize; in crypto_kpp_reqsize()
A Dakcipher.h50 unsigned int reqsize; member
159 return tfm->reqsize; in crypto_akcipher_reqsize()
A Dskcipher.h42 unsigned int reqsize; member
457 return tfm->reqsize; in crypto_skcipher_reqsize()
A Dhash.h235 unsigned int reqsize; member
415 return tfm->reqsize; in crypto_ahash_reqsize()
/linux-6.3-rc2/drivers/bcma/
A Ddriver_pcie2.c172 pcie2->reqsize = 1024; in bcma_core_pcie2_init()
175 pcie2->reqsize = 128; in bcma_core_pcie2_init()
198 err = pcie_set_readrq(dev, pcie2->reqsize); in bcma_core_pcie2_up()
/linux-6.3-rc2/drivers/scsi/esas2r/
A Desas2r_io.c339 u16 reqsize; in esas2r_build_sg_list_sge() local
345 reqsize = in esas2r_build_sg_list_sge()
354 if (reqsize > rq->vda_req_sz) in esas2r_build_sg_list_sge()
355 rq->vda_req_sz = reqsize; in esas2r_build_sg_list_sge()
531 u16 reqsize; in esas2r_build_sg_list_prd() local
650 reqsize = ((u16)((u8 *)curr_iblk_chn - (u8 *)rq->vrq)) in esas2r_build_sg_list_prd()
659 if (reqsize > rq->vda_req_sz) in esas2r_build_sg_list_prd()
660 rq->vda_req_sz = reqsize; in esas2r_build_sg_list_prd()
/linux-6.3-rc2/fs/fuse/
A Ddev.c1062 ih.len = reqsize; in fuse_read_interrupt()
1068 if (nbytes < reqsize) in fuse_read_interrupt()
1076 return err ? err : reqsize; in fuse_read_interrupt()
1213 unsigned reqsize; in fuse_dev_do_read() local
1274 reqsize = req->in.h.len; in fuse_dev_do_read()
1277 if (nbytes < reqsize) { in fuse_dev_do_read()
1314 err = reqsize; in fuse_dev_do_read()
1328 return reqsize; in fuse_dev_do_read()
1829 if (reqsize < nbytes || (reqsize > nbytes && !args->out_argvar)) in copy_out_args()
1831 else if (reqsize > nbytes) { in copy_out_args()
[all …]
/linux-6.3-rc2/arch/arm/crypto/
A Daes-neonbs-glue.c195 unsigned int reqsize; in cbc_init() local
202 reqsize = sizeof(struct skcipher_request); in cbc_init()
203 reqsize += crypto_skcipher_reqsize(ctx->enc_tfm); in cbc_init()
204 crypto_skcipher_set_reqsize(tfm, reqsize); in cbc_init()
/linux-6.3-rc2/drivers/crypto/ccp/
A Dccp-crypto-rsa.c231 unsigned int reqsize; member
240 .reqsize = sizeof(struct ccp_rsa_req_ctx),
/linux-6.3-rc2/include/linux/bcma/
A Dbcma_driver_pcie2.h148 u16 reqsize; member
/linux-6.3-rc2/drivers/crypto/qat/qat_common/
A Dqat_comp_algs.c454 .reqsize = sizeof(struct qat_compression_req),
469 .reqsize = sizeof(struct qat_compression_req),

Completed in 33 milliseconds

12