Home
last modified time | relevance | path

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

12

/Linux-v5.4/crypto/
Dchacha20poly1305.c88 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in chacha_iv()
127 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in chacha_decrypt()
174 struct chachapoly_ctx *ctx = crypto_aead_ctx(tfm); in poly_tail()
203 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_cipherpad()
232 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_cipher()
262 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_adpad()
291 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_ad()
315 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_setkey()
341 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_init()
365 struct chachapoly_ctx *ctx = crypto_aead_ctx(tfm); in poly_genkey()
[all …]
Dauthencesn.c61 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_setkey()
100 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_genicv_tail()
134 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_genicv()
180 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_copy()
195 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_encrypt()
235 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_decrypt_tail()
284 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_decrypt()
336 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(tfm); in crypto_authenc_esn_init_tfm()
384 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(tfm); in crypto_authenc_esn_exit_tfm()
Dpcrypt.c38 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(parent); in pcrypt_aead_setkey()
46 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(parent); in pcrypt_aead_setauthsize()
91 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(aead); in pcrypt_aead_encrypt()
133 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(aead); in pcrypt_aead_decrypt()
160 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(tfm); in pcrypt_aead_init_tfm()
185 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()
146 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_genicv()
190 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_copy_assoc()
206 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_encrypt()
244 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_decrypt_tail()
293 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_decrypt()
321 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(tfm); in crypto_authenc_init_tfm()
366 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(tfm); in crypto_authenc_exit_tfm()
Dgcm.c96 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(aead); in crypto_gcm_setkey()
187 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(aead); in crypto_gcm_init_crypt()
408 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm_hash()
531 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(tfm); in crypto_gcm_init_tfm()
567 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(tfm); in crypto_gcm_exit_tfm()
728 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4106_setkey()
751 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4106_setauthsize()
765 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(aead); in crypto_rfc4106_crypt()
832 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(tfm); in crypto_rfc4106_init_tfm()
855 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(tfm); in crypto_rfc4106_exit_tfm()
[all …]
Dsimd.c296 struct simd_aead_ctx *ctx = crypto_aead_ctx(tfm); in simd_aead_setkey()
311 struct simd_aead_ctx *ctx = crypto_aead_ctx(tfm); in simd_aead_setauthsize()
320 struct simd_aead_ctx *ctx = crypto_aead_ctx(tfm); in simd_aead_encrypt()
341 struct simd_aead_ctx *ctx = crypto_aead_ctx(tfm); in simd_aead_decrypt()
361 struct simd_aead_ctx *ctx = crypto_aead_ctx(tfm); in simd_aead_exit()
368 struct simd_aead_ctx *ctx = crypto_aead_ctx(tfm); in simd_aead_init()
Dccm.c91 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(aead); in crypto_ccm_setkey()
181 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(aead); in crypto_ccm_auth()
296 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(aead); in crypto_ccm_encrypt()
356 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(aead); in crypto_ccm_decrypt()
405 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(tfm); in crypto_ccm_init_tfm()
439 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(tfm); in crypto_ccm_exit_tfm()
605 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4309_setkey()
628 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4309_setauthsize()
647 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(aead); in crypto_rfc4309_crypt()
710 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(tfm); in crypto_rfc4309_init_tfm()
[all …]
Dcryptd.c737 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(parent); in cryptd_aead_setkey()
746 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(parent); in cryptd_aead_setauthsize()
774 ctx = crypto_aead_ctx(tfm); in cryptd_aead_crypt()
832 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(tfm); in cryptd_aead_init_tfm()
848 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(tfm); in cryptd_aead_exit_tfm()
1088 ctx = crypto_aead_ctx(tfm); in cryptd_alloc_aead()
1098 ctx = crypto_aead_ctx(&tfm->base); in cryptd_aead_child()
1105 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(&tfm->base); in cryptd_aead_queued()
1113 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(&tfm->base); in cryptd_free_aead()
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()
Daead.c218 struct aead_geniv_ctx *ctx = crypto_aead_ctx(tfm); in aead_geniv_setkey()
226 struct aead_geniv_ctx *ctx = crypto_aead_ctx(tfm); in aead_geniv_setauthsize()
320 struct aead_geniv_ctx *ctx = crypto_aead_ctx(aead); in aead_init_geniv()
364 struct aead_geniv_ctx *ctx = crypto_aead_ctx(tfm); in aead_exit_geniv()
Dessiv.c105 struct essiv_tfm_ctx *tctx = crypto_aead_ctx(tfm); in essiv_aead_setkey()
146 struct essiv_tfm_ctx *tctx = crypto_aead_ctx(tfm); in essiv_aead_setauthsize()
199 const struct essiv_tfm_ctx *tctx = crypto_aead_ctx(tfm); in essiv_aead_crypt()
339 struct essiv_tfm_ctx *tctx = crypto_aead_ctx(tfm); in essiv_aead_init_tfm()
379 struct essiv_tfm_ctx *tctx = crypto_aead_ctx(tfm); in essiv_aead_exit_tfm()
Dseqiv.c53 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv); in seqiv_aead_encrypt()
114 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv); in seqiv_aead_decrypt()
/Linux-v5.4/drivers/crypto/cavium/nitrox/
Dnitrox_aead.c38 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_aes_gcm_setkey()
64 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_aead_setauthsize()
192 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_aes_gcm_enc()
223 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_aes_gcm_dec()
253 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_aead_init()
278 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_gcm_common_init()
313 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_aead_exit()
332 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_rfc4106_setkey()
413 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_rfc4106_enc()
445 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_rfc4106_dec()
/Linux-v5.4/drivers/crypto/ccree/
Dcc_aead.c70 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_aead_exit()
73 dev_dbg(dev, "Clearing context @%p for %s\n", crypto_aead_ctx(tfm), in cc_aead_exit()
124 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_get_aead_hash_len()
132 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_aead_init()
217 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_aead_complete()
417 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_get_plain_hmac_key()
546 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_aead_setkey()
668 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_rfc4309_ccm_setkey()
682 struct cc_aead_ctx *ctx = crypto_aead_ctx(authenc); in cc_aead_setauthsize()
735 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_set_assoc_desc()
[all …]
/Linux-v5.4/drivers/crypto/
Domap-aes-gcm.c180 struct omap_aes_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in do_encrypt_iv()
275 ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in omap_aes_gcm_handle_queue()
353 struct omap_aes_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in omap_aes_4106gcm_encrypt()
364 struct omap_aes_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in omap_aes_4106gcm_decrypt()
375 struct omap_aes_ctx *ctx = crypto_aead_ctx(tfm); in omap_aes_gcm_setkey()
390 struct omap_aes_ctx *ctx = crypto_aead_ctx(tfm); in omap_aes_4106gcm_setkey()
/Linux-v5.4/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()
174 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gmac()
248 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm_empty()
313 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm_aes_nx_crypt()
443 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm4106_aes_nx_encrypt()
460 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm4106_aes_nx_decrypt()
Dnx.c696 return nx_crypto_ctx_init(crypto_aead_ctx(tfm), NX_FC_AES, in nx_crypto_ctx_aes_ccm_init()
703 return nx_crypto_ctx_init(crypto_aead_ctx(tfm), NX_FC_AES, in nx_crypto_ctx_aes_gcm_init()
757 struct nx_crypto_ctx *nx_ctx = crypto_aead_ctx(tfm); in nx_crypto_ctx_aead_exit()
/Linux-v5.4/drivers/crypto/caam/
Dcaamalg.c119 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_null_set_sh_desc()
172 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_set_sh_desc()
300 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in aead_setauthsize()
310 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_set_sh_desc()
360 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in gcm_setauthsize()
375 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4106_set_sh_desc()
428 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in rfc4106_setauthsize()
443 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4543_set_sh_desc()
496 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in rfc4543_setauthsize()
509 struct caam_ctx *ctx = crypto_aead_ctx(aead); in chachapoly_set_sh_desc()
[all …]
Dcaamalg_qi.c76 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_set_sh_desc()
179 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in aead_setauthsize()
190 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_setkey()
295 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_set_sh_desc()
338 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in gcm_setauthsize()
354 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_setkey()
400 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4106_set_sh_desc()
444 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in rfc4106_setauthsize()
460 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4106_setkey()
510 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4543_set_sh_desc()
[all …]
Dcaamalg_qi2.c167 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_set_sh_desc()
272 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in aead_setauthsize()
283 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_setkey()
354 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_edesc_alloc()
588 struct caam_ctx *ctx = crypto_aead_ctx(aead); in chachapoly_set_sh_desc()
621 struct caam_ctx *ctx = crypto_aead_ctx(aead); in chachapoly_setauthsize()
633 struct caam_ctx *ctx = crypto_aead_ctx(aead); in chachapoly_setkey()
650 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_set_sh_desc()
707 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in gcm_setauthsize()
723 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_setkey()
[all …]
/Linux-v5.4/drivers/crypto/ccp/
Dccp-crypto-aes-galois.c32 struct ccp_ctx *ctx = crypto_aead_ctx(tfm); in ccp_aes_gcm_setkey()
80 struct ccp_ctx *ctx = crypto_aead_ctx(tfm); in ccp_aes_gcm_crypt()
152 struct ccp_ctx *ctx = crypto_aead_ctx(tfm); in ccp_aes_gcm_cra_init()
/Linux-v5.4/arch/arm64/crypto/
Daes-ce-ccm-glue.c49 struct crypto_aes_ctx *ctx = crypto_aead_ctx(tfm); in ccm_setkey()
143 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_calculate_auth_mac()
231 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_encrypt()
288 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_decrypt()
Dghash-ce-glue.c306 struct gcm_aes_ctx *ctx = crypto_aead_ctx(tfm); in gcm_setkey()
368 struct gcm_aes_ctx *ctx = crypto_aead_ctx(aead); in gcm_calculate_auth_mac()
422 struct gcm_aes_ctx *ctx = crypto_aead_ctx(aead); in gcm_encrypt()
541 struct gcm_aes_ctx *ctx = crypto_aead_ctx(aead); in gcm_decrypt()
/Linux-v5.4/drivers/crypto/qat/qat_common/
Dqat_algs.c298 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(aead_tfm); in qat_alg_aead_init_enc_session()
379 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(aead_tfm); in qat_alg_aead_init_dec_session()
601 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(tfm); in qat_alg_aead_rekey()
615 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(tfm); in qat_alg_aead_newkey()
667 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(tfm); in qat_alg_aead_setkey()
1171 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(tfm); in qat_alg_aead_init()
1198 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(tfm); in qat_alg_aead_exit()
/Linux-v5.4/include/crypto/internal/
Daead.h37 static inline void *crypto_aead_ctx(struct crypto_aead *tfm) in crypto_aead_ctx() function

12