RE: Thunderbird decrypt issue

2014-03-18 Thread Leon Brits
Steve, As usual I do not know what I would do without you on this list. The code had a logic error for when to en-/disable the padding depending on the mechanism. Thanks a mil. LJB __ OpenSSL Project

Re: Thunderbird decrypt issue

2014-03-14 Thread Dr. Stephen Henson
On Fri, Mar 14, 2014, Leon Brits wrote: > Hi, > > I have a problem with Thunderbird which works via the cryptoki to our device > which makes use of OpenSSL. > > Thunderbird passes ciphertext which falls exactly on the blocksize boundary. > I translate the cryptoki DecryptUpdate() call to the Ope

Re: Thunderbird decrypt issue

2014-03-14 Thread Tom Francis
On Mar 14, 2014, at 5:33 AM, Leon Brits wrote: > Hi, > > I have a problem with Thunderbird which works via the cryptoki to our device > which makes use of OpenSSL. > > Thunderbird passes ciphertext which falls exactly on the blocksize boundary. > I translate the cryptoki DecryptUpdate() ca

Thunderbird decrypt issue

2014-03-14 Thread Leon Brits
Hi, I have a problem with Thunderbird which works via the cryptoki to our device which makes use of OpenSSL. Thunderbird passes ciphertext which falls exactly on the blocksize boundary. I translate the cryptoki DecryptUpdate() call to the OpenSSL DecryptUpdate(). OpenSSL retains the last block