Lines Matching refs:skcipher

720 	struct crypto_skcipher *skcipher = __crypto_skcipher_cast(tfm);  in crypto_skcipher_exit_tfm()  local
721 struct skcipher_alg *alg = crypto_skcipher_alg(skcipher); in crypto_skcipher_exit_tfm()
723 alg->exit(skcipher); in crypto_skcipher_exit_tfm()
728 struct crypto_skcipher *skcipher = __crypto_skcipher_cast(tfm); in crypto_skcipher_init_tfm() local
729 struct skcipher_alg *alg = crypto_skcipher_alg(skcipher); in crypto_skcipher_init_tfm()
731 skcipher_set_needkey(skcipher); in crypto_skcipher_init_tfm()
734 unsigned am = crypto_skcipher_alignmask(skcipher); in crypto_skcipher_init_tfm()
738 reqsize += crypto_skcipher_ivsize(skcipher); in crypto_skcipher_init_tfm()
739 reqsize += crypto_skcipher_statesize(skcipher); in crypto_skcipher_init_tfm()
740 crypto_skcipher_set_reqsize(skcipher, reqsize); in crypto_skcipher_init_tfm()
746 skcipher->base.exit = crypto_skcipher_exit_tfm; in crypto_skcipher_init_tfm()
749 return alg->init(skcipher); in crypto_skcipher_init_tfm()
764 struct skcipher_instance *skcipher = in crypto_skcipher_free_instance() local
767 skcipher->free(skcipher); in crypto_skcipher_free_instance()
774 struct skcipher_alg *skcipher = __crypto_skcipher_alg(alg); in crypto_skcipher_show() local
780 seq_printf(m, "min keysize : %u\n", skcipher->min_keysize); in crypto_skcipher_show()
781 seq_printf(m, "max keysize : %u\n", skcipher->max_keysize); in crypto_skcipher_show()
782 seq_printf(m, "ivsize : %u\n", skcipher->ivsize); in crypto_skcipher_show()
783 seq_printf(m, "chunksize : %u\n", skcipher->chunksize); in crypto_skcipher_show()
784 seq_printf(m, "walksize : %u\n", skcipher->walksize); in crypto_skcipher_show()
785 seq_printf(m, "statesize : %u\n", skcipher->statesize); in crypto_skcipher_show()
791 struct skcipher_alg *skcipher = __crypto_skcipher_alg(alg); in crypto_skcipher_report() local
800 rblkcipher.min_keysize = skcipher->min_keysize; in crypto_skcipher_report()
801 rblkcipher.max_keysize = skcipher->max_keysize; in crypto_skcipher_report()
802 rblkcipher.ivsize = skcipher->ivsize; in crypto_skcipher_report()