6 Commits

Author SHA1 Message Date
Brad Hards
e9904cbae1 DES. Lots of tests, still some issues.
svn path=/trunk/kdesupport/qca/; revision=366839
2004-11-28 11:10:21 +00:00
Brad Hards
382daa7c1a Change test cases over to use the enum padding approach.
svn path=/trunk/kdesupport/qca/; revision=366743
2004-11-27 20:58:23 +00:00
Brad Hards
878b226ff4 Update unit tests to reflect the correct approach to update() and final(),
as well as adding in checks of ok().

svn path=/trunk/kdesupport/qca/; revision=366591
2004-11-27 10:33:35 +00:00
Brad Hards
de4e286913 Lots more tests for various algorithms and modes. Most of these tests
were extracted from Botan.

svn path=/trunk/kdesupport/qca/; revision=365390
2004-11-23 09:15:09 +00:00
Brad Hards
cfc27fe278 Some simple AES tests (128, 192, 256) for ECB. They are run as
encryption and decryption.
We now have 555 passing test cases, although there is a scary amount
of additional testing (which will doubtless show a few more bugs) that
is required for these Cipher classes.

svn path=/trunk/kdesupport/qca/; revision=364696
2004-11-21 07:04:00 +00:00
Brad Hards
244723d71d Update the kunittest framework, fixing a bug that hid skipped tests
when there was also at least one failing step.

Add in some cipher tests - really simple AES128 for now, but at least
its a start...

svn path=/trunk/kdesupport/qca/; revision=364424
2004-11-20 05:46:38 +00:00