Lines Matching refs:skcipher

272 	struct crypto_skcipher *skcipher = __crypto_skcipher_cast(tfm);  in crypto_skcipher_exit_tfm()  local
273 struct skcipher_alg *alg = crypto_skcipher_alg(skcipher); in crypto_skcipher_exit_tfm()
275 alg->exit(skcipher); in crypto_skcipher_exit_tfm()
280 struct crypto_skcipher *skcipher = __crypto_skcipher_cast(tfm); in crypto_skcipher_init_tfm() local
281 struct skcipher_alg *alg = crypto_skcipher_alg(skcipher); in crypto_skcipher_init_tfm()
283 skcipher_set_needkey(skcipher); in crypto_skcipher_init_tfm()
286 unsigned am = crypto_skcipher_alignmask(skcipher); in crypto_skcipher_init_tfm()
290 reqsize += crypto_skcipher_ivsize(skcipher); in crypto_skcipher_init_tfm()
291 reqsize += crypto_skcipher_statesize(skcipher); in crypto_skcipher_init_tfm()
292 crypto_skcipher_set_reqsize(skcipher, reqsize); in crypto_skcipher_init_tfm()
298 skcipher->base.exit = crypto_skcipher_exit_tfm; in crypto_skcipher_init_tfm()
301 return alg->init(skcipher); in crypto_skcipher_init_tfm()
316 struct skcipher_instance *skcipher = in crypto_skcipher_free_instance() local
319 skcipher->free(skcipher); in crypto_skcipher_free_instance()
326 struct skcipher_alg *skcipher = __crypto_skcipher_alg(alg); in crypto_skcipher_show() local
332 seq_printf(m, "min keysize : %u\n", skcipher->min_keysize); in crypto_skcipher_show()
333 seq_printf(m, "max keysize : %u\n", skcipher->max_keysize); in crypto_skcipher_show()
334 seq_printf(m, "ivsize : %u\n", skcipher->ivsize); in crypto_skcipher_show()
335 seq_printf(m, "chunksize : %u\n", skcipher->chunksize); in crypto_skcipher_show()
336 seq_printf(m, "walksize : %u\n", skcipher->walksize); in crypto_skcipher_show()
337 seq_printf(m, "statesize : %u\n", skcipher->statesize); in crypto_skcipher_show()
343 struct skcipher_alg *skcipher = __crypto_skcipher_alg(alg); in crypto_skcipher_report() local
352 rblkcipher.min_keysize = skcipher->min_keysize; in crypto_skcipher_report()
353 rblkcipher.max_keysize = skcipher->max_keysize; in crypto_skcipher_report()
354 rblkcipher.ivsize = skcipher->ivsize; in crypto_skcipher_report()