Commit Graph

5584 Commits

Author SHA1 Message Date
Martin Willi 23cf96773a Improve GCM performance by factor 2-3 by shifting full 32/64 bit words 2010-08-19 19:08:57 +02:00
Martin Willi 1a64981048 Implemented a gcm plugin providing GCM mode based on CBC crypters 2010-08-19 19:05:15 +02:00
Martin Willi 026355af42 Added AES-GCM test vectors 2010-08-19 19:05:15 +02:00
Martin Willi 37e52c3fbf Added a crypto transform stress test for profiling 2010-08-19 19:05:14 +02:00
Martin Willi 9d3e174a1e Give a benchmark point for each operation to compare different transforms 2010-08-19 19:05:14 +02:00
Martin Willi 80a93a1335 Implemented a ccm plugin providing CCM mode based on CBC crypters 2010-08-19 19:05:14 +02:00
Martin Willi 7ba89ccd7f Added helper macros to define portable bitfields with gcc 2010-08-19 19:05:14 +02:00
Martin Willi f9277ac426 Added AES-CCM test vectors 2010-08-19 19:05:14 +02:00
Martin Willi 8ca9e255d8 Added support for AEAD test vectors to test-vectors plugin 2010-08-19 19:05:13 +02:00
Martin Willi 08a5a708fc Include CCM/GCM algorithms in IKEv2 proposals, if supported 2010-08-19 19:05:05 +02:00
Martin Willi 3f6a2d3343 Added proposal strings for Camellia CCM algorithm identifiers 2010-08-19 19:02:34 +02:00
Martin Willi 84eb3aa456 Implemented IKEv2 keymat derivation for AEAD algorithms 2010-08-19 19:02:34 +02:00
Martin Willi 9d49f79f55 List registered AEAD algorithms in listalgs 2010-08-19 19:02:34 +02:00
Martin Willi 77b55e8a96 Added support for AEAD algorithms to crypto factory 2010-08-19 19:02:34 +02:00
Martin Willi e09a87d652 Added AEAD support to crypto tester 2010-08-19 19:02:33 +02:00
Martin Willi b519071299 Use AEAD wrapper for encryption payload encryption/decryption 2010-08-19 19:02:33 +02:00
Martin Willi 7fc4b0814f Make function to test if an encryption algorithm is an AEAD alg public 2010-08-19 19:02:16 +02:00
Martin Willi df8d0d8703 Implemented an AEAD wrapper for traditional crypter/signer transforms 2010-08-19 12:35:54 +02:00
Martin Willi 92a4540aca Migrated generator_t to INIT/METHOD macros 2010-08-19 12:35:53 +02:00
Martin Willi 0cca7427c7 Migrated encryption_payload to INIT/METHOD macros 2010-08-19 12:35:53 +02:00
Martin Willi 7c9d8e1476 Migrated message_t to INIT/METHOD macros 2010-08-19 12:35:53 +02:00
Martin Willi 5555b900b2 Migrated keymat to INIT/METHOD macros 2010-08-19 12:35:53 +02:00
Martin Willi 6c620d5ee0 Test append mode for signers verify_signature 2010-08-19 12:35:53 +02:00
Andreas Steffen fd86fb5183 removed debug output for TLS application data 2010-08-19 07:27:30 +02:00
Andreas Steffen 1894622df2 added EAP-TTLS debug output 2010-08-18 23:21:00 +02:00
Andreas Steffen 5ae4292cb9 added TLS record debug output 2010-08-18 22:52:42 +02:00
Andreas Steffen ee346b54c1 add TLS handshake packet size to debug output 2010-08-18 22:07:27 +02:00
Martin Willi ba31fe1fd6 Use a seperate section for each nested struct member in INIT macro 2010-08-18 12:15:03 +02:00
Andreas Steffen 53115857ae some simplifications using the INIT macro 2010-08-17 20:09:32 +02:00
Andreas Steffen f9a2d4bfcb describe EAP-TTLS phase2 start options using the phase2_piggyback parameter 2010-08-16 19:29:39 +02:00
Andreas Steffen cf95e162f2 added ikev2/rw-eap-ttls-phase2-piggyback scenario 2010-08-16 18:32:00 +02:00
Andreas Steffen 9ba53310ee implemented server-initiated phase2 of EAP-TTLS authentication 2010-08-16 18:30:41 +02:00
Andreas Steffen f2b9b9725c changed ikev2/rw-eap-ttls-only description 2010-08-16 18:30:41 +02:00
Martin Willi a369a5ece9 Do not free registered algorithms, plugins are responsible for unregistering 2010-08-16 17:06:28 +02:00
Martin Willi 1b0eff58e0 Implemented algorithm benchmarking during registration 2010-08-16 17:06:28 +02:00
Martin Willi e2c3b4820b Variable key length crypters use default key length if zero given 2010-08-16 17:06:27 +02:00
Martin Willi 806ec8b1d6 Properly handle zero length in chunk_alloc[a]/chunk_clone[a] 2010-08-16 17:06:27 +02:00
Martin Willi e8bf9d6e16 Migrated crypto_factory to INIT/METHOD macros 2010-08-16 17:06:27 +02:00
Martin Willi aed2bf0bd9 Migrated crypto_tester to INIT/METHOD macros 2010-08-16 17:06:27 +02:00
Andreas Steffen d2be215a99 added ikev2/rw-eap-ttls-only scenario 2010-08-16 16:44:13 +02:00
Andreas Steffen 79f2102cb4 implemented server side support for EAP-TTLS 2010-08-16 16:44:13 +02:00
Andreas Steffen 06a207480e fixed typo in eap-mschapv2 plugin 2010-08-16 16:44:13 +02:00
Martin Willi 714d0bfd37 Only include certificates with CA flag in TLS cert request 2010-08-16 09:20:19 +02:00
Andreas Steffen b51ac45c48 optional certificate-based peer authentication on TLS server side 2010-08-15 13:02:57 +02:00
Andreas Steffen 758d7283fb used default ipsec.secrets 2010-08-15 12:49:14 +02:00
Andreas Steffen d662a7ffad included bad case in ikev2/rw-eap-ttls-radius scenario 2010-08-15 11:13:41 +02:00
Andreas Steffen eb4c9c609c version bumps in testing.conf 2010-08-14 21:41:52 +02:00
Andreas Steffen 4618430f83 enable the eap-ttls and ctr plugins in the uml scenarios 2010-08-14 21:40:05 +02:00
Andreas Steffen e8f971ee4e added rw-eap-ttls-radius scenario 2010-08-14 20:05:21 +02:00
Andreas Steffen 16d8b4b6c1 removed some raw EAP debug output 2010-08-14 12:01:45 +02:00