Lines Matching refs:skcipher
655 struct crypto_skcipher *skcipher = __crypto_skcipher_cast(tfm); in crypto_skcipher_exit_tfm() local
656 struct skcipher_alg *alg = crypto_skcipher_alg(skcipher); in crypto_skcipher_exit_tfm()
658 alg->exit(skcipher); in crypto_skcipher_exit_tfm()
663 struct crypto_skcipher *skcipher = __crypto_skcipher_cast(tfm); in crypto_skcipher_init_tfm() local
664 struct skcipher_alg *alg = crypto_skcipher_alg(skcipher); in crypto_skcipher_init_tfm()
666 skcipher_set_needkey(skcipher); in crypto_skcipher_init_tfm()
669 skcipher->base.exit = crypto_skcipher_exit_tfm; in crypto_skcipher_init_tfm()
672 return alg->init(skcipher); in crypto_skcipher_init_tfm()
679 struct skcipher_instance *skcipher = in crypto_skcipher_free_instance() local
682 skcipher->free(skcipher); in crypto_skcipher_free_instance()
689 struct skcipher_alg *skcipher = container_of(alg, struct skcipher_alg, in crypto_skcipher_show() local
696 seq_printf(m, "min keysize : %u\n", skcipher->min_keysize); in crypto_skcipher_show()
697 seq_printf(m, "max keysize : %u\n", skcipher->max_keysize); in crypto_skcipher_show()
698 seq_printf(m, "ivsize : %u\n", skcipher->ivsize); in crypto_skcipher_show()
699 seq_printf(m, "chunksize : %u\n", skcipher->chunksize); in crypto_skcipher_show()
700 seq_printf(m, "walksize : %u\n", skcipher->walksize); in crypto_skcipher_show()
707 struct skcipher_alg *skcipher = container_of(alg, struct skcipher_alg, in crypto_skcipher_report() local
716 rblkcipher.min_keysize = skcipher->min_keysize; in crypto_skcipher_report()
717 rblkcipher.max_keysize = skcipher->max_keysize; in crypto_skcipher_report()
718 rblkcipher.ivsize = skcipher->ivsize; in crypto_skcipher_report()