Lines Matching refs:alg
21 struct sk_buff *skb, struct crypto_alg *alg)
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)
43 struct kpp_alg *alg = crypto_kpp_alg(kpp);
45 alg->exit(kpp);
51 struct kpp_alg *alg = crypto_kpp_alg(kpp);
53 if (alg->exit)
56 if (alg->init)
57 return alg->init(kpp);
70 struct sk_buff *skb, struct crypto_alg *alg)
72 struct kpp_alg *kpp = __crypto_kpp_alg(alg);
132 static void kpp_prepare_alg(struct kpp_alg *alg)
134 struct crypto_istat_kpp *istat = kpp_get_stat(alg);
135 struct crypto_alg *base = &alg->base;
145 int crypto_register_kpp(struct kpp_alg *alg)
147 struct crypto_alg *base = &alg->base;
149 kpp_prepare_alg(alg);
154 void crypto_unregister_kpp(struct kpp_alg *alg)
156 crypto_unregister_alg(&alg->base);
166 kpp_prepare_alg(&inst->alg);