Home
last modified time | relevance | path

Searched refs:ftfm (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dqat_algs.c91 struct crypto_skcipher *ftfm; member
977 ret = crypto_skcipher_setkey(ctx->ftfm, key, keylen); in qat_alg_skcipher_xts_setkey()
1077 skcipher_request_set_tfm(nreq, ctx->ftfm); in qat_alg_skcipher_xts_encrypt()
1145 skcipher_request_set_tfm(nreq, ctx->ftfm); in qat_alg_skcipher_xts_decrypt()
1217 ctx->ftfm = crypto_alloc_skcipher("xts(aes)", 0, in qat_alg_skcipher_init_xts_tfm()
1219 if (IS_ERR(ctx->ftfm)) in qat_alg_skcipher_init_xts_tfm()
1220 return PTR_ERR(ctx->ftfm); in qat_alg_skcipher_init_xts_tfm()
1224 crypto_free_skcipher(ctx->ftfm); in qat_alg_skcipher_init_xts_tfm()
1230 crypto_skcipher_reqsize(ctx->ftfm)); in qat_alg_skcipher_init_xts_tfm()
1267 if (ctx->ftfm) in qat_alg_skcipher_exit_xts_tfm()
[all …]