Home
last modified time | relevance | path

Searched refs:aead_alg (Results 1 – 25 of 56) sorted by relevance

123

/linux-6.1.9/include/crypto/internal/
Daead.h22 char head[offsetof(struct aead_alg, base)];
25 struct aead_alg alg;
93 static inline struct aead_alg *crypto_spawn_aead_alg( in crypto_spawn_aead_alg()
96 return container_of(spawn->base.alg, struct aead_alg, base); in crypto_spawn_aead_alg()
117 static inline unsigned int crypto_aead_alg_chunksize(struct aead_alg *alg) in crypto_aead_alg_chunksize()
138 int crypto_register_aead(struct aead_alg *alg);
139 void crypto_unregister_aead(struct aead_alg *alg);
140 int crypto_register_aeads(struct aead_alg *algs, int count);
141 void crypto_unregister_aeads(struct aead_alg *algs, int count);
Dsimd.h33 struct aead_alg;
42 int simd_register_aeads_compat(struct aead_alg *algs, int count,
45 void simd_unregister_aeads(struct aead_alg *algs, int count,
/linux-6.1.9/crypto/
Daead.c122 struct aead_alg *alg = crypto_aead_alg(aead); in crypto_aead_exit_tfm()
130 struct aead_alg *alg = crypto_aead_alg(aead); in crypto_aead_init_tfm()
149 struct aead_alg *aead = container_of(alg, struct aead_alg, base); in crypto_aead_report()
173 struct aead_alg *aead = container_of(alg, struct aead_alg, base); in crypto_aead_show()
220 static int aead_prepare_alg(struct aead_alg *alg) in aead_prepare_alg()
238 int crypto_register_aead(struct aead_alg *alg) in crypto_register_aead()
251 void crypto_unregister_aead(struct aead_alg *alg) in crypto_unregister_aead()
257 int crypto_register_aeads(struct aead_alg *algs, int count) in crypto_register_aeads()
277 void crypto_unregister_aeads(struct aead_alg *algs, int count) in crypto_unregister_aeads()
Dsimd.c283 struct aead_alg alg;
364 struct aead_alg *alg; in simd_aead_init()
392 struct aead_alg *ialg; in simd_aead_create_compat()
393 struct aead_alg *alg; in simd_aead_create_compat()
476 int simd_register_aeads_compat(struct aead_alg *algs, int count, in simd_register_aeads_compat()
510 void simd_unregister_aeads(struct aead_alg *algs, int count, in simd_unregister_aeads()
Dessiv.c449 struct aead_alg *aead_alg = NULL; in essiv_create() local
506 aead_alg = crypto_spawn_aead_alg(&ictx->u.aead_spawn); in essiv_create()
507 block_base = &aead_alg->base; in essiv_create()
513 ivsize = aead_alg->ivsize; in essiv_create()
597 aead_inst->alg.maxauthsize = crypto_aead_alg_maxauthsize(aead_alg); in essiv_create()
598 aead_inst->alg.chunksize = crypto_aead_alg_chunksize(aead_alg); in essiv_create()
Dgeniv.c46 struct aead_alg *alg; in aead_geniv_alloc()
Daegis128-core.c506 static struct aead_alg crypto_aegis128_alg_generic = {
525 static struct aead_alg crypto_aegis128_alg_simd = {
/linux-6.1.9/include/crypto/
Daead.h138 struct aead_alg { struct
203 static inline struct aead_alg *crypto_aead_alg(struct crypto_aead *tfm) in crypto_aead_alg()
206 struct aead_alg, base); in crypto_aead_alg()
209 static inline unsigned int crypto_aead_alg_ivsize(struct aead_alg *alg) in crypto_aead_alg_ivsize()
245 static inline unsigned int crypto_aead_alg_maxauthsize(struct aead_alg *alg) in crypto_aead_alg_maxauthsize()
/linux-6.1.9/drivers/crypto/nx/
Dnx.h181 extern struct aead_alg nx_gcm_aes_alg;
182 extern struct aead_alg nx_gcm4106_aes_alg;
184 extern struct aead_alg nx_ccm_aes_alg;
185 extern struct aead_alg nx_ccm4309_aes_alg;
Dnx-aes-ccm.c525 struct aead_alg nx_ccm_aes_alg = {
545 struct aead_alg nx_ccm4309_aes_alg = {
Dnx-aes-gcm.c470 struct aead_alg nx_gcm_aes_alg = {
488 struct aead_alg nx_gcm4106_aes_alg = {
/linux-6.1.9/drivers/crypto/ccp/
Dccp-crypto-main.c375 struct ccp_crypto_aead *aead_alg, *aead_tmp; in ccp_unregister_algs() local
390 list_for_each_entry_safe(aead_alg, aead_tmp, &aead_algs, entry) { in ccp_unregister_algs()
391 crypto_unregister_aead(&aead_alg->alg); in ccp_unregister_algs()
392 list_del(&aead_alg->entry); in ccp_unregister_algs()
393 kfree(aead_alg); in ccp_unregister_algs()
Dccp-crypto-aes-galois.c165 static struct aead_alg ccp_aes_gcm_defaults = {
193 struct aead_alg *alg_defaults;
212 struct aead_alg *alg; in ccp_register_aes_aead()
Dccp-crypto.h49 struct aead_alg alg;
/linux-6.1.9/drivers/crypto/ccree/
Dcc_driver.h167 struct aead_alg aead_alg; member
176 struct aead_alg aead;
Dcc_aead.c127 struct aead_alg *alg = crypto_aead_alg(tfm); in cc_aead_init()
130 container_of(alg, struct cc_crypto_alg, aead_alg); in cc_aead_init()
2564 struct aead_alg *alg; in cc_create_aead_alg()
2584 t_alg->aead_alg = *alg; in cc_create_aead_alg()
2600 crypto_unregister_aead(&t_alg->aead_alg); in cc_aead_free()
2646 rc = crypto_register_aead(&t_alg->aead_alg); in cc_aead_alloc()
2649 t_alg->aead_alg.base.cra_driver_name); in cc_aead_alloc()
2655 t_alg->aead_alg.base.cra_driver_name); in cc_aead_alloc()
/linux-6.1.9/drivers/crypto/xilinx/
Dzynqmp-aes-gcm.c46 struct aead_alg aead;
285 struct aead_alg *alg = crypto_aead_alg(aead); in zynqmp_aes_aead_encrypt()
298 struct aead_alg *alg = crypto_aead_alg(aead); in zynqmp_aes_aead_decrypt()
313 struct aead_alg *alg = crypto_aead_alg(aead); in zynqmp_aes_aead_init()
/linux-6.1.9/drivers/crypto/qce/
Daead.h49 struct aead_alg *alg = crypto_aead_alg(tfm); in to_aead_tmpl()
Dcommon.h92 struct aead_alg aead;
/linux-6.1.9/Documentation/crypto/
Dapi-aead.rst8 :functions: aead_request aead_alg
/linux-6.1.9/drivers/crypto/amcc/
Dcrypto4xx_core.h139 struct aead_alg aead;
/linux-6.1.9/drivers/crypto/
Domap-aes.h126 struct aead_alg *algs_list;
/linux-6.1.9/drivers/crypto/bcm/
Dcipher.h110 struct aead_alg aead;
/linux-6.1.9/drivers/crypto/chelsio/
Dchcr_crypto.h321 struct aead_alg aead;
/linux-6.1.9/arch/x86/crypto/
Daegis128-aesni-glue.c239 static struct aead_alg crypto_aegis128_aesni_alg = {

123