Home
last modified time | relevance | path

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

/linux/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.c698 c_ctx->fbtfm = crypto_alloc_sync_skcipher(alg, 0, in sec_skcipher_fbtfm_init()
700 if (IS_ERR(c_ctx->fbtfm)) { in sec_skcipher_fbtfm_init()
702 return PTR_ERR(c_ctx->fbtfm); in sec_skcipher_fbtfm_init()
746 if (ctx->c_ctx.fbtfm) in sec_skcipher_uninit()
747 crypto_free_sync_skcipher(ctx->c_ctx.fbtfm); in sec_skcipher_uninit()
861 if (c_ctx->fallback && c_ctx->fbtfm) { in sec_skcipher_setkey()
862 ret = crypto_sync_skcipher_setkey(c_ctx->fbtfm, key, keylen); in sec_skcipher_setkey()
2082 SYNC_SKCIPHER_REQUEST_ON_STACK(subreq, c_ctx->fbtfm); in sec_skcipher_soft_crypto()
2086 if (!c_ctx->fbtfm) { in sec_skcipher_soft_crypto()
2091 skcipher_request_set_sync_tfm(subreq, c_ctx->fbtfm); in sec_skcipher_soft_crypto()
H A Dsec.h113 struct crypto_sync_skcipher *fbtfm; member