Messages in this thread | | | Date | Thu, 16 Jul 2020 23:05:55 +1000 | From | Herbert Xu <> | Subject | Re: [PATCH 2/2] crypto: caam - support tagged keys for skcipher algorithms |
| |
On Thu, Jul 16, 2020 at 12:24:49PM +0000, Van Leeuwen, Pascal wrote: > > That would make no sense though, as sha512 does not involve any keys ... > It's the HMAC part that needs the keys. So phmac(sha512) then?
You're right, that would be phmac(...).
But the point is we don't want each driver to do its own thing so whatever scheme we pick should be applicable to all drivers.
Thanks, -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |