Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/crypto/hisilicon/sec2/
Dsec.h112 struct crypto_sync_skcipher *fbtfm; member
Dsec_crypto.c647 c_ctx->fbtfm = crypto_alloc_sync_skcipher(alg, 0, in sec_skcipher_fbtfm_init()
649 if (IS_ERR(c_ctx->fbtfm)) { in sec_skcipher_fbtfm_init()
651 return PTR_ERR(c_ctx->fbtfm); in sec_skcipher_fbtfm_init()
695 if (ctx->c_ctx.fbtfm) in sec_skcipher_uninit()
696 crypto_free_sync_skcipher(ctx->c_ctx.fbtfm); in sec_skcipher_uninit()
812 ret = crypto_sync_skcipher_setkey(c_ctx->fbtfm, key, keylen); in sec_skcipher_setkey()
2038 SYNC_SKCIPHER_REQUEST_ON_STACK(subreq, c_ctx->fbtfm); in sec_skcipher_soft_crypto()
2040 if (!c_ctx->fbtfm) { in sec_skcipher_soft_crypto()
2045 skcipher_request_set_sync_tfm(subreq, c_ctx->fbtfm); in sec_skcipher_soft_crypto()