Home
last modified time | relevance | path

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

12

/openbmc/linux/include/crypto/internal/
H 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()
H 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()
H 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()
H 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()
H A Dhash.h165 unsigned int reqsize) in crypto_ahash_set_reqsize() argument
167 tfm->reqsize = reqsize; in crypto_ahash_set_reqsize()
171 unsigned int reqsize) in crypto_ahash_set_reqsize_dma() argument
173 reqsize += crypto_dma_align() & ~(crypto_tfm_ctx_alignment() - 1); in crypto_ahash_set_reqsize_dma()
174 ahash->reqsize = reqsize; in crypto_ahash_set_reqsize_dma()
H A Dacompress.h45 unsigned int reqsize; member
/openbmc/linux/net/mac80211/
H 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()
H 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()
/openbmc/linux/crypto/
H 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()
343 unsigned reqsize; in simd_aead_init() local
355 reqsize = crypto_aead_reqsize(cryptd_aead_child(cryptd_tfm)); in simd_aead_init()
356 reqsize = max(reqsize, crypto_aead_reqsize(&cryptd_tfm->base)); in simd_aead_init()
357 reqsize += sizeof(struct aead_request); in simd_aead_init()
359 crypto_aead_set_reqsize(tfm, reqsize); in simd_aead_init()
H A Dahash.c194 unsigned int reqsize; in ahash_save_req() local
200 reqsize = crypto_ahash_reqsize(tfm); in ahash_save_req()
201 reqsize = ALIGN(reqsize, crypto_tfm_ctx_alignment()); in ahash_save_req()
202 subreq_size += reqsize; in ahash_save_req()
215 result = (u8 *)(subreq + 1) + reqsize; in ahash_save_req()
571 nhash->reqsize = hash->reqsize; in crypto_clone_ahash()
H A Dakcipher.c194 unsigned int reqsize = crypto_akcipher_reqsize(data->tfm); in crypto_akcipher_sync_prep() local
206 len = sizeof(*req) + reqsize + mlen; in crypto_akcipher_sync_prep()
217 buf = (u8 *)(req + 1) + reqsize; in crypto_akcipher_sync_prep()
H 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()
H 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()
H A Dacompress.c75 acomp->reqsize = alg->reqsize; in crypto_acomp_init_tfm()
/openbmc/linux/drivers/bcma/
H 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()
/openbmc/linux/drivers/scsi/esas2r/
H 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()
/openbmc/linux/include/crypto/
H A Daead.h178 unsigned int reqsize; member
412 return tfm->reqsize; in crypto_aead_reqsize()
H A Dacompress.h55 unsigned int reqsize; member
154 return tfm->reqsize; in crypto_acomp_reqsize()
H A Dkpp.h49 unsigned int reqsize; member
155 return tfm->reqsize; in crypto_kpp_reqsize()
H A Dakcipher.h52 unsigned int reqsize; member
186 return tfm->reqsize; in crypto_akcipher_reqsize()
H A Dskcipher.h43 unsigned int reqsize; member
479 return tfm->reqsize; in crypto_skcipher_reqsize()
/openbmc/linux/fs/fuse/
H A Ddev.c1056 unsigned reqsize = sizeof(ih) + sizeof(arg); in fuse_read_interrupt() local
1062 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()
1827 unsigned reqsize = sizeof(struct fuse_out_header); in copy_out_args() local
[all …]
/openbmc/linux/arch/arm/crypto/
H 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()
/openbmc/linux/drivers/crypto/ccp/
H A Dccp-crypto-rsa.c231 unsigned int reqsize; member
240 .reqsize = sizeof(struct ccp_rsa_req_ctx),
/openbmc/linux/include/linux/bcma/
H A Dbcma_driver_pcie2.h148 u16 reqsize; member

12