Lines Matching refs:tfm
27 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sl3516_ce_need_fallback() local
28 struct sl3516_ce_cipher_tfm_ctx *op = crypto_skcipher_ctx(tfm); in sl3516_ce_need_fallback()
105 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sl3516_ce_cipher_fallback() local
106 struct sl3516_ce_cipher_tfm_ctx *op = crypto_skcipher_ctx(tfm); in sl3516_ce_cipher_fallback()
108 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sl3516_ce_cipher_fallback()
129 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sl3516_ce_cipher() local
130 struct sl3516_ce_cipher_tfm_ctx *op = crypto_skcipher_ctx(tfm); in sl3516_ce_cipher()
133 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sl3516_ce_cipher()
146 crypto_tfm_alg_name(areq->base.tfm), in sl3516_ce_cipher()
148 rctx->op_dir, areq->iv, crypto_skcipher_ivsize(tfm), in sl3516_ce_cipher()
247 err = sl3516_ce_run_task(ce, rctx, crypto_tfm_alg_name(areq->base.tfm)); in sl3516_ce_cipher()
280 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sl3516_ce_skdecrypt() local
281 struct sl3516_ce_cipher_tfm_ctx *op = crypto_skcipher_ctx(tfm); in sl3516_ce_skdecrypt()
298 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sl3516_ce_skencrypt() local
299 struct sl3516_ce_cipher_tfm_ctx *op = crypto_skcipher_ctx(tfm); in sl3516_ce_skencrypt()
314 int sl3516_ce_cipher_init(struct crypto_tfm *tfm) in sl3516_ce_cipher_init() argument
316 struct sl3516_ce_cipher_tfm_ctx *op = crypto_tfm_ctx(tfm); in sl3516_ce_cipher_init()
318 const char *name = crypto_tfm_alg_name(tfm); in sl3516_ce_cipher_init()
319 struct crypto_skcipher *sktfm = __crypto_skcipher_cast(tfm); in sl3516_ce_cipher_init()
353 void sl3516_ce_cipher_exit(struct crypto_tfm *tfm) in sl3516_ce_cipher_exit() argument
355 struct sl3516_ce_cipher_tfm_ctx *op = crypto_tfm_ctx(tfm); in sl3516_ce_cipher_exit()
362 int sl3516_ce_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, in sl3516_ce_aes_setkey() argument
365 struct sl3516_ce_cipher_tfm_ctx *op = crypto_skcipher_ctx(tfm); in sl3516_ce_aes_setkey()
386 crypto_skcipher_set_flags(op->fallback_tfm, tfm->base.crt_flags & CRYPTO_TFM_REQ_MASK); in sl3516_ce_aes_setkey()