• Home
  • Raw
  • Download

Lines Matching refs:t_alg

3695 		struct caam_aead_alg *t_alg = driver_aeads + i;  in caam_algapi_exit()  local
3697 if (t_alg->registered) in caam_algapi_exit()
3698 crypto_engine_unregister_aead(&t_alg->aead); in caam_algapi_exit()
3702 struct caam_skcipher_alg *t_alg = driver_algs + i; in caam_algapi_exit() local
3704 if (t_alg->registered) in caam_algapi_exit()
3705 crypto_engine_unregister_skcipher(&t_alg->skcipher); in caam_algapi_exit()
3709 static void caam_skcipher_alg_init(struct caam_skcipher_alg *t_alg) in caam_skcipher_alg_init() argument
3711 struct skcipher_alg *alg = &t_alg->skcipher.base; in caam_skcipher_alg_init()
3723 static void caam_aead_alg_init(struct caam_aead_alg *t_alg) in caam_aead_alg_init() argument
3725 struct aead_alg *alg = &t_alg->aead.base; in caam_aead_alg_init()
3791 struct caam_skcipher_alg *t_alg = driver_algs + i; in caam_algapi_init() local
3792 u32 alg_sel = t_alg->caam.class1_alg_type & OP_ALG_ALGSEL_MASK; in caam_algapi_init()
3809 (t_alg->caam.class1_alg_type & OP_ALG_AAI_MASK) == in caam_algapi_init()
3813 caam_skcipher_alg_init(t_alg); in caam_algapi_init()
3815 err = crypto_engine_register_skcipher(&t_alg->skcipher); in caam_algapi_init()
3818 t_alg->skcipher.base.base.cra_driver_name); in caam_algapi_init()
3822 t_alg->registered = true; in caam_algapi_init()
3827 struct caam_aead_alg *t_alg = driver_aeads + i; in caam_algapi_init() local
3828 u32 c1_alg_sel = t_alg->caam.class1_alg_type & in caam_algapi_init()
3830 u32 c2_alg_sel = t_alg->caam.class2_alg_type & in caam_algapi_init()
3832 u32 alg_aai = t_alg->caam.class1_alg_type & OP_ALG_AAI_MASK; in caam_algapi_init()
3862 (!md_inst || t_alg->aead.base.maxauthsize > md_limit)) in caam_algapi_init()
3865 caam_aead_alg_init(t_alg); in caam_algapi_init()
3867 err = crypto_engine_register_aead(&t_alg->aead); in caam_algapi_init()
3870 t_alg->aead.base.base.cra_driver_name); in caam_algapi_init()
3874 t_alg->registered = true; in caam_algapi_init()