Re: RSA_generate_key KEY_LENGTH

2013-01-17 Thread Pankracy
Annie pisze: On 14.01.2013 22:55, Dave Thompson wrote: Yes, but. By default (i.e. not using an engine, which may impose limits) you can generate an RSA keypair of practically any size you like. Hi Dave, you can try, but ... OpenSSL will give you not always the keysize back

Re: RSA_generate_key KEY_LENGTH

2013-01-16 Thread Annie
On 14.01.2013 22:55, Dave Thompson wrote: Yes, but. By default (i.e. not using an engine, which may impose limits) you can generate an RSA keypair of practically any size you like. Hi Dave, you can try, but ... OpenSSL will give you not always the keysize back that you requested ;-) try

RE: RSA_generate_key KEY_LENGTH

2013-01-14 Thread Dave Thompson
From: owner-openssl-...@openssl.org On Behalf Of Pankracy Sent: Saturday, 12 January, 2013 13:33 (I don't think this is a -dev question.) How long is key_length (int) in RSA_generate_key ? Can I put here a 1000,1001,1002 etc or (1024*3) or other values? Yes, but. By default (i.e. not

Re: RSA_generate_key KEY_LENGTH

2013-01-14 Thread Dr. Stephen Henson
On Mon, Jan 14, 2013, Dave Thompson wrote: OpenSSL non-engine will not *use* a key 16384 for RSA public operations (encrypt, verify) at all, and will not use one 3072 with a large public exponent e (64 bits). OpenSSL can't generate with e usually 32 bits, but this could be an issue

RSA_generate_key KEY_LENGTH

2013-01-13 Thread Pankracy
How long is key_length (int) in RSA_generate_key ? Can I put here a 1000,1001,1002 etc or (1024*3) or other values? I use if(RSA_check_key (keypair) = 0) with key_length 50 and I can't get any error. This is possible? __ OpenSSL