Commit Graph

3773 Commits

Author SHA1 Message Date
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
Martin Willi 25d6c5146b remove obsolete scripts 2009-06-10 18:31:15 +02:00
Martin Willi e0069366c8 fixed ecp521 test 2009-06-10 18:07:19 +02:00
Martin Willi 0461a2ff13 added missing RSA 768 test 2009-06-10 17:26:56 +02:00
Martin Willi 6edad5afdd added convenience scripts for pubkey/dh speed tests 2009-06-10 16:25:32 +02:00
Martin Willi a4caeac76e moved publickey speed test to a standalone program
This reverts commit 08874d6ae2.
2009-06-10 16:25:32 +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
Martin Willi 3e3de01b28 moved Diffie-Hellman speed test to a standalone program
This reverts commit 1e6050bfae.
2009-06-10 14:58:58 +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
Martin Willi 260158e53e properly shut down and unref nm mainloop, fixes crash at shutdown 2009-06-09 15:13:10 +02:00
Martin Willi 4d8ddefb78 remove stale pidfile if no such process found 2009-06-09 14:56:31 +02:00
Martin Willi fd0b7903e6 fix inclusion of private_key_t in nm plugin 2009-06-09 14:03:48 +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
Andreas Steffen a038ef2bb1 renamed listing of IKEv1 authentication algorithms 2009-06-09 11:43:08 +02:00
Martin Willi 1e6050bfae implemented a speed test for diffie-hellman 2009-06-09 11:27:35 +02:00
Martin Willi 08874d6ae2 implemented a speed test for public key algorithms 2009-06-09 11:27:34 +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 3d2745110e more concise listing of ESP algorithms 2009-06-09 11:03:35 +02:00
Andreas Steffen 527960de0f activated INTEGRITY_TEST option in pluto 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 290b2359c2 some fixes in pkcs7.c 2009-06-09 11:03:35 +02:00
Andreas Steffen 23d7e76788 hooray, pluto and scepclient do not depend on libgmp anymore 2009-06-09 11:03:34 +02:00
Andreas Steffen 4ca4efb28f update strongswan.conf for pluto and scepclient 2009-06-09 11:03:34 +02:00
Andreas Steffen 53df4793d4 pkcs7.c also uses signature_scheme_from_oid() 2009-06-09 11:03:34 +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 c146b2c8df pluto now requires pubkey plugin 2009-06-09 11:03:33 +02:00
Andreas Steffen 123fdf700a updated documentation on leftsendcert 2009-06-09 11:03:33 +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