Home
last modified time | relevance | path

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

12

/Linux-v4.19/arch/x86/crypto/
Dmorus640_glue.c119 struct morus640_ctx *ctx = crypto_aead_ctx(aead); in crypto_morus640_glue_setkey()
144 struct morus640_ctx *ctx = crypto_aead_ctx(tfm); in crypto_morus640_glue_crypt()
160 struct morus640_ctx *ctx = crypto_aead_ctx(tfm); in crypto_morus640_glue_encrypt()
184 struct morus640_ctx *ctx = crypto_aead_ctx(tfm); in crypto_morus640_glue_decrypt()
207 struct morus640_ctx *ctx = crypto_aead_ctx(aead); in crypto_morus640_glue_init_ops()
215 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in cryptd_morus640_glue_setkey()
225 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in cryptd_morus640_glue_setauthsize()
235 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in cryptd_morus640_glue_encrypt()
252 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in cryptd_morus640_glue_decrypt()
269 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in cryptd_morus640_glue_init_tfm()
[all …]
Dmorus1280_glue.c119 struct morus1280_ctx *ctx = crypto_aead_ctx(aead); in crypto_morus1280_glue_setkey()
148 struct morus1280_ctx *ctx = crypto_aead_ctx(tfm); in crypto_morus1280_glue_crypt()
164 struct morus1280_ctx *ctx = crypto_aead_ctx(tfm); in crypto_morus1280_glue_encrypt()
188 struct morus1280_ctx *ctx = crypto_aead_ctx(tfm); in crypto_morus1280_glue_decrypt()
211 struct morus1280_ctx *ctx = crypto_aead_ctx(aead); in crypto_morus1280_glue_init_ops()
219 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in cryptd_morus1280_glue_setkey()
229 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in cryptd_morus1280_glue_setauthsize()
239 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in cryptd_morus1280_glue_encrypt()
256 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in cryptd_morus1280_glue_decrypt()
273 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in cryptd_morus1280_glue_init_tfm()
[all …]
Daegis128-aesni-glue.c152 u8 *ctx = crypto_aead_ctx(aead); in crypto_aegis128_aesni_ctx()
256 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in cryptd_aegis128_aesni_setkey()
265 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in cryptd_aegis128_aesni_setauthsize()
274 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in cryptd_aegis128_aesni_encrypt()
290 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in cryptd_aegis128_aesni_decrypt()
306 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in cryptd_aegis128_aesni_init_tfm()
320 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in cryptd_aegis128_aesni_exit_tfm()
Daegis256-aesni-glue.c152 u8 *ctx = crypto_aead_ctx(aead); in crypto_aegis256_aesni_ctx()
256 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in cryptd_aegis256_aesni_setkey()
265 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in cryptd_aegis256_aesni_setauthsize()
274 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in cryptd_aegis256_aesni_encrypt()
290 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in cryptd_aegis256_aesni_decrypt()
306 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in cryptd_aegis256_aesni_init_tfm()
320 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in cryptd_aegis256_aesni_exit_tfm()
Daegis128l-aesni-glue.c152 u8 *ctx = crypto_aead_ctx(aead); in crypto_aegis128l_aesni_ctx()
256 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in cryptd_aegis128l_aesni_setkey()
265 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in cryptd_aegis128l_aesni_setauthsize()
274 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in cryptd_aegis128l_aesni_encrypt()
290 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in cryptd_aegis128l_aesni_decrypt()
306 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in cryptd_aegis128l_aesni_init_tfm()
320 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in cryptd_aegis128l_aesni_exit_tfm()
Daesni-intel_glue.c326 return PTR_ALIGN(crypto_aead_ctx(tfm), align); in aesni_rfc4106_gcm_ctx_get()
336 return PTR_ALIGN(crypto_aead_ctx(tfm), align); in generic_gcmaes_ctx_get()
676 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in rfc4106_init()
691 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in rfc4106_exit()
743 struct cryptd_aead **ctx = crypto_aead_ctx(parent); in gcmaes_wrapper_set_key()
769 struct cryptd_aead **ctx = crypto_aead_ctx(parent); in gcmaes_wrapper_set_authsize()
1117 struct cryptd_aead **ctx = crypto_aead_ctx(tfm); in gcmaes_wrapper_encrypt()
1133 struct cryptd_aead **ctx = crypto_aead_ctx(tfm); in gcmaes_wrapper_decrypt()
1316 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in generic_gcmaes_init()
1332 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in generic_gcmaes_exit()
/Linux-v4.19/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()
178 struct chachapoly_ctx *ctx = crypto_aead_ctx(tfm); in poly_tail()
211 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_cipherpad()
241 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_cipher()
272 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_adpad()
302 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_ad()
326 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_setkey()
353 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_init()
377 struct chachapoly_ctx *ctx = crypto_aead_ctx(tfm); in poly_genkey()
[all …]
Dauthencesn.c66 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_setkey()
105 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_genicv_tail()
139 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_genicv()
185 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_copy()
200 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_encrypt()
240 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_decrypt_tail()
289 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_decrypt()
341 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(tfm); in crypto_authenc_esn_init_tfm()
389 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(tfm); in crypto_authenc_esn_exit_tfm()
Dauthenc.c84 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_setkey()
143 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_genicv()
187 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_copy_assoc()
203 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_encrypt()
241 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_decrypt_tail()
290 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_decrypt()
318 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(tfm); in crypto_authenc_init_tfm()
363 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(tfm); in crypto_authenc_exit_tfm()
Dgcm.c99 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(aead); in crypto_gcm_setkey()
203 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(aead); in crypto_gcm_init_crypt()
424 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm_hash()
547 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(tfm); in crypto_gcm_init_tfm()
583 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(tfm); in crypto_gcm_exit_tfm()
768 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4106_setkey()
791 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4106_setauthsize()
809 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(aead); in crypto_rfc4106_crypt()
870 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(tfm); in crypto_rfc4106_init_tfm()
893 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(tfm); in crypto_rfc4106_exit_tfm()
[all …]
Dpcrypt.c105 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(parent); in pcrypt_aead_setkey()
113 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(parent); in pcrypt_aead_setauthsize()
158 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(aead); in pcrypt_aead_encrypt()
200 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(aead); in pcrypt_aead_decrypt()
227 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(tfm); in pcrypt_aead_init_tfm()
252 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(tfm); in pcrypt_aead_exit_tfm()
Dccm.c93 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(aead); in crypto_ccm_setkey()
183 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(aead); in crypto_ccm_auth()
298 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(aead); in crypto_ccm_encrypt()
358 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(aead); in crypto_ccm_decrypt()
407 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(tfm); in crypto_ccm_init_tfm()
441 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(tfm); in crypto_ccm_exit_tfm()
627 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4309_setkey()
650 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4309_setauthsize()
669 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(aead); in crypto_rfc4309_crypt()
732 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(tfm); in crypto_rfc4309_init_tfm()
[all …]
Daead.c188 struct aead_geniv_ctx *ctx = crypto_aead_ctx(tfm); in aead_geniv_setkey()
196 struct aead_geniv_ctx *ctx = crypto_aead_ctx(tfm); in aead_geniv_setauthsize()
290 struct aead_geniv_ctx *ctx = crypto_aead_ctx(aead); in aead_init_geniv()
334 struct aead_geniv_ctx *ctx = crypto_aead_ctx(tfm); in aead_exit_geniv()
Dechainiv.c34 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv); in echainiv_encrypt()
93 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv); in echainiv_decrypt()
Dcryptd.c935 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(parent); in cryptd_aead_setkey()
944 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(parent); in cryptd_aead_setauthsize()
972 ctx = crypto_aead_ctx(tfm); in cryptd_aead_crypt()
1030 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(tfm); in cryptd_aead_init_tfm()
1046 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(tfm); in cryptd_aead_exit_tfm()
1342 ctx = crypto_aead_ctx(tfm); in cryptd_alloc_aead()
1352 ctx = crypto_aead_ctx(&tfm->base); in cryptd_aead_child()
1359 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(&tfm->base); in cryptd_aead_queued()
1367 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(&tfm->base); in cryptd_free_aead()
Dseqiv.c58 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv); in seqiv_aead_encrypt()
120 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv); in seqiv_aead_decrypt()
/Linux-v4.19/drivers/crypto/ccree/
Dcc_aead.c73 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_aead_exit()
76 dev_dbg(dev, "Clearing context @%p for %s\n", crypto_aead_ctx(tfm), in cc_aead_exit()
128 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_aead_init()
212 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_aead_complete()
422 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_get_plain_hmac_key()
542 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_aead_setkey()
649 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_rfc4309_ccm_setkey()
663 struct cc_aead_ctx *ctx = crypto_aead_ctx(authenc); in cc_aead_setauthsize()
716 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_set_assoc_desc()
760 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_proc_authen_desc()
[all …]
/Linux-v4.19/drivers/crypto/
Domap-aes-gcm.c184 struct omap_aes_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in do_encrypt_iv()
279 ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in omap_aes_gcm_handle_queue()
357 struct omap_aes_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in omap_aes_4106gcm_encrypt()
368 struct omap_aes_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in omap_aes_4106gcm_decrypt()
379 struct omap_aes_ctx *ctx = crypto_aead_ctx(tfm); in omap_aes_gcm_setkey()
394 struct omap_aes_ctx *ctx = crypto_aead_ctx(tfm); in omap_aes_4106gcm_setkey()
/Linux-v4.19/drivers/crypto/nx/
Dnx-aes-gcm.c39 struct nx_crypto_ctx *nx_ctx = crypto_aead_ctx(tfm); in gcm_aes_nx_set_key()
78 struct nx_crypto_ctx *nx_ctx = crypto_aead_ctx(tfm); in gcm4106_aes_nx_set_key()
186 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gmac()
260 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm_empty()
325 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm_aes_nx_crypt()
455 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm4106_aes_nx_encrypt()
472 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm4106_aes_nx_decrypt()
/Linux-v4.19/drivers/crypto/ccp/
Dccp-crypto-aes-galois.c35 struct ccp_ctx *ctx = crypto_aead_ctx(tfm); in ccp_aes_gcm_setkey()
70 struct ccp_ctx *ctx = crypto_aead_ctx(tfm); in ccp_aes_gcm_crypt()
141 struct ccp_ctx *ctx = crypto_aead_ctx(tfm); in ccp_aes_gcm_cra_init()
/Linux-v4.19/arch/arm64/crypto/
Daes-ce-ccm-glue.c53 struct crypto_aes_ctx *ctx = crypto_aead_ctx(tfm); in ccm_setkey()
151 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_calculate_auth_mac()
241 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_encrypt()
298 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_decrypt()
Dghash-ce-glue.c258 struct gcm_aes_ctx *ctx = crypto_aead_ctx(tfm); in gcm_setkey()
320 struct gcm_aes_ctx *ctx = crypto_aead_ctx(aead); in gcm_calculate_auth_mac()
372 struct gcm_aes_ctx *ctx = crypto_aead_ctx(aead); in gcm_encrypt()
492 struct gcm_aes_ctx *ctx = crypto_aead_ctx(aead); in gcm_decrypt()
/Linux-v4.19/drivers/crypto/caam/
Dcaamalg.c120 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_null_set_sh_desc()
173 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_set_sh_desc()
319 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in aead_setauthsize()
329 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_set_sh_desc()
379 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in gcm_setauthsize()
389 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4106_set_sh_desc()
442 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in rfc4106_setauthsize()
452 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4543_set_sh_desc()
505 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in rfc4543_setauthsize()
516 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_setkey()
[all …]
Dcaamalg_qi.c69 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_set_sh_desc()
190 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in aead_setauthsize()
201 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_setkey()
291 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_set_sh_desc()
334 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in gcm_setauthsize()
345 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_setkey()
386 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4106_set_sh_desc()
430 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in rfc4106_setauthsize()
441 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4106_setkey()
490 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4543_set_sh_desc()
[all …]
/Linux-v4.19/include/crypto/internal/
Daead.h42 static inline void *crypto_aead_ctx(struct crypto_aead *tfm) in crypto_aead_ctx() function

12