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()
70 struct sk_buff *skb, struct crypto_alg *alg) in crypto_kpp_report_stat() argument
72 struct kpp_alg *kpp = __crypto_kpp_alg(alg); in crypto_kpp_report_stat()
132 static void kpp_prepare_alg(struct kpp_alg *alg) in kpp_prepare_alg() argument
134 struct crypto_istat_kpp *istat = kpp_get_stat(alg); in kpp_prepare_alg()
135 struct crypto_alg *base = &alg->base; in kpp_prepare_alg()
145 int crypto_register_kpp(struct kpp_alg *alg) in crypto_register_kpp() argument
147 struct crypto_alg *base = &alg->base; in crypto_register_kpp()
149 kpp_prepare_alg(alg); in crypto_register_kpp()
154 void crypto_unregister_kpp(struct kpp_alg *alg) in crypto_unregister_kpp() argument
156 crypto_unregister_alg(&alg->base); in crypto_unregister_kpp()
166 kpp_prepare_alg(&inst->alg); in kpp_register_instance()