Home
last modified time | relevance | path

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

123

/linux-6.12.1/include/crypto/internal/
Daead.h22 char head[offsetof(struct aead_alg, base)];
25 struct aead_alg alg;
108 static inline struct aead_alg *crypto_spawn_aead_alg( in crypto_spawn_aead_alg()
111 return container_of(spawn->base.alg, struct aead_alg, base); in crypto_spawn_aead_alg()
139 static inline unsigned int crypto_aead_alg_chunksize(struct aead_alg *alg) in crypto_aead_alg_chunksize()
160 int crypto_register_aead(struct aead_alg *alg);
161 void crypto_unregister_aead(struct aead_alg *alg);
162 int crypto_register_aeads(struct aead_alg *algs, int count);
163 void crypto_unregister_aeads(struct aead_alg *algs, int count);
Dsimd.h32 struct aead_alg;
34 int simd_register_aeads_compat(struct aead_alg *algs, int count,
37 void simd_unregister_aeads(struct aead_alg *algs, int count,
/linux-6.12.1/crypto/
Daead.c111 struct aead_alg *alg = crypto_aead_alg(aead); in crypto_aead_exit_tfm()
119 struct aead_alg *alg = crypto_aead_alg(aead); in crypto_aead_init_tfm()
138 struct aead_alg *aead = container_of(alg, struct aead_alg, base); in crypto_aead_report()
156 struct aead_alg *aead = container_of(alg, struct aead_alg, base); in crypto_aead_show()
211 static int aead_prepare_alg(struct aead_alg *alg) in aead_prepare_alg()
229 int crypto_register_aead(struct aead_alg *alg) in crypto_register_aead()
242 void crypto_unregister_aead(struct aead_alg *alg) in crypto_unregister_aead()
248 int crypto_register_aeads(struct aead_alg *algs, int count) in crypto_register_aeads()
268 void crypto_unregister_aeads(struct aead_alg *algs, int count) in crypto_unregister_aeads()
Dsimd.c261 struct aead_alg alg;
342 struct aead_alg *alg; in simd_aead_init()
364 static struct simd_aead_alg *simd_aead_create_compat(struct aead_alg *ialg, in simd_aead_create_compat()
370 struct aead_alg *alg; in simd_aead_create_compat()
430 int simd_register_aeads_compat(struct aead_alg *algs, int count, in simd_register_aeads_compat()
464 void simd_unregister_aeads(struct aead_alg *algs, int count, in simd_unregister_aeads()
Dessiv.c454 struct aead_alg *aead_alg = NULL; in essiv_create() local
512 aead_alg = crypto_spawn_aead_alg(&ictx->u.aead_spawn); in essiv_create()
513 block_base = &aead_alg->base; in essiv_create()
519 ivsize = aead_alg->ivsize; in essiv_create()
602 aead_inst->alg.maxauthsize = crypto_aead_alg_maxauthsize(aead_alg); in essiv_create()
603 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.c507 static struct aead_alg crypto_aegis128_alg_generic = {
526 static struct aead_alg crypto_aegis128_alg_simd = {
/linux-6.12.1/include/crypto/
Daead.h139 struct aead_alg { struct
216 static inline struct aead_alg *crypto_aead_alg(struct crypto_aead *tfm) in crypto_aead_alg()
219 struct aead_alg, base); in crypto_aead_alg()
222 static inline unsigned int crypto_aead_alg_ivsize(struct aead_alg *alg) in crypto_aead_alg_ivsize()
258 static inline unsigned int crypto_aead_alg_maxauthsize(struct aead_alg *alg) in crypto_aead_alg_maxauthsize()
Dengine.h30 struct aead_alg base;
/linux-6.12.1/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-gcm.c470 struct aead_alg nx_gcm_aes_alg = {
488 struct aead_alg nx_gcm4106_aes_alg = {
Dnx-aes-ccm.c525 struct aead_alg nx_ccm_aes_alg = {
545 struct aead_alg nx_ccm4309_aes_alg = {
/linux-6.12.1/drivers/crypto/ccp/
Dccp-crypto-main.c368 struct ccp_crypto_aead *aead_alg, *aead_tmp; in ccp_unregister_algs() local
383 list_for_each_entry_safe(aead_alg, aead_tmp, &aead_algs, entry) { in ccp_unregister_algs()
384 crypto_unregister_aead(&aead_alg->alg); in ccp_unregister_algs()
385 list_del(&aead_alg->entry); in ccp_unregister_algs()
386 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.12.1/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()
2588 t_alg->aead_alg = *alg; in cc_create_aead_alg()
2604 crypto_unregister_aead(&t_alg->aead_alg); in cc_aead_free()
2650 rc = crypto_register_aead(&t_alg->aead_alg); in cc_aead_alloc()
2653 t_alg->aead_alg.base.cra_driver_name); in cc_aead_alloc()
2659 t_alg->aead_alg.base.cra_driver_name); in cc_aead_alloc()
/linux-6.12.1/drivers/crypto/xilinx/
Dzynqmp-aes-gcm.c288 struct aead_alg *alg = crypto_aead_alg(aead); in zynqmp_aes_aead_encrypt()
301 struct aead_alg *alg = crypto_aead_alg(aead); in zynqmp_aes_aead_decrypt()
316 struct aead_alg *alg = crypto_aead_alg(aead); in zynqmp_aes_aead_init()
/linux-6.12.1/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.12.1/Documentation/crypto/
Dapi-aead.rst8 :functions: aead_request aead_alg
/linux-6.12.1/drivers/crypto/amcc/
Dcrypto4xx_core.h139 struct aead_alg aead;
/linux-6.12.1/drivers/crypto/chelsio/
Dchcr_crypto.h321 struct aead_alg aead;
/linux-6.12.1/drivers/crypto/bcm/
Dcipher.h110 struct aead_alg aead;
/linux-6.12.1/arch/x86/crypto/
Daegis128-aesni-glue.c239 static struct aead_alg crypto_aegis128_aesni_alg = {

123