Martin Willi
|
e9e4759733
|
crypto-factory: count the number of test vector failures during registration
|
2013-06-21 10:53:20 +02:00 |
|
Tobias Brunner
|
5d52087b54
|
Added missing string for full-length HMAC-SHA512 signer
|
2013-06-10 11:48:18 +02:00 |
|
Tobias Brunner
|
1f2a34d6d8
|
Add support for untruncated HMAC-SHA-512
|
2013-05-08 15:02:39 +02:00 |
|
Tobias Brunner
|
d8be7d38bf
|
Also support 128-bit RC2
|
2013-05-08 15:02:39 +02:00 |
|
Tobias Brunner
|
199fdcadae
|
Function added to convert a hash algorithm to an HMAC integrity algorithm
|
2013-05-08 15:02:39 +02:00 |
|
Tobias Brunner
|
047fca1169
|
Support the PKCS#5/PKCS#12 encryption scheme used by OpenSSL for private keys
|
2013-05-08 15:02:39 +02:00 |
|
Tobias Brunner
|
d41e54c68d
|
Move PKCS#12 key derivation to a separate file
|
2013-05-08 15:02:39 +02:00 |
|
Tobias Brunner
|
594d847f79
|
PKCS#5 wrapper can decrypt PKCS#12-like schemes
|
2013-05-08 15:02:38 +02:00 |
|
Tobias Brunner
|
162c06f2f5
|
Fix cleanup in crypto_tester if a crypter fails
|
2013-05-08 15:02:38 +02:00 |
|
Tobias Brunner
|
9d4fc8677f
|
Add implementation of the RC2 block cipher (RFC 2268)
|
2013-05-08 15:02:34 +02:00 |
|
Tobias Brunner
|
c734c2d875
|
Extract function to convert ASN.1 INTEGER object to u_int64_t
|
2013-05-08 14:53:08 +02:00 |
|
Tobias Brunner
|
4076e3ee91
|
Extract PKCS#5 handling from pkcs8 plugin to separate helper class
|
2013-05-08 14:53:08 +02:00 |
|
Tobias Brunner
|
a89ebab62e
|
Fix cleanup in crypto_tester if AEAD implementation fails
|
2013-02-28 18:17:42 +01:00 |
|
Tobias Brunner
|
ef33a4ab82
|
Fixed some typos, courtesy of codespell
|
2012-12-20 09:35:26 +01:00 |
|
Martin Willi
|
03ba8f9e8c
|
Move PKCS#9 attribute lists to pkcs7 plugin, as we currently use it there only
|
2012-12-19 10:32:08 +01:00 |
|
Martin Willi
|
1865fb929a
|
Remove unused monolithic PKCS#7 code
|
2012-12-19 10:32:08 +01:00 |
|
Martin Willi
|
67ca44ccbd
|
Rebuild PKCS#9 encoding after adding new attributes
|
2012-12-19 10:32:07 +01:00 |
|
Martin Willi
|
60c9b5da8d
|
Don't store additional encoding for each PKCS#9 attribute
|
2012-12-19 10:32:07 +01:00 |
|
Martin Willi
|
7f9fedc9bd
|
Unify PKCS#9 set_attribute* methods to a single add_attribute
This way the PKCS#9 implementation does not have to know
the encoding types for values
|
2012-12-19 10:32:07 +01:00 |
|
Martin Willi
|
c1005c120c
|
PKCS#9 coding style cleanups
|
2012-12-19 10:32:07 +01:00 |
|
Martin Willi
|
f0c02e27c4
|
Remove external build_encoding method in PKCS#9
|
2012-12-19 10:32:07 +01:00 |
|
Tobias Brunner
|
f9625952ad
|
Moved settings_t to utils folder
|
2012-10-24 16:00:51 +02:00 |
|
Tobias Brunner
|
f05b427265
|
Moved debug.[ch] to utils folder
|
2012-10-24 16:00:51 +02:00 |
|
Tobias Brunner
|
d5c143e5be
|
Moved enum_name_t to utils folder
|
2012-10-24 16:00:50 +02:00 |
|
Tobias Brunner
|
12642a6831
|
Moved data structures to new collections subfolder
|
2012-10-24 16:00:49 +02:00 |
|
Martin Willi
|
60e59b7e7f
|
Add proposal keywords to explicitly specify PRF algorithms
|
2012-10-24 11:49:36 +02:00 |
|
Tobias Brunner
|
91a8dc2dec
|
Fixed RNG crypto tester
|
2012-09-28 19:13:40 +02:00 |
|
Tobias Brunner
|
24aa55867e
|
Initialize g and p in create_dh factory method
|
2012-09-28 15:48:09 +02:00 |
|
Tobias Brunner
|
4e16d2e864
|
Fix Doxygen comment for proposal_keywords_t
Two dots seem to mark the end of a list.
|
2012-09-18 16:13:23 +02:00 |
|
Tobias Brunner
|
08ad639f32
|
Added algorithm lookup via kernel_interface_t to the various kernel interfaces
|
2012-09-13 15:48:49 +02:00 |
|
Tobias Brunner
|
4c57c63062
|
Added possibility to register custom proposal keywords
Keyword lookup and registration are handled via the new lib->proposal object.
|
2012-09-13 15:44:46 +02:00 |
|
Tobias Brunner
|
995875210a
|
Removed len argument from proposal_get_token()
Also use enumerators instead of lexparser.h to parse proposal strings.
|
2012-09-13 15:44:01 +02:00 |
|
Francois ten Krooden
|
8c2ec47149
|
Moved proposal_keywords to proposal_keywords_static
Added new proposal keywords with function to reference the static keywords.
|
2012-09-13 15:42:38 +02:00 |
|
Tobias Brunner
|
3b891b9e5b
|
Avoid problems with Doxygen by adding warn_unused_result attribute at the end of method signatures
|
2012-08-11 16:48:09 +02:00 |
|
Tobias Brunner
|
2c93a214aa
|
Add warn_unused_result attributes to rng_(get|allocate)_bytes_not_zero
Also fixed Doxygen comments.
|
2012-08-11 16:30:27 +02:00 |
|
Martin Willi
|
11d6bc3eb0
|
Move MODP_CUSTOM va_arg fetching out of loop
It seems problematic at least on PPC with gcc 4.3, fixes #208.
|
2012-08-02 12:08:27 +02:00 |
|
Martin Willi
|
4b96000833
|
Add short names for hasher algorithms
|
2012-07-17 17:31:55 +02:00 |
|
Martin Willi
|
44fc169579
|
Test reset() of hasher in crypto tester
|
2012-07-16 14:55:07 +02:00 |
|
Martin Willi
|
67ea663d7c
|
Refactored error handling in crypto tester
|
2012-07-16 14:55:07 +02:00 |
|
Martin Willi
|
73264a81b8
|
Set a key before benching PRFs
|
2012-07-16 14:55:07 +02:00 |
|
Martin Willi
|
e3b2e900e6
|
Add a return value to hasher_t.reset()
|
2012-07-16 14:55:06 +02:00 |
|
Martin Willi
|
87dd205b61
|
Add a return value to hasher_t.allocate_hash()
|
2012-07-16 14:55:06 +02:00 |
|
Martin Willi
|
8bd6a30af1
|
Add a return value to hasher_t.get_hash()
|
2012-07-16 14:55:06 +02:00 |
|
Martin Willi
|
ce73fc19db
|
Add a return value to crypter_t.set_key()
|
2012-07-16 14:53:38 +02:00 |
|
Martin Willi
|
3b96189a2a
|
Add a return value to crypter_t.decrypt()
|
2012-07-16 14:53:38 +02:00 |
|
Martin Willi
|
e35abbe588
|
Add a return value to crypter_t.encrypt
|
2012-07-16 14:53:37 +02:00 |
|
Martin Willi
|
c3858662d2
|
Identation fixes, warn about unused nonce_gen return values
|
2012-07-16 14:53:37 +02:00 |
|
Martin Willi
|
6ac8d861d9
|
Add a return value to mac_t.set_key()
|
2012-07-16 14:53:37 +02:00 |
|
Martin Willi
|
27e1eabbb5
|
Add a return value to mac_t.get_bytes()
|
2012-07-16 14:53:37 +02:00 |
|
Tobias Brunner
|
5668a99a12
|
Wrapper functions added to generate non-zero random bytes
|
2012-07-16 14:53:35 +02:00 |
|