Messages in this thread | | | Date | Tue, 16 Jun 2015 11:25:11 +0800 | From | Herbert Xu <> | Subject | Re: [PATCH RFC v5 2/4] crypto: add PKE API |
| |
On Mon, Jun 15, 2015 at 07:41:14PM -0700, Tadeusz Struk wrote: > > User can supply only public key and invoke encrypt() or verify() without any problem. > When the user invokes decrypt() or sign() then it will work only after the setkey was > given a private key. This is checked in the actual operation.
The current parse_key function requires all three number to be present, n, e, and d, no?
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
| |