Searched refs:ftfm (Results 1 – 1 of 1) sorted by relevance
91 struct crypto_skcipher *ftfm; member1015 ret = crypto_skcipher_setkey(ctx->ftfm, key, keylen); in qat_alg_skcipher_xts_setkey()1101 skcipher_request_set_tfm(nreq, ctx->ftfm); in qat_alg_skcipher_xts_encrypt()1179 skcipher_request_set_tfm(nreq, ctx->ftfm); in qat_alg_skcipher_xts_decrypt()1251 ctx->ftfm = crypto_alloc_skcipher("xts(aes)", 0, in qat_alg_skcipher_init_xts_tfm()1253 if (IS_ERR(ctx->ftfm)) in qat_alg_skcipher_init_xts_tfm()1254 return PTR_ERR(ctx->ftfm); in qat_alg_skcipher_init_xts_tfm()1258 crypto_skcipher_reqsize(ctx->ftfm)); in qat_alg_skcipher_init_xts_tfm()1295 if (ctx->ftfm) in qat_alg_skcipher_exit_xts_tfm()1296 crypto_free_skcipher(ctx->ftfm); in qat_alg_skcipher_exit_xts_tfm()