I am trying to take a DER formatted public key and putting the key into the Window's Crypt library so that my Windows machine can send my linux machine encrypted data.

Trying to compile openssl for Windows is not on the table right now. I am being forced to use the Windows Crypt library.

Does anyone have some information that might be able to get me on my way? I am not a security (openssl) specialist, but I am learning rapidly.

I think I need to pull some data out of the header in the openssl DER file and put it into the key BLOB (BLOBHEADER/RSAPUBKEY) structure in Windows.

Right now, when I encrypt the same data on Windows and Linux, the Windows one is 148 bytes and the Linux one is 128 bytes - the input data file is 16 bytes. I am doing something very wrong.

If there is any hope for me, please let me know.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to