492 Commits

Author SHA1 Message Date
Brad Hards
0f31ce5991 Update docs to reflect API changes.
svn path=/trunk/kdesupport/qca/; revision=404498
2005-04-10 03:06:01 +00:00
Justin Karneges
53c9d96625 qca_secure_realloc
svn path=/trunk/kdesupport/qca/; revision=404493
2005-04-10 01:55:43 +00:00
Brad Hards
0bb1be3bd2 Moved a couple of items to a provider-specific TODO list.
svn path=/trunk/kdesupport/qca/; revision=404492
2005-04-10 01:49:49 +00:00
Brad Hards
f6e45f2b84 Add a local TODO
svn path=/trunk/kdesupport/qca/; revision=404491
2005-04-10 01:46:01 +00:00
Justin Karneges
45ce539afe didn't encrypt with toPEM, so don't provide a passphrase on fromPEM
svn path=/trunk/kdesupport/qca/; revision=404479
2005-04-09 22:47:48 +00:00
Justin Karneges
80ac2306df handle input of both encrypted and non-encrypted DER private keys
svn path=/trunk/kdesupport/qca/; revision=404478
2005-04-09 22:46:24 +00:00
Brad Hards
f67d575b77 Add more tests to the RSA unit tests:
- Test conversion to DER with and without a passphrase
 - Test more key lengths.

Note that QCA still has problems with bitSize(), and with toDER()
without a passphrase.

svn path=/trunk/kdesupport/qca/; revision=404310
2005-04-09 11:58:15 +00:00
Brad Hards
708799f1a6 Add in a first cut of some unit tests for DSA.
svn path=/trunk/kdesupport/qca/; revision=404264
2005-04-09 09:32:07 +00:00
Justin Karneges
f027ff41a9 keystore works and systemstore uses it
svn path=/trunk/kdesupport/qca/; revision=404245
2005-04-09 07:43:15 +00:00
Brad Hards
9b6dd2808d Additional test steps for PEM, and to try to diagnose problems with
DER.

svn path=/trunk/kdesupport/qca/; revision=404232
2005-04-09 05:49:57 +00:00
Brad Hards
742092c790 Add unit test for RSA.
svn path=/trunk/kdesupport/qca/; revision=403745
2005-04-07 11:25:12 +00:00
Justin Karneges
e5af5435ec turn cert info into a multimap
svn path=/trunk/kdesupport/qca/; revision=403256
2005-04-05 08:50:28 +00:00
Justin Karneges
1d64b89332 cert key ids
svn path=/trunk/kdesupport/qca/; revision=403249
2005-04-05 07:57:40 +00:00
Brad Hards
2a810a8856 Add RSA tests back into the standard set.
svn path=/trunk/kdesupport/qca/; revision=403096
2005-04-04 11:43:59 +00:00
Brad Hards
1049dc5be1 Update the RSA example to the new API.
svn path=/trunk/kdesupport/qca/; revision=403095
2005-04-04 11:43:11 +00:00
Justin Karneges
9db1e7675d cert key ids
svn path=/trunk/kdesupport/qca/; revision=403004
2005-04-04 03:20:20 +00:00
Justin Karneges
704de04a07 key bitsize
svn path=/trunk/kdesupport/qca/; revision=402997
2005-04-04 00:34:13 +00:00
Brad Hards
8819b48829 Tweak API documentation entries for Cipher.
svn path=/trunk/kdesupport/qca/; revision=402823
2005-04-03 11:18:35 +00:00
Brad Hards
1de05d8ff7 Add in support for PBKDF1 with SHA-1 and MD2.
Also a minor indenting fix.

svn path=/trunk/kdesupport/qca/; revision=402813
2005-04-03 09:31:00 +00:00
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
d05d0dc11c Implement PBKDF1 with SHA1. Passes unit tests.
svn path=/trunk/kdesupport/qca/; revision=402796
2005-04-03 07:04:34 +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
8899426efc Avoid repetive initialisation of the secure memory.
svn path=/trunk/kdesupport/qca/; revision=402794
2005-04-03 06:18:09 +00:00
Justin Karneges
4b93c84577 move passphrase/pin handling into keystore, update securemessage
svn path=/trunk/kdesupport/qca/; revision=402674
2005-04-02 17:37:52 +00:00
Justin Karneges
8c35532cc4 set the path one level deeper
svn path=/trunk/kdesupport/qca/; revision=402625
2005-04-02 12:07:05 +00:00
Brad Hards
91c129f8b8 Adjust paths for new location.
svn path=/trunk/kdesupport/qca/; revision=402623
2005-04-02 11:59:35 +00:00
Brad Hards
206256863b Change paths to deal with modified location.
svn path=/trunk/kdesupport/qca/; revision=402622
2005-04-02 11:58:26 +00:00
Brad Hards
8dcb0db99e Add in CFB, CBC, CBC-PKCS7 and OFB modes for Blowfish.
svn path=/trunk/kdesupport/qca/; revision=402619
2005-04-02 11:50:55 +00:00
Brad Hards
68d0bab14c Add in additional Blowfish tests.
Also add TODO: for the modes/padding that we aren't doing yet.

