Messages in this thread | | | Date | Thu, 11 Jul 2019 19:10:11 +0800 | From | Herbert Xu <> | Subject | Re: [RFC PATCH 4/5] crypto: Adds user space interface for ALG_SET_KEY_TYPE |
| |
On Thu, Jul 11, 2019 at 09:25:38AM +0000, Kalyani Akula wrote: > > How about using same interface to distinguish between the User supplied key Vs HW key selection based on key_len parameter.
As long as you use the paes name instead of aes you can do whatever you want with the key encoding.
Cheers, -- 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
| |