Lines Matching refs:alg
27 static int crypto_acomp_report(struct sk_buff *skb, struct crypto_alg *alg)
38 static int crypto_acomp_report(struct sk_buff *skb, struct crypto_alg *alg)
44 static void crypto_acomp_show(struct seq_file *m, struct crypto_alg *alg)
47 static void crypto_acomp_show(struct seq_file *m, struct crypto_alg *alg)
55 struct acomp_alg *alg = crypto_acomp_alg(acomp);
57 alg->exit(acomp);
63 struct acomp_alg *alg = crypto_acomp_alg(acomp);
68 acomp->compress = alg->compress;
69 acomp->decompress = alg->decompress;
70 acomp->dst_free = alg->dst_free;
71 acomp->reqsize = alg->reqsize;
73 if (alg->exit)
76 if (alg->init)
77 return alg->init(acomp);
82 static unsigned int crypto_acomp_extsize(struct crypto_alg *alg)
84 int extsize = crypto_alg_extsize(alg);
86 if (alg->cra_type != &crypto_acomp_type)
150 int crypto_register_acomp(struct acomp_alg *alg)
152 struct crypto_alg *base = &alg->base;
162 void crypto_unregister_acomp(struct acomp_alg *alg)
164 crypto_unregister_alg(&alg->base);