Assuming C, the way I do it is:
- RSA_new() a key token
- Convert the n,e,d from binary (unsigned char) arrays to BIGNUMs using
bin2bn
- assign the n,e,d BIGNUM's to the RSA structure
Use the key token.
RSA_free() when done.
owner-openssl-us...@openssl.org wrote on 11/25/2010 07:32:45 AM:
>
Hi,
I have developed a while ago a tool that uses OpenSSL in order to
perform such conversions (between SFM format and CRT format).
I have put it under SourceForge (source and binary):
http://rsaconverter.sourceforge.net/
The binary is for Windows but the sources (librsaconverter.c and
librs
On Thu, Nov 25, 2010, Chir wrote:
>
> Hi guys,
>
> i want to create a RSA structure to pass this to RSA_private_decrypt(). I am
> not generating keys i am getting keys from second party. i have got N, D, E
> but i dnt know how to generate p, q required to fill the RSA structure.
> Please help.
>
Hi guys,
i want to create a RSA structure to pass this to RSA_private_decrypt(). I am
not generating keys i am getting keys from second party. i have got N, D, E
but i dnt know how to generate p, q required to fill the RSA structure.
Please help.
Thanks
Chir
--
View this message in context:
h