Dr. Stephen Henson wrote:
Using the low level APIs had been strongly discouraged for some time.
This is an unfortunate choice.
OpenSSL used to have very usable digest and encryption lowlevel
routines. Such that an application could pick and choose to make use of
just a few routines.
I
Fixed it.
The algorithm is cleaner now too.
It's now based on the cbc test code in bftest.c in the OpenSSL source
distribution.
It doesn't use the EVP stuff now. I'm using BF_set_key and
BF_cbc_encrypt directly. It's more straightforward this way -- no
finalization needed. Fixed chunk
On Sat, Jun 12, 2010, charlie wrote:
Fixed it.
The algorithm is cleaner now too.
It's now based on the cbc test code in bftest.c in the OpenSSL source
distribution.
It doesn't use the EVP stuff now. I'm using BF_set_key and BF_cbc_encrypt
directly. It's more straightforward this way
It's sigaborting inside EVP_DecryptFinal_ex(). The SIGABRT is
triggered by an assert:
/SourceCache/OpenSSL098/OpenSSL098-32/src/crypto/evp/evp_enc.c(326):
OpenSSL internal error, assertion failed: b = sizeof ctx-final
Chuck
On June 11, 2010 03:18:49 P.M. EDT, charlie u...@juun.com
Charlie wrote:
His algorithm has one part that doesn't seem right to me, but changing
it made things even worse. It seems weird that the Final function is
inside the main for loop. It seems like final should mean... final.
(ie: after the looping is done).
It's quite common that fixing one