Messages in this thread | | | Subject | Re: [PATCH 2/2] crypto: caam - support tagged keys for skcipher algorithms | From | Horia Geantă <> | Date | Thu, 16 Jul 2020 15:07:50 +0300 |
| |
On 7/16/2020 2:53 PM, Herbert Xu wrote: > On Thu, Jul 16, 2020 at 01:35:51PM +0300, Horia Geantă wrote: >> >> This patch set adds support only for some AES-based algorithms. >> However, going further the plan is to add all keyed algorithms >> supported by caam. >> >> Thus I wouldn't tie the name to AES. > > Yes but it's still exactly the same underlying feature as paes. > So I don't want to have two ways of doing the same thing in the > Crypto API. > So instead of tk(cbc(aes)) use paes(cbc(aes) or cbc(paes)?
How would this work for hmac(sha512), paes(hmac(sha512)) or hmac(psha512), or even phmac(sha512)?
Thanks, Horia
| |