Creating RSA key from given prime numbers
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? __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]
Re: Creating RSA key from given prime numbers
Hello, [EMAIL PROTECTED] wrote on 07/17/2008 10:17:14 PM: 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? From command line (openssl executable) this is not possible. Best regards, -- Marek Marcola [EMAIL PROTECTED] __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]
Re: Creating RSA key from given prime numbers
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 Listopenssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]