• Home
  • Raw
  • Download

Lines Matching refs:tfm

23 	struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq);  in sl3516_ce_need_fallback()  local
24 struct sl3516_ce_cipher_tfm_ctx *op = crypto_skcipher_ctx(tfm); in sl3516_ce_need_fallback()
101 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sl3516_ce_cipher_fallback() local
102 struct sl3516_ce_cipher_tfm_ctx *op = crypto_skcipher_ctx(tfm); in sl3516_ce_cipher_fallback()
104 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sl3516_ce_cipher_fallback()
125 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sl3516_ce_cipher() local
126 struct sl3516_ce_cipher_tfm_ctx *op = crypto_skcipher_ctx(tfm); in sl3516_ce_cipher()
129 struct skcipher_alg *alg = crypto_skcipher_alg(tfm); in sl3516_ce_cipher()
142 crypto_tfm_alg_name(areq->base.tfm), in sl3516_ce_cipher()
144 rctx->op_dir, areq->iv, crypto_skcipher_ivsize(tfm), in sl3516_ce_cipher()
243 err = sl3516_ce_run_task(ce, rctx, crypto_tfm_alg_name(areq->base.tfm)); in sl3516_ce_cipher()
276 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sl3516_ce_skdecrypt() local
277 struct sl3516_ce_cipher_tfm_ctx *op = crypto_skcipher_ctx(tfm); in sl3516_ce_skdecrypt()
294 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sl3516_ce_skencrypt() local
295 struct sl3516_ce_cipher_tfm_ctx *op = crypto_skcipher_ctx(tfm); in sl3516_ce_skencrypt()
310 int sl3516_ce_cipher_init(struct crypto_tfm *tfm) in sl3516_ce_cipher_init() argument
312 struct sl3516_ce_cipher_tfm_ctx *op = crypto_tfm_ctx(tfm); in sl3516_ce_cipher_init()
314 const char *name = crypto_tfm_alg_name(tfm); in sl3516_ce_cipher_init()
315 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()