Lines Matching refs:alg
24 static int crypto_kpp_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_kpp_report() argument
35 static int crypto_kpp_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_kpp_report() argument
41 static void crypto_kpp_show(struct seq_file *m, struct crypto_alg *alg)
44 static void crypto_kpp_show(struct seq_file *m, struct crypto_alg *alg) in crypto_kpp_show() argument
52 struct kpp_alg *alg = crypto_kpp_alg(kpp); in crypto_kpp_exit_tfm() local
54 alg->exit(kpp); in crypto_kpp_exit_tfm()
60 struct kpp_alg *alg = crypto_kpp_alg(kpp); in crypto_kpp_init_tfm() local
62 if (alg->exit) in crypto_kpp_init_tfm()
65 if (alg->init) in crypto_kpp_init_tfm()
66 return alg->init(kpp); in crypto_kpp_init_tfm()
90 static void kpp_prepare_alg(struct kpp_alg *alg) in kpp_prepare_alg() argument
92 struct crypto_alg *base = &alg->base; in kpp_prepare_alg()
99 int crypto_register_kpp(struct kpp_alg *alg) in crypto_register_kpp() argument
101 struct crypto_alg *base = &alg->base; in crypto_register_kpp()
103 kpp_prepare_alg(alg); in crypto_register_kpp()
108 void crypto_unregister_kpp(struct kpp_alg *alg) in crypto_unregister_kpp() argument
110 crypto_unregister_alg(&alg->base); in crypto_unregister_kpp()