Didier Stevens пишет:
For educational purposes, I want to use openssl to create an RSA key
with prime numbers I provide.

Is this possible with an openssl command, or do I have to adapt the source code?


You can write a little program in C using OpenSSL library.
You should know p, q and e numbers and have to calculate some other numbers: n, d, dmp1, dmq1, iqmp.
Example code is in /crypto/rsa/rsa_gen.c file.

best regards,
Andrey Koltsov

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to