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 w
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
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 s
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 fix
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 wrote:
I
I've got blowfish encryption and decryption working, except that after
the input data gets to around 1kB, it crashes when trying to decrypt
the last encrypted output.
here's the code (pardon/ignore the objective-c stuff)...
#define INBUFFERSIZE 1024
#define OUTBUFFERSIZE 1032
static const