Hi all,
I am trying to use the RSA_public_decrypt function but I need to set up the
public key "manually" I have the public exponent and modulus in the form of
an array of unsigned char and have converted these to BIGNUM format using
BN_bin2bn. However, this is where I have started hitting problems. I
thought that merely assigning them to the RSA structures n and e fields work
but that just did not cut it.
When I called RSA_check_key I receive an access violation in libeay32 (at
address cx0000005) and any attempts to actually call RSA_public_decrypt
return -1. calling ERR_get_error after this produces an AV in on of the NT
dlls (NTDLL I think). I am using Win2K pro and am working in VC++ 6
Can anybody please help me- this is driving me insane
many thanks in advance,
Carl
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]