Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/crypto/inside-secure/
Dsafexcel_hash.c36 struct shash_desc *shdesc; member
2762 ctx->shdesc = kmalloc(sizeof(*ctx->shdesc) + in safexcel_hmac_sha3_cra_init()
2764 if (!ctx->shdesc) { in safexcel_hmac_sha3_cra_init()
2768 ctx->shdesc->tfm = ctx->shpre; in safexcel_hmac_sha3_cra_init()
2778 kfree(ctx->shdesc); in safexcel_hmac_sha3_cra_exit()
2793 ret = crypto_shash_digest(ctx->shdesc, key, keylen, in safexcel_hmac_sha3_setkey()