ptUpdate has the outl output parameter, which is
> > designed for returning the length of the resulting ciphertext. Then
> > internally it calls the do_cipher callback which does not take such a
> > parameter.
> >
> > Is there a way to return an expected buffer length fr
ting ciphertext. Then
> internally it calls the do_cipher callback which does not take such a
> parameter.
>
> Is there a way to return an expected buffer length from the callback?
> It may be necessary when we call the EVP_EncryptUpdate some times, and
> we get the case when ctx->bu
Hello,
Could anybody explain how to deal with the output length in the
EVP_EncryptUpdate?
The function EVP_EncryptUpdate has the outl output parameter, which is
designed for returning the length of the resulting ciphertext. Then
internally it calls the do_cipher callback which does not take such
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
Linux, OpenSSL 0.9.8h 28 May 2008, and g++ 3.3.2 compiler.
(C++ compiler)
The EVP_CipherInit_ex function returned 0 - indicating failure. Upon
investigation, I found out that the context cipher function pointer
"do_cipher" is NULL. I have no clue why this will be NULL. In encryption,
do
Recalling emails doesn't work on the internet.
On 5/1/07, Bhat, Jayalakshmi Manjunath <[EMAIL PROTECTED]> wrote:
Bhat, Jayalakshmi Manjunath would like to recall the message, "do_cipher
function".
_
Bhat, Jayalakshmi Manjunath would like to recall the message, "do_cipher
function".
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@o
Hi All,
I am using EVP functions for AES encryption/Decryption. Please can any
one tell me how to find the exact AES encryption/decryption routines
called when do_cipher is invoked?
Regards,
Jaya
__
OpenSSL Project
Hi All,
I am using EVP function for AES encryption/Decryption. Please can any
one tell me how will know which function is invoked when do_cipher is
called?
Regards,
Jaya
__
OpenSSL Project http
teven
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Riaz
FarnazSent: Wednesday, 6 July 2005 12:42 AMTo:
openssl-users@openssl.orgSubject: do_cipher function pointer points
to ?
Hi
I want to know which function does the do_cipher function
pointer points to. I was not able
Hi
I want to know which function does the do_cipher function pointer points to. I was not able to find it or may be I have not looked into the code much thoroughly. If any one can please point me to the definition it would be great
Cheers
Riaz
17 matches
Mail list logo