RE: EVP_DecryptFinal succeeds but fails.

2009-09-03 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of roxaz > Sent: Thursday, 03 September, 2009 06:46 > Hey, EVP_DecryptFinal returns 0 for me, but no data is returned > to supplied output buffer, and returned data length is set to 0. > What could be the issue? bdec receives s

Re: EVP_DecryptFinal succeeds but fails.

2009-09-03 Thread Goetz Babin-Ebell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 roxaz wrote: | Hey, EVP_DecryptFinal returns 0 for me, but no data is returned to | supplied output buffer, and returned data length is set to 0. What could | be the issue? bdec receives some correct data tho. | | u32 szbdec = 0; | u8

EVP_DecryptFinal succeeds but fails.

2009-09-03 Thread roxaz
Hey, EVP_DecryptFinal returns 0 for me, but no data is returned to supplied output buffer, and returned data length is set to 0. What could be the issue? bdec  receives some correct data tho.         u32 szbdec = 0;         u8* bdec = new u8[resp.rSize + halfKey];    // half rSize = half of chyper