Home
last modified time | relevance | path

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

123

/Linux-v5.10/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()
142 static inline unsigned int crypto_aead_alg_chunksize(struct aead_alg *alg) in crypto_aead_alg_chunksize()
163 int crypto_register_aead(struct aead_alg *alg);
164 void crypto_unregister_aead(struct aead_alg *alg);
165 int crypto_register_aeads(struct aead_alg *algs, int count);
166 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-v5.10/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.c448 struct aead_alg *aead_alg = NULL; in essiv_create() local
505 aead_alg = crypto_spawn_aead_alg(&ictx->u.aead_spawn); in essiv_create()
506 block_base = &aead_alg->base; in essiv_create()
512 ivsize = aead_alg->ivsize; in essiv_create()
596 aead_inst->alg.maxauthsize = crypto_aead_alg_maxauthsize(aead_alg); in essiv_create()
597 aead_inst->alg.chunksize = crypto_aead_alg_chunksize(aead_alg); in essiv_create()
Dgeniv.c46 struct aead_alg *alg; in aead_geniv_alloc()
/Linux-v5.10/include/crypto/
Daead.h136 struct aead_alg { struct
194 static inline struct aead_alg *crypto_aead_alg(struct crypto_aead *tfm) in crypto_aead_alg()
197 struct aead_alg, base); in crypto_aead_alg()
200 static inline unsigned int crypto_aead_alg_ivsize(struct aead_alg *alg) in crypto_aead_alg_ivsize()
236 static inline unsigned int crypto_aead_alg_maxauthsize(struct aead_alg *alg) in crypto_aead_alg_maxauthsize()
/Linux-v5.10/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.c528 struct aead_alg nx_ccm_aes_alg = {
548 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 = {
Dnx.c520 static int nx_register_aead(struct aead_alg *alg, u32 fc, u32 mode) in nx_register_aead()
540 static void nx_unregister_aead(struct aead_alg *alg, u32 fc, u32 mode) in nx_unregister_aead()
/Linux-v5.10/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.h48 struct aead_alg alg;
/Linux-v5.10/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-v5.10/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-v5.10/Documentation/crypto/
Dapi-aead.rst8 :functions: aead_request aead_alg
/Linux-v5.10/drivers/crypto/
Dpicoxcell_crypto.c95 struct aead_alg alg;
182 static inline struct spacc_aead *to_spacc_aead(struct aead_alg *alg) in to_spacc_aead()
511 struct aead_alg *alg = crypto_aead_alg(aead); in spacc_aead_need_fallback()
559 struct aead_alg *alg = crypto_aead_alg(aead); in spacc_aead_submit()
630 struct aead_alg *alg = crypto_aead_alg(aead); in spacc_aead_setup()
696 struct aead_alg *alg = crypto_aead_alg(tfm); in spacc_aead_cra_init()
Domap-aes.h126 struct aead_alg *algs_list;
Domap-aes.c743 static struct aead_alg algs_aead_gcm[] = {
1105 struct aead_alg *aalg; in omap_aes_probe()
1260 struct aead_alg *aalg; in omap_aes_remove()
/Linux-v5.10/drivers/crypto/amcc/
Dcrypto4xx_core.h139 struct aead_alg aead;
/Linux-v5.10/drivers/crypto/chelsio/
Dchcr_crypto.h317 struct aead_alg aead;
/Linux-v5.10/drivers/crypto/bcm/
Dcipher.h109 struct aead_alg aead;
/Linux-v5.10/arch/x86/crypto/
Daegis128-aesni-glue.c239 static struct aead_alg crypto_aegis128_aesni_alg = {

123