11 Commits

Author SHA1 Message Date
Brad Hards
878c9627ff Add in unit tests for PBKDF1 with MD2.
svn path=/trunk/kdesupport/qca/; revision=402812
2005-04-03 09:27:48 +00:00
Brad Hards
3ffdc09908 Update the tests for PBKDF1. The changes are to put in a missing
character, and to convert everything to lower case (so it matches the
default output of arrayToHex() ).

svn path=/trunk/kdesupport/qca/; revision=402795
2005-04-03 07:02:50 +00:00
Brad Hards
ff56c7ab43 Add some additional unit tests - this time from Botan's tests.
Also does a trivial whitespace change.

svn path=/trunk/kdesupport/qca/; revision=401574
2005-03-29 11:36:26 +00:00
Brad Hards
7033275a3a Add in some extra unit tests for KPBDF2, mainly extracted from RFC3962
svn path=/trunk/kdesupport/qca/; revision=400974
2005-03-27 12:45:11 +00:00
Brad Hards
2e420874d6 Make the unit test at least have a chance of working.
svn path=/trunk/kdesupport/qca/; revision=400659
2005-03-25 23:28:00 +00:00
Brad Hards
47099cfee7 Convert missing part of tests to new API.
svn path=/trunk/kdesupport/qca/; revision=400460
2005-03-25 11:04:29 +00:00
Brad Hards
e1ef70f4f4 Update unit tests to reflect recent API changes
svn path=/trunk/kdesupport/qca/; revision=398876
2005-03-19 01:00:29 +00:00
Brad Hards
d312792004 Big fixup of the unit test harness, and each unit test case, to match
the new Qt4 stuff, and the removal of QCString from the API

When I run this, I get:
# Running normal tests... #

Base64UnitTest - 22 tests passed, 0 tests failed

BigIntUnitTest - 252 tests passed, 0 tests failed

CertUnitTest - 0 tests passed, 1 test failed
    Unexpected failure:
        certunittest.cpp[40]: failed on "QCA::haveSystemStore()"
                 result = '0', expected = '1'

CipherUnitTest - 2740 tests passed, 0 tests failed

HashUnitTest - 186 tests passed, 0 tests failed

HexUnitTest - 17 tests passed, 0 tests failed

KDFUnitTest - 0 tests passed, 0 tests failed; also 2 skipped
    Skipped tests:
        kdfunittest.cpp[80]: "PBKDF version 1 with SHA1 not supported"
        kdfunittest.cpp[98]: "PBKDF version 2 with SHA1 not supported"

KeyLengthUnitTest - 9 tests passed, 0 tests failed

MACUnitTest - 33 tests passed, 0 tests failed

RandomUnitTest - 67 tests passed, 0 tests failed

SecureArrayUnitTest - 32 tests passed, 0 tests failed

StaticUnitTest - 31 tests passed, 0 tests failed

SymmetricKeyUnitTest - 13 tests passed, 0 tests failed

# Done with normal tests:
  Total test cases: 13
  Total test steps                                 : 3405
    Total passed test steps (including unexpected) : 3402
      Total unexpected passed test steps           :  0
    Total failed test steps (including expected)   :  1
      Total expected failed test steps             :  0
    Total skipped test steps                       :  2

CCMAIL: delta-affinix.com@lists.affinix.com

svn path=/trunk/kdesupport/qca/; revision=394072
2005-03-01 11:15:25 +00:00
Brad Hards
9e3e39fa56 Make the first QtCrypto part of the include path, not the #include
statement.
You also get some bonus Hex tests.

svn path=/trunk/kdesupport/qca/; revision=374575
2005-01-01 05:11:34 +00:00
Brad Hards
5364172b16 Update unit tests to use new include style.
Also includes a few little cleanups as well.

svn path=/trunk/kdesupport/qca/; revision=374573
2005-01-01 04:20:34 +00:00
Brad Hards
2a1bb49334 Add first-cut unit tests for the Key Deriviation Function stuff.
svn path=/trunk/kdesupport/qca/; revision=374186
2004-12-30 09:37:08 +00:00