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@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html