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 -- no finalization needed. > Fixed chunk size. >
Using the low level APIs had been strongly discouraged for some time. If you disable padding at the EVP level you don't need to finalise either. Steve. -- Dr Stephen N. Henson. OpenSSL project core developer. Commercial tech support now available see: http://www.openssl.org ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [email protected] Automated List Manager [email protected]
