On 8/06/2014 8:25 AM, Jeffrey Walton wrote: > I've got n,e,d and loaded them into a RSA*. When I call RSA_check_key, > I get an 0x407b093 error: > > $ openssl errstr 0x407b093 > error:0407B093:rsa routines:RSA_check_key:value missing > > How do I instruct he library to solve for the missing parameters so > the key can be verified?
What are you actually trying to do there in terms of your actual context of usage? RSA_check_key is about checking that an RSA private key component values are mathematically consistent with respect to each other - i.e. it is about checking *all *the components are correct. It isn't about doing anything other than that and without n,e,d *and p and q* there isn't much it is meant to do. Why are you missing p and q in your particular context? Thanks, Tim.