Lines Matching refs:skcipher

18 #include "skcipher.h"
164 struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req);
165 struct crypto_lskcipher **ctx = crypto_skcipher_ctx(skcipher);
174 ivs = PTR_ALIGN(ivs, crypto_skcipher_alignmask(skcipher) + 1);
203 struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req);
204 struct crypto_lskcipher **ctx = crypto_skcipher_ctx(skcipher);
212 struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req);
213 struct crypto_lskcipher **ctx = crypto_skcipher_ctx(skcipher);
221 struct crypto_lskcipher *skcipher = __crypto_lskcipher_cast(tfm);
222 struct lskcipher_alg *alg = crypto_lskcipher_alg(skcipher);
224 alg->exit(skcipher);
229 struct crypto_lskcipher *skcipher = __crypto_lskcipher_cast(tfm);
230 struct lskcipher_alg *alg = crypto_lskcipher_alg(skcipher);
233 skcipher->base.exit = crypto_lskcipher_exit_tfm;
236 return alg->init(skcipher);
243 struct lskcipher_instance *skcipher =
246 skcipher->free(skcipher);
252 struct lskcipher_alg *skcipher = __crypto_lskcipher_alg(alg);
256 seq_printf(m, "min keysize : %u\n", skcipher->co.min_keysize);
257 seq_printf(m, "max keysize : %u\n", skcipher->co.max_keysize);
258 seq_printf(m, "ivsize : %u\n", skcipher->co.ivsize);
259 seq_printf(m, "chunksize : %u\n", skcipher->co.chunksize);
260 seq_printf(m, "statesize : %u\n", skcipher->co.statesize);
266 struct lskcipher_alg *skcipher = __crypto_lskcipher_alg(alg);
275 rblkcipher.min_keysize = skcipher->co.min_keysize;
276 rblkcipher.max_keysize = skcipher->co.max_keysize;
277 rblkcipher.ivsize = skcipher->co.ivsize;
310 struct crypto_lskcipher *skcipher;
315 skcipher = crypto_create_tfm(calg, &crypto_lskcipher_type);
316 if (IS_ERR(skcipher)) {
318 return PTR_ERR(skcipher);
321 *ctx = skcipher;