svn path=/trunk/kdesupport/qca/; revision=402618
2005-04-02 11:48:09 +00:00
Brad Hards
bbb76611eb Add CBC and CFB modes for blowfish.
svn path=/trunk/kdesupport/qca/; revision=402617
2005-04-02 11:42:55 +00:00
Brad Hards
473fd6c9f6 A couple of additional trivial tests. I wanted to test a theory about
another problem - tests passed, but helped exclude the issue.

svn path=/trunk/kdesupport/qca/; revision=402616
2005-04-02 11:42:04 +00:00
Justin Karneges
12a0000554 rootcerts
svn path=/trunk/kdesupport/qca/; revision=402536
2005-04-01 22:57:48 +00:00
Justin Karneges
184f93a17b mozcerts tool, move qcatool into its own subfolder as well
svn path=/trunk/kdesupport/qca/; revision=402396
2005-04-01 12:25:28 +00:00
Brad Hards
112af45e3a Update based on feedback from Justin.
svn path=/trunk/kdesupport/qca/; revision=402104
2005-03-31 10:20:03 +00:00
Brad Hards
f27c777fd1 Update the cipher example. Should now be basically up-to-date.
svn path=/trunk/kdesupport/qca/; revision=402100
2005-03-31 09:55:14 +00:00
Brad Hards
389f817632 Break the Cipher unit tests into a few different methods, so it
is a bit easier to see what is going on.

svn path=/trunk/kdesupport/qca/; revision=401575
2005-03-29 11:38:37 +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
ea902c60dd libgcrypt can't do OFB, so not much point in trying.
svn path=/trunk/kdesupport/qca/; revision=401573
2005-03-29 11:34:34 +00:00
Brad Hards
530d95c228 Adopt a more defensive posture. This got me earlier.
svn path=/trunk/kdesupport/qca/; revision=401216
2005-03-28 10:18:39 +00:00
Brad Hards
bbe4efa37e Add in an example for Hex.
svn path=/trunk/kdesupport/qca/; revision=401212
2005-03-28 10:17:22 +00:00
Justin Karneges
b8d83192e5 separate enabling from the column value, so that decoding makes sense
svn path=/trunk/kdesupport/qca/; revision=401207
2005-03-28 09:29:24 +00:00
Brad Hards
65c4f7dd9d Link hextest examples into build system.
svn path=/trunk/kdesupport/qca/; revision=401200
2005-03-28 08:12:02 +00:00
Brad Hards
f7de65a14b Add a simple example of hex encoding.
svn path=/trunk/kdesupport/qca/; revision=401199
2005-03-28 08:09:09 +00:00
Brad Hards
9cc885de56 Minor polishing of this example.
svn path=/trunk/kdesupport/qca/; revision=401198
2005-03-28 08:07:14 +00:00
Brad Hards
ed82ce5712 Update to a more recent version of Doxygen.
svn path=/trunk/kdesupport/qca/; revision=401197
2005-03-28 08:01:55 +00:00
Brad Hards
b468afe516 Add in AES OFB modes support (128, 192 and 256 bits)
svn path=/trunk/kdesupport/qca/; revision=401196
2005-03-28 07:58:43 +00:00
Brad Hards
c0d8aff18a Add in some more ciphers (disable OFB for now, doesn't appear to be
supported). Also rework the error display code, to make it easier
to figure out where it is breaking.

Refactor hashes, reducing code a bit and making it much easier to
add in more hash algorithms.

svn path=/trunk/kdesupport/qca/; revision=401195
2005-03-28 07:57:29 +00:00
Brad Hards
4f50358c99 Update to reflect API changes.
svn path=/trunk/kdesupport/qca/; revision=401193
2005-03-28 07:52:56 +00:00
Brad Hards
b215debfb2 Do initialization - crash less.
svn path=/trunk/kdesupport/qca/; revision=401191
2005-03-28 07:49:05 +00:00
Brad Hards
af0723bbf4 Add tests for additional ciphers with OFB - AES (128, 192, 256) and DES
svn path=/trunk/kdesupport/qca/; revision=401190
2005-03-28 07:41:20 +00:00