Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/crypto/qat/qat_common/
Dqat_algs.c90 struct crypto_skcipher *ftfm; member
1158 ret = crypto_skcipher_setkey(ctx->ftfm, key, keylen); in qat_alg_skcipher_xts_setkey()
1257 skcipher_request_set_tfm(nreq, ctx->ftfm); in qat_alg_skcipher_xts_encrypt()
1324 skcipher_request_set_tfm(nreq, ctx->ftfm); in qat_alg_skcipher_xts_decrypt()
1396 ctx->ftfm = crypto_alloc_skcipher("xts(aes)", 0, in qat_alg_skcipher_init_xts_tfm()
1398 if (IS_ERR(ctx->ftfm)) in qat_alg_skcipher_init_xts_tfm()
1399 return PTR_ERR(ctx->ftfm); in qat_alg_skcipher_init_xts_tfm()
1403 crypto_free_skcipher(ctx->ftfm); in qat_alg_skcipher_init_xts_tfm()
1409 crypto_skcipher_reqsize(ctx->ftfm)); in qat_alg_skcipher_init_xts_tfm()
1446 if (ctx->ftfm) in qat_alg_skcipher_exit_xts_tfm()
[all …]