Messages in this thread | | | Date | Mon, 15 Jun 2015 19:55:49 -0700 | From | Tadeusz Struk <> | Subject | Re: [PATCH RFC v5 2/4] crypto: add PKE API |
| |
On 06/15/2015 07:50 PM, Herbert Xu wrote: > If you want to keep the helper generic what you can do is have > it take struct rsa_key instead of struct crypto_ablkcipher.
Ok I'll do it that way.
> > It definitely should just be an optional helper as opposed to > a required part of crypto_akcipher since you could have a piece > of hardware that takes the encoded key directly in which case > you wouldn't need the helper at all.
Oh yes, it is definitely optional. Thanks
| |