Lines Matching refs:alg
27 static int crypto_akcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_akcipher_report() argument
42 static int crypto_akcipher_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_akcipher_report() argument
48 static void crypto_akcipher_show(struct seq_file *m, struct crypto_alg *alg)
51 static void crypto_akcipher_show(struct seq_file *m, struct crypto_alg *alg) in crypto_akcipher_show() argument
59 struct akcipher_alg *alg = crypto_akcipher_alg(akcipher); in crypto_akcipher_exit_tfm() local
61 alg->exit(akcipher); in crypto_akcipher_exit_tfm()
67 struct akcipher_alg *alg = crypto_akcipher_alg(akcipher); in crypto_akcipher_init_tfm() local
69 if (alg->exit) in crypto_akcipher_init_tfm()
72 if (alg->init) in crypto_akcipher_init_tfm()
73 return alg->init(akcipher); in crypto_akcipher_init_tfm()
98 int crypto_register_akcipher(struct akcipher_alg *alg) in crypto_register_akcipher() argument
100 struct crypto_alg *base = &alg->base; in crypto_register_akcipher()
109 void crypto_unregister_akcipher(struct akcipher_alg *alg) in crypto_unregister_akcipher() argument
111 crypto_unregister_alg(&alg->base); in crypto_unregister_akcipher()