Home
last modified time | relevance | path

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

12

/linux/crypto/
H A 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 …]
H A 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()
H A 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()
176 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_copy_assoc()
192 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_encrypt()
230 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_decrypt_tail()
278 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_decrypt()
303 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(tfm); in crypto_authenc_init_tfm()
348 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(tfm); in crypto_authenc_exit_tfm()
H A 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()
400 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm_hash()
523 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(tfm); in crypto_gcm_init_tfm()
559 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(tfm); in crypto_gcm_exit_tfm()
690 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4106_setkey()
708 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4106_setauthsize()
722 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(aead); in crypto_rfc4106_crypt()
789 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(tfm); in crypto_rfc4106_init_tfm()
812 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(tfm); in crypto_rfc4106_exit_tfm()
[all …]
H A 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()
148 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(aead); in pcrypt_aead_decrypt()
180 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(tfm); in pcrypt_aead_init_tfm()
205 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(tfm); in pcrypt_aead_exit_tfm()
H A Dauthencesn.c61 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_setkey()
120 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_genicv()
164 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_copy()
179 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_encrypt()
219 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_decrypt_tail()
266 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_decrypt()
317 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(tfm); in crypto_authenc_esn_init_tfm()
364 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(tfm); in crypto_authenc_esn_exit_tfm()
H A Dccm.c91 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(aead); in crypto_ccm_setkey()
174 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(aead); in crypto_ccm_auth()
289 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()
570 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4309_setkey()
588 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4309_setauthsize()
607 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(aead); in crypto_rfc4309_crypt()
670 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(tfm); in crypto_rfc4309_init_tfm()
[all …]
H A Dsimd.c271 struct simd_aead_ctx *ctx = crypto_aead_ctx(tfm); in simd_aead_setkey()
282 struct simd_aead_ctx *ctx = crypto_aead_ctx(tfm); in simd_aead_setauthsize()
291 struct simd_aead_ctx *ctx = crypto_aead_ctx(tfm); in simd_aead_encrypt()
312 struct simd_aead_ctx *ctx = crypto_aead_ctx(tfm); in simd_aead_decrypt()
332 struct simd_aead_ctx *ctx = crypto_aead_ctx(tfm); in simd_aead_exit()
339 struct simd_aead_ctx *ctx = crypto_aead_ctx(tfm); in simd_aead_init()
H A Dcryptd.c722 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(parent); in cryptd_aead_setkey()
731 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(parent); in cryptd_aead_setauthsize()
768 ctx = crypto_aead_ctx(tfm); in cryptd_aead_crypt()
790 ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in cryptd_aead_encrypt()
802 ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in cryptd_aead_decrypt()
838 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(tfm); in cryptd_aead_init_tfm()
854 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(tfm); in cryptd_aead_exit_tfm()
1076 ctx = crypto_aead_ctx(tfm); in cryptd_alloc_aead()
1086 ctx = crypto_aead_ctx(&tfm->base); in cryptd_aead_child()
1093 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(&tfm->base); in cryptd_aead_queued()
[all …]
H A Daegis128-core.c370 struct aegis_ctx *ctx = crypto_aead_ctx(aead); in crypto_aegis128_setkey()
394 struct aegis_ctx *ctx = crypto_aead_ctx(tfm); in crypto_aegis128_encrypt_generic()
418 struct aegis_ctx *ctx = crypto_aead_ctx(tfm); in crypto_aegis128_decrypt_generic()
455 struct aegis_ctx *ctx = crypto_aead_ctx(tfm); in crypto_aegis128_encrypt_simd()
481 struct aegis_ctx *ctx = crypto_aead_ctx(tfm); in crypto_aegis128_decrypt_simd()
H A 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()
186 const struct essiv_tfm_ctx *tctx = crypto_aead_ctx(tfm); in essiv_aead_crypt()
326 struct essiv_tfm_ctx *tctx = crypto_aead_ctx(tfm); in essiv_aead_init_tfm()
366 struct essiv_tfm_ctx *tctx = crypto_aead_ctx(tfm); in essiv_aead_exit_tfm()
H A 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()
H A Dseqiv.c50 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv); in seqiv_aead_encrypt()
111 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv); in seqiv_aead_decrypt()
/linux/drivers/crypto/cavium/nitrox/
H A 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()
/linux/drivers/crypto/ccree/
H A 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/drivers/crypto/
H A Domap-aes-gcm.c179 struct omap_aes_gcm_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in do_encrypt_iv()
222 struct omap_aes_gcm_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in omap_aes_gcm_prepare_req()
291 struct omap_aes_gcm_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in omap_aes_4106gcm_encrypt()
303 struct omap_aes_gcm_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in omap_aes_4106gcm_decrypt()
315 struct omap_aes_gcm_ctx *ctx = crypto_aead_ctx(tfm); in omap_aes_gcm_setkey()
331 struct omap_aes_gcm_ctx *ctx = crypto_aead_ctx(tfm); in omap_aes_4106gcm_setkey()
/linux/drivers/crypto/nx/
H A 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/arch/arm64/crypto/
H A Dghash-ce-glue.c235 struct gcm_aes_ctx *ctx = crypto_aead_ctx(tfm); in gcm_aes_setkey()
303 struct gcm_aes_ctx *ctx = crypto_aead_ctx(aead); in gcm_calculate_auth_mac()
338 struct gcm_aes_ctx *ctx = crypto_aead_ctx(aead); in gcm_encrypt()
401 struct gcm_aes_ctx *ctx = crypto_aead_ctx(aead); in gcm_decrypt()
483 struct gcm_aes_ctx *ctx = crypto_aead_ctx(tfm); in rfc4106_setkey()
503 struct gcm_aes_ctx *ctx = crypto_aead_ctx(aead); in rfc4106_encrypt()
516 struct gcm_aes_ctx *ctx = crypto_aead_ctx(aead); in rfc4106_decrypt()
H A Dsm4-ce-ccm-glue.c33 struct sm4_ctx *ctx = crypto_aead_ctx(tfm); in ccm_setkey()
94 struct sm4_ctx *ctx = crypto_aead_ctx(aead); in ccm_calculate_auth_mac()
216 struct sm4_ctx *ctx = crypto_aead_ctx(aead); in ccm_encrypt()
244 struct sm4_ctx *ctx = crypto_aead_ctx(aead); in ccm_decrypt()
H A Daes-ce-ccm-glue.c50 struct crypto_aes_ctx *ctx = crypto_aead_ctx(tfm); in ccm_setkey()
138 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_calculate_auth_mac()
182 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_encrypt()
248 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_decrypt()
H A Dsm4-ce-gcm-glue.c46 struct sm4_gcm_ctx *ctx = crypto_aead_ctx(tfm); in gcm_setkey()
76 struct sm4_gcm_ctx *ctx = crypto_aead_ctx(aead); in gcm_calculate_auth_mac()
145 struct sm4_gcm_ctx *ctx = crypto_aead_ctx(aead); in gcm_crypt()
/linux/arch/arm/crypto/
H A Dghash-ce-glue.c385 struct gcm_key *ctx = crypto_aead_ctx(tfm); in gcm_aes_setkey()
454 struct gcm_key *ctx = crypto_aead_ctx(aead); in gcm_calculate_auth_mac()
493 struct gcm_key *ctx = crypto_aead_ctx(aead); in gcm_encrypt()
583 struct gcm_key *ctx = crypto_aead_ctx(aead); in gcm_decrypt()
676 struct gcm_key *ctx = crypto_aead_ctx(tfm); in rfc4106_setkey()
696 struct gcm_key *ctx = crypto_aead_ctx(aead); in rfc4106_encrypt()
709 struct gcm_key *ctx = crypto_aead_ctx(aead); in rfc4106_decrypt()
/linux/drivers/crypto/qce/
H A 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/drivers/crypto/starfive/
H A Djh7110-aes.c642 crypto_aead_ctx(crypto_aead_reqtfm(req)); in starfive_aes_aead_do_one_req()
722 struct starfive_cryp_ctx *ctx = crypto_aead_ctx(tfm); in starfive_aes_aead_init_tfm()
743 struct starfive_cryp_ctx *ctx = crypto_aead_ctx(tfm); in starfive_aes_aead_exit_tfm()
811 crypto_aead_ctx(crypto_aead_reqtfm(req)); in starfive_aes_aead_do_fallback()
828 struct starfive_cryp_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in starfive_aes_aead_crypt()
876 struct starfive_cryp_ctx *ctx = crypto_aead_ctx(tfm); in starfive_aes_aead_setkey()
895 struct starfive_cryp_ctx *ctx = crypto_aead_ctx(tfm); in starfive_aes_gcm_setauthsize()
908 struct starfive_cryp_ctx *ctx = crypto_aead_ctx(tfm); in starfive_aes_ccm_setauthsize()
/linux/drivers/crypto/intel/keembay/
H A Dkeembay-ocs-aes-core.c207 struct ocs_aes_tctx *tctx = crypto_aead_ctx(tfm); in kmb_ocs_aead_set_key()
640 struct ocs_aes_tctx *tctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in kmb_ocs_aead_common()
684 struct ocs_aes_tctx *tctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in kmb_ocs_aead_dma_cleanup()
721 struct ocs_aes_tctx *tctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in kmb_ocs_aead_dma_prepare()
889 struct ocs_aes_tctx *tctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in kmb_ocs_aead_run()
977 struct ocs_aes_tctx *tctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in kmb_ocs_aes_aead_do_one_request()
1198 struct ocs_aes_tctx *tctx = crypto_aead_ctx(tfm); in ocs_aes_aead_cra_init()
1248 struct ocs_aes_tctx *tctx = crypto_aead_ctx(tfm); in ocs_aead_cra_exit()

12