This is a discussion on looking for information on generating RSA key - Openssl ; This is a multipart message in MIME format. --=_alternative 007021038525739F_= Content-Type: text/plain; charset="US-ASCII" Hello, I am a novice OpenSSL library user. Currently I am implementing code to generate a RSA key pair. Here is a part of my code: _time_get(&tim); ...
This is a multipart message in MIME format.
--=_alternative 007021038525739F_=
Content-Type: text/plain; charset="US-ASCII"
Hello,
I am a novice OpenSSL library user. Currently I am implementing code to
generate a RSA key pair. Here
is a part of my code:
_time_get(&tim);
RAND_add(&tim,sizeof(tim),0);
pMiSslCtx = MiSslInitEx( TLSv1_method(), true );
rsa=RSA_generate_key(key_len,RSA_F4,NULLcb,NULL);
my key_len is 2048.
The code crashes in RSA_generate_key() function call, more particularly in
probable_prime(). I am not sure what
I am doign wrong here. Any help would be highly apprecaited.
Thanks
kavita
--=_alternative 007021038525739F_=
Content-Type: text/html; charset="US-ASCII"
Hello,
I am a novice OpenSSL library user.
Currently I am implementing code to generate a RSA key pair. Here
is a part of my code:
_time_get(&tim);
RAND_add(&tim,sizeof(tim),0);
pMiSslCtx
= MiSslInitEx( TLSv1_method(), true );
rsa=RSA_generate_key(key_len,RSA_F4,NULLcb,NULL);
my key_len is 2048.
The code crashes in RSA_generate_key()
function call, more particularly in probable_prime(). I am not sure what
I am doign wrong here. Any help would
be highly apprecaited.
Thanks
kavita
--=_alternative 007021038525739F_=--
__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-dev@openssl.org
Automated List Manager majordomo@openssl.org