Home
last modified time | relevance | path

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

12

/linux-5.19.10/net/mac80211/
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()
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-5.19.10/crypto/
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()
Dacompress.c71 acomp->reqsize = alg->reqsize; in crypto_acomp_init_tfm()
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()
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()
Ddh.c596 inst->alg.reqsize = sizeof(struct kpp_request) + dh_alg->reqsize; in __dh_safe_prime_create()
Dscompress.c208 crt->reqsize = sizeof(void *); in crypto_init_scomp_ops_async()
/linux-5.19.10/include/crypto/internal/
Dakcipher.h37 unsigned int reqsize) in akcipher_set_reqsize() argument
39 crypto_akcipher_alg(akcipher)->reqsize = reqsize; in akcipher_set_reqsize()
Daead.h106 unsigned int reqsize) in crypto_aead_set_reqsize() argument
108 aead->reqsize = reqsize; in crypto_aead_set_reqsize()
Dskcipher.h120 struct crypto_skcipher *skcipher, unsigned int reqsize) in crypto_skcipher_set_reqsize() argument
122 skcipher->reqsize = reqsize; in crypto_skcipher_set_reqsize()
Dhash.h144 unsigned int reqsize) in crypto_ahash_set_reqsize() argument
146 tfm->reqsize = reqsize; in crypto_ahash_set_reqsize()
/linux-5.19.10/include/crypto/
Dacompress.h51 unsigned int reqsize; member
82 unsigned int reqsize; member
150 return tfm->reqsize; in crypto_acomp_reqsize()
Daead.h156 unsigned int reqsize; member
390 return tfm->reqsize; in crypto_aead_reqsize()
Dkpp.h82 unsigned int reqsize; member
129 return crypto_kpp_alg(tfm)->reqsize; in crypto_kpp_reqsize()
Dakcipher.h105 unsigned int reqsize; member
158 return crypto_akcipher_alg(tfm)->reqsize; in crypto_akcipher_reqsize()
Dskcipher.h42 unsigned int reqsize; member
457 return tfm->reqsize; in crypto_skcipher_reqsize()
Dhash.h235 unsigned int reqsize; member
415 return tfm->reqsize; in crypto_ahash_reqsize()
/linux-5.19.10/drivers/bcma/
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-5.19.10/drivers/scsi/esas2r/
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-5.19.10/fs/fuse/
Ddev.c1053 unsigned reqsize = sizeof(ih) + sizeof(arg); in fuse_read_interrupt() local
1059 ih.len = reqsize; in fuse_read_interrupt()
1065 if (nbytes < reqsize) in fuse_read_interrupt()
1073 return err ? err : reqsize; in fuse_read_interrupt()
1210 unsigned reqsize; in fuse_dev_do_read() local
1271 reqsize = req->in.h.len; in fuse_dev_do_read()
1274 if (nbytes < reqsize) { in fuse_dev_do_read()
1311 err = reqsize; in fuse_dev_do_read()
1325 return reqsize; in fuse_dev_do_read()
1822 unsigned reqsize = sizeof(struct fuse_out_header); in copy_out_args() local
[all …]
/linux-5.19.10/arch/arm/crypto/
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-5.19.10/drivers/crypto/ccp/
Dccp-crypto-rsa.c231 unsigned int reqsize; member
240 .reqsize = sizeof(struct ccp_rsa_req_ctx),
/linux-5.19.10/include/linux/bcma/
Dbcma_driver_pcie2.h148 u16 reqsize; member
/linux-5.19.10/drivers/crypto/virtio/
Dvirtio_crypto_akcipher_algs.c504 .reqsize = sizeof(struct virtio_crypto_akcipher_request),
527 .reqsize = sizeof(struct virtio_crypto_akcipher_request),

12