Good to hear it worked out okay. Had not anticipated the symbol
collision, so I am really glad you found is was due to that.
Take care and good luck,
Ger
On Mon, Aug 18, 2008 at 6:49 AM, Ambarish Mitra
<[EMAIL PROTECTED]> wrote:
> (Top-posting since this mail is not a direct reply)
>
> Hi Ger,
PROTECTED] Behalf Of Ger Hobbelt
Sent: Thursday, August 14, 2008 8:33 PM
To: openssl-users@openssl.org
Subject: Re: EVP_CipherInit_ex because cipher->do_cipher is NULL
On Thu, Aug 14, 2008 at 3:30 PM, Ambarish Mitra
<[EMAIL PROTECTED]> wrote:
>
> AM: Either the corrup
On Thu, Aug 14, 2008 at 3:30 PM, Ambarish Mitra
<[EMAIL PROTECTED]> wrote:
>
> AM: Either the corruption happens in this call, or in the preceeding
> EVP_CIPHER_CTX_init call.
>
Since the assert() already fails before the init_ex call, it looks
like my guess is probably c
Hi Ger,
Thanks for your detailed response. My counter-responses are inlined.
Response below:
On Tue, Aug 12, 2008 at 7:27 AM, Ambarish Mitra
<[EMAIL PROTECTED]> wrote:
> The output was:
> 933945:error:0607C084:lib(6):func(124):reason(132):evp_enc.c:523:
> 933945:error:0607B086:lib(6):func(123):
Response below:
On Tue, Aug 12, 2008 at 7:27 AM, Ambarish Mitra
<[EMAIL PROTECTED]> wrote:
> The output was:
> 933945:error:0607C084:lib(6):func(124):reason(132):evp_enc.c:523:
> 933945:error:0607B086:lib(6):func(123):reason(134):evp_enc.c:170:
>
> [EMAIL PROTECTED] openssl errstr 0607C084
> error
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ger Hobbelt
Sent: Friday, August 08, 2008 3:54 PM
To: openssl-users@openssl.org
Subject: Re: EVP_CipherInit_ex because cipher->do_cipher is NULL
On Thu, Aug 7, 2008 at 8:13 AM, Ambarish Mitra
<
On Thu, Aug 7, 2008 at 8:13 AM, Ambarish Mitra
<[EMAIL PROTECTED]> wrote:
> The EVP_CipherInit_ex function returned 0 - indicating failure. Upon
What does OpenSSL report as error code/description? (E.g. when using
ERR_print_errors() - see the documentation for how to use)
Ger
--
Met vrien
Hi all,
I am using the EVP API for encryption and decryption (Code snippet below).
The encrypion works fine, but the decryption fails in EVP_CipherInit_ex.
Both the codes are identical except that the said function uses 1 as the
last argument for encryption and 0 for decryption.
I am on Redhat Li