Lines Matching refs:alg
21 struct sk_buff *skb, struct crypto_alg *alg) in crypto_kpp_report() argument
32 static void crypto_kpp_show(struct seq_file *m, struct crypto_alg *alg)
35 static void crypto_kpp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_kpp_show() argument
43 struct kpp_alg *alg = crypto_kpp_alg(kpp); in crypto_kpp_exit_tfm() local
45 alg->exit(kpp); in crypto_kpp_exit_tfm()
51 struct kpp_alg *alg = crypto_kpp_alg(kpp); in crypto_kpp_init_tfm() local
53 if (alg->exit) in crypto_kpp_init_tfm()
56 if (alg->init) in crypto_kpp_init_tfm()
57 return alg->init(kpp); in crypto_kpp_init_tfm()
106 static void kpp_prepare_alg(struct kpp_alg *alg) in kpp_prepare_alg() argument
108 struct crypto_alg *base = &alg->base; in kpp_prepare_alg()
115 int crypto_register_kpp(struct kpp_alg *alg) in crypto_register_kpp() argument
117 struct crypto_alg *base = &alg->base; in crypto_register_kpp()
119 kpp_prepare_alg(alg); in crypto_register_kpp()
124 void crypto_unregister_kpp(struct kpp_alg *alg) in crypto_unregister_kpp() argument
126 crypto_unregister_alg(&alg->base); in crypto_unregister_kpp()
136 kpp_prepare_alg(&inst->alg); in kpp_register_instance()