Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/crypto/inside-secure/
Dsafexcel_hash.c34 struct shash_desc *shdesc; member
2781 ctx->shdesc = kmalloc(sizeof(*ctx->shdesc) + in safexcel_hmac_sha3_cra_init()
2783 if (!ctx->shdesc) { in safexcel_hmac_sha3_cra_init()
2787 ctx->shdesc->tfm = ctx->shpre; in safexcel_hmac_sha3_cra_init()
2797 kfree(ctx->shdesc); in safexcel_hmac_sha3_cra_exit()
2812 ret = crypto_shash_digest(ctx->shdesc, key, keylen, in safexcel_hmac_sha3_setkey()