Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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.c224 unsigned int reqsize; in crypto_rfc3686_init_tfm() local
234 reqsize = align + sizeof(struct crypto_rfc3686_req_ctx) + in crypto_rfc3686_init_tfm()
236 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()
Dscompress.c208 crt->reqsize = sizeof(void *); in crypto_init_scomp_ops_async()
Drsa-pkcs1pad.c676 inst->alg.reqsize = sizeof(struct pkcs1pad_request) + rsa_alg->reqsize; in pkcs1pad_create()
/kernel/linux/linux-5.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.h119 struct crypto_skcipher *skcipher, unsigned int reqsize) in crypto_skcipher_set_reqsize() argument
121 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()
/kernel/linux/linux-5.10/include/crypto/
Dacompress.h51 unsigned int reqsize; member
82 unsigned int reqsize; member
150 return tfm->reqsize; in crypto_acomp_reqsize()
Daead.h154 unsigned int reqsize; member
383 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.h38 unsigned int reqsize; member
453 return tfm->reqsize; in crypto_skcipher_reqsize()
Dhash.h235 unsigned int reqsize; member
415 return tfm->reqsize; in crypto_ahash_reqsize()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/fs/fuse/
Ddev.c1065 unsigned reqsize = sizeof(ih) + sizeof(arg); in fuse_read_interrupt() local
1071 ih.len = reqsize; in fuse_read_interrupt()
1077 if (nbytes < reqsize) in fuse_read_interrupt()
1085 return err ? err : reqsize; in fuse_read_interrupt()
1222 unsigned reqsize; in fuse_dev_do_read() local
1283 reqsize = req->in.h.len; in fuse_dev_do_read()
1286 if (nbytes < reqsize) { in fuse_dev_do_read()
1323 err = reqsize; in fuse_dev_do_read()
1337 return reqsize; in fuse_dev_do_read()
1834 unsigned reqsize = sizeof(struct fuse_out_header); in copy_out_args() local
[all …]
/kernel/linux/linux-5.10/arch/arm/crypto/
Daes-neonbs-glue.c192 unsigned int reqsize; in cbc_init() local
199 reqsize = sizeof(struct skcipher_request); in cbc_init()
200 reqsize += crypto_skcipher_reqsize(ctx->enc_tfm); in cbc_init()
201 crypto_skcipher_set_reqsize(tfm, reqsize); in cbc_init()
/kernel/linux/linux-5.10/drivers/crypto/ccp/
Dccp-crypto-rsa.c231 unsigned int reqsize; member
240 .reqsize = sizeof(struct ccp_rsa_req_ctx),
/kernel/linux/linux-5.10/include/linux/bcma/
Dbcma_driver_pcie2.h148 u16 reqsize; member
/kernel/linux/linux-5.10/drivers/media/usb/s2255/
Ds2255drv.c1928 unsigned long reqsize; in s2255_create_sys_buffers() local
1931 reqsize = SYS_FRAMES_MAXSIZE; in s2255_create_sys_buffers()
1933 if (reqsize > SYS_FRAMES_MAXSIZE) in s2255_create_sys_buffers()
1934 reqsize = SYS_FRAMES_MAXSIZE; in s2255_create_sys_buffers()
1938 vc->buffer.frame[i].lpvbits = vmalloc(reqsize); in s2255_create_sys_buffers()
1939 vc->buffer.frame[i].size = reqsize; in s2255_create_sys_buffers()

12