[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200716130555.GA32006@gondor.apana.org.au>
Date: Thu, 16 Jul 2020 23:05:55 +1000
From: Herbert Xu <herbert@...dor.apana.org.au>
To: "Van Leeuwen, Pascal" <pvanleeuwen@...bus.com>
Cc: Horia Geantă <horia.geanta@....com>,
Iuliana Prodan <iuliana.prodan@....com>,
Aymen Sghaier <aymen.sghaier@....com>,
"David S. Miller" <davem@...emloft.net>,
Silvano Di Ninno <silvano.dininno@....com>,
Franck Lenormand <franck.lenormand@....com>,
"linux-crypto@...r.kernel.org" <linux-crypto@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
dl-linux-imx <linux-imx@....com>
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@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists