Re: [openssl-users] EVP_EncryptUpdate and EVP_CIPHER callback do_cipher

2016-04-18 Thread Dmitry Belyavsky
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

Re: [openssl-users] EVP_EncryptUpdate and EVP_CIPHER callback do_cipher

2016-04-18 Thread Matt Caswell
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

[openssl-users] EVP_EncryptUpdate and EVP_CIPHER callback do_cipher

2016-04-18 Thread Dmitry Belyavsky
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

Re: [Resolved] EVP_CipherInit_ex because cipher->do_cipher is NULL

2008-08-18 Thread Ger Hobbelt
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,

RE: [Resolved] EVP_CipherInit_ex because cipher->do_cipher is NULL

2008-08-17 Thread Ambarish Mitra
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

Re: EVP_CipherInit_ex because cipher->do_cipher is NULL

2008-08-15 Thread Ger Hobbelt
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

RE: EVP_CipherInit_ex because cipher->do_cipher is NULL

2008-08-14 Thread Ambarish Mitra
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):

Re: EVP_CipherInit_ex because cipher->do_cipher is NULL

2008-08-12 Thread Ger Hobbelt
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

RE: EVP_CipherInit_ex because cipher->do_cipher is NULL

2008-08-11 Thread Ambarish Mitra
-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 <

Re: EVP_CipherInit_ex because cipher->do_cipher is NULL

2008-08-08 Thread Ger Hobbelt
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

EVP_CipherInit_ex because cipher->do_cipher is NULL

2008-08-06 Thread Ambarish Mitra
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

Re: Recall: do_cipher function

2007-05-01 Thread Aaron Turner
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". _

Recall: do_cipher function

2007-05-01 Thread Bhat, Jayalakshmi Manjunath
Bhat, Jayalakshmi Manjunath would like to recall the message, "do_cipher function". __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@o

do_cipher

2007-05-01 Thread Bhat, Jayalakshmi Manjunath
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

do_cipher function

2007-05-01 Thread Bhat, Jayalakshmi Manjunath
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

RE: do_cipher function pointer points to ?????

2005-07-05 Thread Steven Reddie
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

do_cipher function pointer points to ?????

2005-07-05 Thread Riaz Farnaz
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