Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/drivers/crypto/inside-secure/
H A Dsafexcel_hash.c36 struct shash_desc *shdesc; member
2737 ctx->shdesc = kmalloc(sizeof(*ctx->shdesc) + in safexcel_hmac_sha3_cra_init()
2739 if (!ctx->shdesc) { in safexcel_hmac_sha3_cra_init()
2743 ctx->shdesc->tfm = ctx->shpre; in safexcel_hmac_sha3_cra_init()
2753 kfree(ctx->shdesc); in safexcel_hmac_sha3_cra_exit()
2768 ret = crypto_shash_digest(ctx->shdesc, key, keylen, in safexcel_hmac_sha3_setkey()
/kernel/linux/linux-5.10/drivers/crypto/inside-secure/
H A 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()

Completed in 8 milliseconds