Lines Matching defs:alg
24 static int crypto_kpp_report(struct sk_buff *skb, struct crypto_alg *alg)
35 static int crypto_kpp_report(struct sk_buff *skb, struct crypto_alg *alg)
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)
52 struct kpp_alg *alg = crypto_kpp_alg(kpp);
54 alg->exit(kpp);
60 struct kpp_alg *alg = crypto_kpp_alg(kpp);
62 if (alg->exit)
65 if (alg->init)
66 return alg->init(kpp);
90 static void kpp_prepare_alg(struct kpp_alg *alg)
92 struct crypto_alg *base = &alg->base;
99 int crypto_register_kpp(struct kpp_alg *alg)
101 struct crypto_alg *base = &alg->base;
103 kpp_prepare_alg(alg);
108 void crypto_unregister_kpp(struct kpp_alg *alg)
110 crypto_unregister_alg(&alg->base);