Re: [PATCH v3 1/3] crypto: ti - Add support for SHA224/256/384/512 in DTHEv2 driver
From: Herbert Xu
Date: Tue May 19 2026 - 00:25:20 EST
On Mon, May 18, 2026 at 07:05:04PM +0530, T Pratham wrote:
>
> I fixed the above and will send a new patch. But I had a question.
> What is the expected export/import format for HMAC algorithms? Can't
> seem to find a struct similar to sha512_state/sha256_state for hmac.
For all new drivers the export format should match that of the
standard software implementation.
For hmac, the export format is that of the underlying hash, with
the caveat that upon initialisation the ipad is already hashed
into the state.
Thanks,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt