Re: Question about EVP_PKEY_decrypt() with 4K RSA key

2012-06-13 Thread Oleksiy Lukin
Hi again! Andrey, thanks for testing. Seems it is platform-depended bug. My development platform is Linux, Fedora 17, x86_64 I just tested It on OpenBSD 5.0/x86, it works fine too. To OpenSSL developers: If you find my program useful as an example of EVP/PK, please feel free to publish it. 13.0

Re: Question about EVP_PKEY_decrypt() with 4K RSA key

2012-06-13 Thread Oleksiy Lukin
ав(ла): >> From: owner-openssl-us...@openssl.org On Behalf Of Oleksiy Lukin >> Sent: Tuesday, 05 June, 2012 03:59 >> I have problem with EVP_PKEY_decrypt() function and 4K RSA >> private key >> decrypting data encrypted with EVP_PKEY_encrypt() and corresponding >>

Question about EVP_PKEY_decrypt() with 4K RSA key

2012-06-05 Thread Oleksiy Lukin
Hi, crypto guys! I have problem with EVP_PKEY_decrypt() function and 4K RSA private key decrypting data encrypted with EVP_PKEY_encrypt() and corresponding public key. Keys generated using openssl CA shell script. EVP_PKEY_decrypt() just returns -2 saying that this key is not supported. BUT! RSA

Q. about EVP_PKEY_decrypt() with 4K RSA key

2012-05-25 Thread Oleksiy Lukin
Hi, crypto guys! I have problem with EVP_PKEY_decrypt() function and 4K RSA private key decrypting data encrypted with EVP_PKEY_encrypt() and corresponding public key. Keys generated using openssl CA shell script. EVP_PKEY_decrypt() just returns -2 saying that this key is not supported. BUT! RSA

Q. about EVP_PKEY_decrypt() with 4K RSA key

2012-05-25 Thread Oleksiy Lukin
Hi, crypto guys! I have problem with EVP_PKEY_decrypt() function and 4K RSA private key decrypting data encrypted with EVP_PKEY_encrypt() and corresponding public key. Keys generated using openssl CA shell script. EVP_PKEY_decrypt() just returns -2 saying that this key is not supported. BUT! RSA

HMAC-SHA1

2011-10-10 Thread Oleksiy
I am writing a program to upload file to Amazon S3 in C with libCurl and OpenSSL. To send a request to amazon I have to sign it - with HMAC-SHA1 http://docs.amazonwebservices.com/fws/latest/DeveloperGuide/index.html?SummaryOfAuthentication.html - here amazon doc that explain it. Help,

Error compiling OpenSSL with MinGW/MSYS

2011-08-31 Thread Oleksiy
Download source files from official OpenSSL site - (http://www.openssl.org/source/). I follow the INSTALL.M32 file in OpenSSL folder. I open msys.bat, go to the OpenSSL folder, then type $ ./config It says "Configured for MinGW", than I type $ make and after few minutes recei

Error compiling OpenSSL with MinGW/MSYS

2011-08-31 Thread Oleksiy
I downloaded source files from official OpenSSL site - (http://www.openssl.org/source/). I follow the INSTALL.M32 file in OpenSSL folder. I open msys.bat, go to the OpenSSL folder, then type $ ./config It says "Configured for MinGW", than I type $ make and after few minutes r