Lines Matching refs:akcipher
46 struct crypto_akcipher *akcipher = __crypto_akcipher_tfm(tfm); in crypto_akcipher_exit_tfm() local
47 struct akcipher_alg *alg = crypto_akcipher_alg(akcipher); in crypto_akcipher_exit_tfm()
49 alg->exit(akcipher); in crypto_akcipher_exit_tfm()
54 struct crypto_akcipher *akcipher = __crypto_akcipher_tfm(tfm); in crypto_akcipher_init_tfm() local
55 struct akcipher_alg *alg = crypto_akcipher_alg(akcipher); in crypto_akcipher_init_tfm()
58 akcipher->base.exit = crypto_akcipher_exit_tfm; in crypto_akcipher_init_tfm()
61 return alg->init(akcipher); in crypto_akcipher_init_tfm()
68 struct akcipher_instance *akcipher = akcipher_instance(inst); in crypto_akcipher_free_instance() local
70 akcipher->free(akcipher); in crypto_akcipher_free_instance()
262 struct crypto_akcipher *akcipher; in crypto_init_akcipher_ops_sig() local
267 akcipher = crypto_create_tfm(calg, &crypto_akcipher_type); in crypto_init_akcipher_ops_sig()
268 if (IS_ERR(akcipher)) { in crypto_init_akcipher_ops_sig()
270 return PTR_ERR(akcipher); in crypto_init_akcipher_ops_sig()
273 *ctx = akcipher; in crypto_init_akcipher_ops_sig()