Lines Matching refs:tfm
108 static int nitrox_skcipher_init(struct crypto_skcipher *tfm) in nitrox_skcipher_init() argument
110 struct nitrox_crypto_ctx *nctx = crypto_skcipher_ctx(tfm); in nitrox_skcipher_init()
129 crypto_skcipher_set_reqsize(tfm, crypto_skcipher_reqsize(tfm) + in nitrox_skcipher_init()
134 static int nitrox_cbc_init(struct crypto_skcipher *tfm) in nitrox_cbc_init() argument
137 struct nitrox_crypto_ctx *nctx = crypto_skcipher_ctx(tfm); in nitrox_cbc_init()
139 err = nitrox_skcipher_init(tfm); in nitrox_cbc_init()
147 static void nitrox_skcipher_exit(struct crypto_skcipher *tfm) in nitrox_skcipher_exit() argument
149 struct nitrox_crypto_ctx *nctx = crypto_skcipher_ctx(tfm); in nitrox_skcipher_exit()
169 struct crypto_tfm *tfm = crypto_skcipher_tfm(cipher); in nitrox_skcipher_setkey() local
170 struct nitrox_crypto_ctx *nctx = crypto_tfm_ctx(tfm); in nitrox_skcipher_setkey()
176 name = crypto_tfm_alg_name(tfm); in nitrox_skcipher_setkey()