Commit Graph
897 Commits
Author SHA1 Message Date
Andreas Steffen 11e6d28533 pluto supports ECDSA authentication 2009-06-12 19:59:49 +02:00
Martin Willi b59e239335 added SHA2 HMAC signer test vectors 2009-06-12 11:09:09 +02:00
Martin Willi 095f971c10 added a FIPS_PRF test vector 2009-06-12 10:40:38 +02:00
Martin Willi 371a54c7a9 added support for stateful PRFs (such as the FIPS_PRF) 2009-06-12 10:39:47 +02:00
Martin Willi 701381ceb8 added SHA2 HMAC PRF test vectors 2009-06-11 20:26:01 +02:00
Martin Willi d94d68e404 added SHA2 test vectors 2009-06-11 18:14:30 +02:00
Martin Willi f02d144095 added SHA1 test vectors 2009-06-11 17:17:33 +02:00
Martin Willi 2df93f467b added HMAC SHA1 test vectors 2009-06-11 17:05:56 +02:00
Martin Willi 764708b4e0 added HMAC MD5 test vectors 2009-06-11 16:44:20 +02:00
Martin Willi c698da8cb4 added RNG test vectors 2009-06-11 15:56:00 +02:00
Martin Willi e091d5100f added MD5 test vectors 2009-06-11 15:56:00 +02:00
Martin Willi 54916d79d6 added AES-XCBC test vectors for signer/prf 2009-06-11 15:56:00 +02:00
Martin Willi 005163805d added test vectors for AES128 CBC 2009-06-11 15:56:00 +02:00
Martin Willi 6f4f83e333 added blowfish test vectors from pluto 2009-06-11 15:56:00 +02:00
Martin Willi 81811a9d8b added a plugin providing crypto test vectors 2009-06-11 15:55:59 +02:00
Martin Willi 28a0728b67 make use of the crypto_tester in the crypto_factory
libstrongswan.crypto.test.on_add to test algorithms during initialization
libstrongswan.crypto.test.on_create to test algorithms on each instantiation
2009-06-11 15:55:48 +02:00
Martin Willi 3e8891667b implemented a crypto_tester class to test crypto algorithms
libstrongswan.crypto.test.required to require at least one test vector to use an algorithm
libstrongswan.crypto.test.rng_true to run RNG tests on RNG_TRUE quality
2009-06-11 15:54:44 +02:00
Martin Willi 6f299040fb handling hashers and rngs as transform types (in private range) 2009-06-11 14:17:16 +02:00
Martin Willi e51f607221 gcrypt blowfish supports 128 bit key size only 2009-06-11 14:13:17 +02:00
Andreas Steffen 355bab380c additional check in case of non-positive months 2009-06-10 15:33:39 +02:00
Andreas Steffen dfa5fb0358 implemented IKEv1 RSA signing in openssl_rsa_private_key.c 2009-06-10 15:29:57 +02:00
Andreas Steffen 29bbfc11ee implemented IKEv1 signature verification in openssl_rsa_public_key.c 2009-06-10 13:43:51 +02:00
Andreas Steffen c04bf43363 fixed typo in asn1.c 2009-06-10 12:00:26 +02:00
Andreas Steffen 95c00dfcf9 fixed DoS vulnerability in the parsing of ASN.1 time strings 2009-06-10 11:39:17 +02:00
Andreas Steffen b29832c74f fixed DoS vulnerability in the parsing of distinguished names 2009-06-09 22:03:33 +02:00
Andreas Steffen 2d870072fa asn1_integer() ensures correct DER encoding of ASN1_INTEGER (two's complement) 2009-06-09 13:27:59 +02:00
Martin Willi 3240cab978 gcrypt RSA public key implementation 2009-06-09 11:27:26 +02:00
Martin Willi ff8d3ba355 gcrypt RSA private key implementation 2009-06-09 11:27:11 +02:00
Martin Willi ccd1464586 use autoconf macro provided by libgcrypt 2009-06-09 11:18:57 +02:00
Martin Willi 1111088aa7 gcrypt mpi based Diffie-Hellman implementation 2009-06-09 11:18:57 +02:00
Martin Willi a41d0932c2 gcrypt rng implementation 2009-06-09 11:18:57 +02:00
Martin Willi 8e97e32705 use abstract mutex_t for gcrypt locking callbacks 2009-06-09 11:18:56 +02:00
Martin Willi 80862c4637 gcrypt crypter implementation 2009-06-09 11:18:56 +02:00
Martin Willi f908ff9f91 gcrypt hasher implementation 2009-06-09 11:18:56 +02:00
Martin Willi 513a1a2835 initialize gcrypt threadsave, currently for pthread only 2009-06-09 11:18:56 +02:00
Martin Willi 4977018c23 added skeleton for libgcrypt based crypto plugin 2009-06-09 11:18:56 +02:00
Martin Willi 86ab0bb65e fixed crash in openssl private_key->get_public_key(), using encode/load workaround 2009-06-09 11:03:35 +02:00
Andreas Steffen d615ffdcf3 implement gmp_rsa_private_key.decrypt() 2009-06-09 11:03:35 +02:00
Andreas Steffen c50ff68d0c implemented gmp_rsa_public_key.encrypt() method 2009-06-09 11:03:35 +02:00
Andreas Steffen f3e87f5935 created signature_scheme_from_oid() helper function 2009-06-09 11:03:34 +02:00
Andreas Steffen 9410aa262a hardened OpenPGP parser 2009-06-09 11:03:34 +02:00
Andreas Steffen b6f19a6ab4 used rsa coeff field in OpenPGP secret key payload 2009-06-09 11:03:33 +02:00
Andreas Steffen 1bb4d7dd79 fixed OpenPGPv3 fingerprint computation 2009-06-09 11:03:33 +02:00
Andreas Steffen d17a120598 fixed OpenPGP parsing 2009-06-09 11:03:33 +02:00
Andreas Steffen ca062e48ee moved PGP types to pgp/pgp.h 2009-06-09 11:03:33 +02:00
Andreas Steffen 8b799d55ce pluto and scepclient use private and public key plugins of libstrongswan 2009-06-09 11:03:32 +02:00
Martin Willi c4f59ccec0 fixed ENUM naming of XCBC prf 2009-06-02 14:41:53 +02:00
Andreas Steffen e24aaddde0 hide credentials headers in credential_factory.h 2009-05-28 15:35:02 +02:00
Martin Willi 178bf4c5e9 register the already implemented AUTH_HMAC_SHA1_160 algorithm 2009-05-28 15:03:57 +02:00
Andreas Steffen 435e23e647 set parsed = TRUE before calling parse_certificate() 2009-05-27 09:52:53 +02:00