Home
last modified time | relevance | path

Searched refs:crypto_aead_ctx (Results 1 – 25 of 46) sorted by relevance

12

/linux-6.1.9/crypto/
Dchacha20poly1305.c86 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in chacha_iv()
125 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in chacha_decrypt()
172 struct chachapoly_ctx *ctx = crypto_aead_ctx(tfm); in poly_tail()
201 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_cipherpad()
230 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_cipher()
260 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_adpad()
289 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_ad()
313 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_setkey()
339 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_init()
363 struct chachapoly_ctx *ctx = crypto_aead_ctx(tfm); in poly_genkey()
[all …]
Dgeniv.c22 struct aead_geniv_ctx *ctx = crypto_aead_ctx(tfm); in aead_geniv_setkey()
30 struct aead_geniv_ctx *ctx = crypto_aead_ctx(tfm); in aead_geniv_setauthsize()
111 struct aead_geniv_ctx *ctx = crypto_aead_ctx(aead); in aead_init_geniv()
155 struct aead_geniv_ctx *ctx = crypto_aead_ctx(tfm); in aead_exit_geniv()
Dauthencesn.c61 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_setkey()
90 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_genicv_tail()
124 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_genicv()
170 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_copy()
185 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_encrypt()
225 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_decrypt_tail()
274 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_decrypt()
326 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(tfm); in crypto_authenc_esn_init_tfm()
374 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(tfm); in crypto_authenc_esn_exit_tfm()
Dpcrypt.c45 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(parent); in pcrypt_aead_setkey()
53 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(parent); in pcrypt_aead_setauthsize()
99 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(aead); in pcrypt_aead_encrypt()
146 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(aead); in pcrypt_aead_decrypt()
176 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(tfm); in pcrypt_aead_init_tfm()
201 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(tfm); in pcrypt_aead_exit_tfm()
Dauthenc.c87 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_setkey()
136 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_genicv()
180 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_copy_assoc()
196 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_encrypt()
234 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_decrypt_tail()
283 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_decrypt()
311 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(tfm); in crypto_authenc_init_tfm()
356 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(tfm); in crypto_authenc_exit_tfm()
Dgcm.c95 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(aead); in crypto_gcm_setkey()
181 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(aead); in crypto_gcm_init_crypt()
402 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm_hash()
525 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(tfm); in crypto_gcm_init_tfm()
561 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(tfm); in crypto_gcm_exit_tfm()
694 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4106_setkey()
712 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4106_setauthsize()
726 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(aead); in crypto_rfc4106_crypt()
793 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(tfm); in crypto_rfc4106_init_tfm()
816 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(tfm); in crypto_rfc4106_exit_tfm()
[all …]
Dccm.c90 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(aead); in crypto_ccm_setkey()
173 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(aead); in crypto_ccm_auth()
288 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(aead); in crypto_ccm_encrypt()
348 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(aead); in crypto_ccm_decrypt()
397 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(tfm); in crypto_ccm_init_tfm()
431 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(tfm); in crypto_ccm_exit_tfm()
572 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4309_setkey()
590 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4309_setauthsize()
609 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(aead); in crypto_rfc4309_crypt()
672 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(tfm); in crypto_rfc4309_init_tfm()
[all …]
Dsimd.c293 struct simd_aead_ctx *ctx = crypto_aead_ctx(tfm); in simd_aead_setkey()
304 struct simd_aead_ctx *ctx = crypto_aead_ctx(tfm); in simd_aead_setauthsize()
313 struct simd_aead_ctx *ctx = crypto_aead_ctx(tfm); in simd_aead_encrypt()
334 struct simd_aead_ctx *ctx = crypto_aead_ctx(tfm); in simd_aead_decrypt()
354 struct simd_aead_ctx *ctx = crypto_aead_ctx(tfm); in simd_aead_exit()
361 struct simd_aead_ctx *ctx = crypto_aead_ctx(tfm); in simd_aead_init()
Dcryptd.c699 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(parent); in cryptd_aead_setkey()
708 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(parent); in cryptd_aead_setauthsize()
736 ctx = crypto_aead_ctx(tfm); in cryptd_aead_crypt()
794 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(tfm); in cryptd_aead_init_tfm()
810 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(tfm); in cryptd_aead_exit_tfm()
1032 ctx = crypto_aead_ctx(tfm); in cryptd_alloc_aead()
1042 ctx = crypto_aead_ctx(&tfm->base); in cryptd_aead_child()
1049 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(&tfm->base); in cryptd_aead_queued()
1057 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(&tfm->base); in cryptd_free_aead()
Daegis128-core.c369 struct aegis_ctx *ctx = crypto_aead_ctx(aead); in crypto_aegis128_setkey()
393 struct aegis_ctx *ctx = crypto_aead_ctx(tfm); in crypto_aegis128_encrypt_generic()
417 struct aegis_ctx *ctx = crypto_aead_ctx(tfm); in crypto_aegis128_decrypt_generic()
454 struct aegis_ctx *ctx = crypto_aead_ctx(tfm); in crypto_aegis128_encrypt_simd()
480 struct aegis_ctx *ctx = crypto_aead_ctx(tfm); in crypto_aegis128_decrypt_simd()
Dechainiv.c29 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv); in echainiv_encrypt()
88 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv); in echainiv_decrypt()
Dessiv.c96 struct essiv_tfm_ctx *tctx = crypto_aead_ctx(tfm); in essiv_aead_setkey()
129 struct essiv_tfm_ctx *tctx = crypto_aead_ctx(tfm); in essiv_aead_setauthsize()
181 const struct essiv_tfm_ctx *tctx = crypto_aead_ctx(tfm); in essiv_aead_crypt()
321 struct essiv_tfm_ctx *tctx = crypto_aead_ctx(tfm); in essiv_aead_init_tfm()
361 struct essiv_tfm_ctx *tctx = crypto_aead_ctx(tfm); in essiv_aead_exit_tfm()
Dseqiv.c51 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv); in seqiv_aead_encrypt()
112 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv); in seqiv_aead_decrypt()
/linux-6.1.9/drivers/crypto/cavium/nitrox/
Dnitrox_aead.c37 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_aes_gcm_setkey()
61 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_aead_setauthsize()
216 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_aes_gcm_enc()
250 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_aes_gcm_dec()
283 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_aead_init()
308 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_gcm_common_init()
343 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_aead_exit()
362 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_rfc4106_setkey()
443 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_rfc4106_enc()
475 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_rfc4106_dec()
/linux-6.1.9/drivers/crypto/
Domap-aes-gcm.c176 struct omap_aes_gcm_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in do_encrypt_iv()
221 struct omap_aes_gcm_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in omap_aes_gcm_prepare_req()
290 struct omap_aes_gcm_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in omap_aes_4106gcm_encrypt()
302 struct omap_aes_gcm_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in omap_aes_4106gcm_decrypt()
314 struct omap_aes_gcm_ctx *ctx = crypto_aead_ctx(tfm); in omap_aes_gcm_setkey()
330 struct omap_aes_gcm_ctx *ctx = crypto_aead_ctx(tfm); in omap_aes_4106gcm_setkey()
380 struct omap_aes_ctx *ctx = crypto_aead_ctx(tfm); in omap_aes_gcm_cra_init()
/linux-6.1.9/drivers/crypto/ccree/
Dcc_aead.c66 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_aead_exit()
69 dev_dbg(dev, "Clearing context @%p for %s\n", crypto_aead_ctx(tfm), in cc_aead_exit()
120 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_get_aead_hash_len()
128 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_aead_init()
213 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_aead_complete()
414 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_get_plain_hmac_key()
544 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_aead_setkey()
658 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_rfc4309_ccm_setkey()
672 struct cc_aead_ctx *ctx = crypto_aead_ctx(authenc); in cc_aead_setauthsize()
725 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_set_assoc_desc()
[all …]
/linux-6.1.9/drivers/crypto/nx/
Dnx-aes-gcm.c27 struct nx_crypto_ctx *nx_ctx = crypto_aead_ctx(tfm); in gcm_aes_nx_set_key()
66 struct nx_crypto_ctx *nx_ctx = crypto_aead_ctx(tfm); in gcm4106_aes_nx_set_key()
173 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gmac()
246 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm_empty()
311 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm_aes_nx_crypt()
439 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm4106_aes_nx_encrypt()
456 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm4106_aes_nx_decrypt()
/linux-6.1.9/arch/arm64/crypto/
Daes-ce-ccm-glue.c47 struct crypto_aes_ctx *ctx = crypto_aead_ctx(tfm); in ccm_setkey()
100 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_calculate_auth_mac()
149 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_encrypt()
206 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_decrypt()
Dghash-ce-glue.c232 struct gcm_aes_ctx *ctx = crypto_aead_ctx(tfm); in gcm_setkey()
308 struct gcm_aes_ctx *ctx = crypto_aead_ctx(aead); in gcm_calculate_auth_mac()
344 struct gcm_aes_ctx *ctx = crypto_aead_ctx(aead); in gcm_encrypt()
409 struct gcm_aes_ctx *ctx = crypto_aead_ctx(aead); in gcm_decrypt()
/linux-6.1.9/drivers/crypto/caam/
Dcaamalg.c134 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_null_set_sh_desc()
187 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_set_sh_desc()
315 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in aead_setauthsize()
325 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_set_sh_desc()
375 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in gcm_setauthsize()
390 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4106_set_sh_desc()
443 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in rfc4106_setauthsize()
458 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4543_set_sh_desc()
511 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in rfc4543_setauthsize()
524 struct caam_ctx *ctx = crypto_aead_ctx(aead); in chachapoly_set_sh_desc()
[all …]
Dcaamalg_qi.c84 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_set_sh_desc()
187 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in aead_setauthsize()
198 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_setkey()
302 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_set_sh_desc()
345 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in gcm_setauthsize()
361 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_setkey()
405 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4106_set_sh_desc()
449 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in rfc4106_setauthsize()
465 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4106_setkey()
513 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4543_set_sh_desc()
[all …]
/linux-6.1.9/drivers/crypto/ccp/
Dccp-crypto-aes-galois.c32 struct ccp_ctx *ctx = crypto_aead_ctx(tfm); in ccp_aes_gcm_setkey()
79 struct ccp_ctx *ctx = crypto_aead_ctx(tfm); in ccp_aes_gcm_crypt()
151 struct ccp_ctx *ctx = crypto_aead_ctx(tfm); in ccp_aes_gcm_cra_init()
/linux-6.1.9/drivers/crypto/qce/
Daead.c190 struct qce_aead_ctx *ctx = crypto_aead_ctx(tfm); in qce_aead_ccm_prepare_buf_assoclen()
333 struct qce_aead_ctx *ctx = crypto_aead_ctx(tfm); in qce_aead_ccm_prepare_buf()
506 struct qce_aead_ctx *ctx = crypto_aead_ctx(tfm); in qce_aead_crypt()
568 struct qce_aead_ctx *ctx = crypto_aead_ctx(tfm); in qce_aead_ccm_setkey()
597 struct qce_aead_ctx *ctx = crypto_aead_ctx(tfm); in qce_aead_setkey()
653 struct qce_aead_ctx *ctx = crypto_aead_ctx(tfm); in qce_aead_setauthsize()
669 struct qce_aead_ctx *ctx = crypto_aead_ctx(tfm); in qce_aead_init()
685 struct qce_aead_ctx *ctx = crypto_aead_ctx(tfm); in qce_aead_exit()
/linux-6.1.9/drivers/crypto/marvell/octeontx2/
Dotx2_cptvf_algs.c575 struct otx2_cpt_aead_ctx *ctx = crypto_aead_ctx(atfm); in cpt_aead_init()
684 struct otx2_cpt_aead_ctx *ctx = crypto_aead_ctx(tfm); in otx2_cpt_aead_exit()
701 struct otx2_cpt_aead_ctx *ctx = crypto_aead_ctx(tfm); in otx2_cpt_aead_gcm_set_authsize()
725 struct otx2_cpt_aead_ctx *ctx = crypto_aead_ctx(tfm); in otx2_cpt_aead_null_set_authsize()
797 struct otx2_cpt_aead_ctx *ctx = crypto_aead_ctx(cipher); in aead_hmac_init()
895 struct otx2_cpt_aead_ctx *ctx = crypto_aead_ctx(cipher); in otx2_cpt_aead_cbc_aes_sha_setkey()
947 struct otx2_cpt_aead_ctx *ctx = crypto_aead_ctx(cipher); in otx2_cpt_aead_ecb_null_sha_setkey()
982 struct otx2_cpt_aead_ctx *ctx = crypto_aead_ctx(cipher); in otx2_cpt_aead_gcm_aes_setkey()
1017 struct otx2_cpt_aead_ctx *ctx = crypto_aead_ctx(tfm); in create_aead_ctx_hdr()
1108 struct otx2_cpt_aead_ctx *ctx = crypto_aead_ctx(tfm); in create_hmac_ctx_hdr()
[all …]
/linux-6.1.9/drivers/crypto/keembay/
Dkeembay-ocs-aes-core.c210 struct ocs_aes_tctx *tctx = crypto_aead_ctx(tfm); in kmb_ocs_aead_set_key()
643 struct ocs_aes_tctx *tctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in kmb_ocs_aead_common()
687 struct ocs_aes_tctx *tctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in kmb_ocs_aead_dma_cleanup()
724 struct ocs_aes_tctx *tctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in kmb_ocs_aead_dma_prepare()
892 struct ocs_aes_tctx *tctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in kmb_ocs_aead_run()
980 struct ocs_aes_tctx *tctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in kmb_ocs_aes_aead_do_one_request()
1221 struct ocs_aes_tctx *tctx = crypto_aead_ctx(tfm); in ocs_aes_aead_cra_init()
1264 struct ocs_aes_tctx *tctx = crypto_aead_ctx(tfm); in ocs_sm4_aead_cra_init()
1273 struct ocs_aes_tctx *tctx = crypto_aead_ctx(tfm); in ocs_aead_cra_exit()

12