Hi there,

I want to pack a RSA priv key and this is what I'm doing:

...
rsa=RSA_generate_key(1024, RSA_F4, NULL, NULL);
len=i2d_RSAPrivateKey(rsa, priv);
...


Why isn't `len' always the same?
Is it normal?
If yes, what is its maximum value for a key of 1024 bits?
Is it the same for the public key?

Here it is the real code:
http://hinezumilabs.org/cgi-bin/viewcvs.cgi/*checkout*/netsukuku/src/crypto.c?rev=HEAD&content-type=text/plain

Thanks in advance
-- 
:wq!
"I don't know nothing" The One Who reached the Thinking Matter   '.'

[ Alpt --- Freaknet Medialab ]
[ GPG Key ID 441CF0EE ]
[ Key fingerprint = 8B02 26E8 831A 7BB9 81A9  5277 BFF8 037E 441C F0EE ]
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to