Lines Matching refs:alg
66 static unsigned int seedsize(struct crypto_alg *alg) in seedsize() argument
68 struct rng_alg *ralg = container_of(alg, struct rng_alg, base); in seedsize()
74 static int crypto_rng_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_rng_report() argument
80 rrng.seedsize = seedsize(alg); in crypto_rng_report()
91 static int crypto_rng_report(struct sk_buff *skb, struct crypto_alg *alg) in crypto_rng_report() argument
97 static void crypto_rng_show(struct seq_file *m, struct crypto_alg *alg)
99 static void crypto_rng_show(struct seq_file *m, struct crypto_alg *alg) in crypto_rng_show() argument
102 seq_printf(m, "seedsize : %u\n", seedsize(alg)); in crypto_rng_show()
185 int crypto_register_rng(struct rng_alg *alg) in crypto_register_rng() argument
187 struct crypto_alg *base = &alg->base; in crypto_register_rng()
189 if (alg->seedsize > PAGE_SIZE / 8) in crypto_register_rng()
200 void crypto_unregister_rng(struct rng_alg *alg) in crypto_unregister_rng() argument
202 crypto_unregister_alg(&alg->base); in crypto_unregister_rng()