Andreas Steffen
7417d35ee0
fixed tabs
2009-06-17 13:08:19 +02:00
Andreas Steffen
688705eec2
added camellia-cbc OIDs
2009-06-17 13:07:07 +02:00
Andreas Steffen
942127a602
fixed 64 bit warning
2009-06-17 12:32:28 +02:00
Martin Willi
8ae89883e1
fixed copy/paste error in attribute type parsing
2009-06-17 11:42:53 +02:00
Andreas Steffen
c3fcdd9322
added 2 3DES-CBC and 3 AES-CBC test vectors
2009-06-17 00:08:44 +02:00
Andreas Steffen
280effc034
moved ike_alg descriptions to crypto.c
2009-06-16 18:06:16 +02:00
Martin Willi
fcb06fdbfa
use rwlock instead of a mutex in trap_manager, avoids possible deadlock
2009-06-16 17:27:25 +02:00
Martin Willi
4edda6e4a0
load trap_manager before plugins, allowing them to install traps
2009-06-16 17:27:24 +02:00
Martin Willi
04d6583e26
reset IKE_SA on bus after checkout/checkin of replacement SA
2009-06-16 17:27:24 +02:00
Martin Willi
140ea1fe5a
instanciate first registered kernel interface immediately
2009-06-16 17:27:24 +02:00
Andreas Steffen
b07ffa2490
reformatted crypto_test output
2009-06-16 14:58:49 +02:00
Martin Willi
62d6da67dd
support older gcrypt libraries not defining the CAMELLIA cipher
2009-06-16 14:23:32 +02:00
Martin Willi
24d7b25d21
fixed compiler warning
2009-06-16 14:21:55 +02:00
Martin Willi
26999f2511
increased verbosity of successful crypto tests
2009-06-16 09:54:28 +02:00
Martin Willi
72e174f966
removed one hierarchy level for crypto test options
2009-06-16 09:48:45 +02:00
Andreas Steffen
5fa879238b
initiator now checks for private key much earlier
2009-06-16 07:59:31 +02:00
Andreas Steffen
cd312fcc43
remove whitespace
2009-06-15 19:30:44 +02:00
Martin Willi
25ecb8dafa
gcrypt actually does not implement IDEA
2009-06-15 18:18:04 +02:00
Martin Willi
d32b14db5e
implemented gcrypt RSA encrypt/decrypt operations
2009-06-15 18:07:57 +02:00
Martin Willi
810ce1f336
added a gcrypt.quick_random option to generate weak testing keys faster
2009-06-15 18:06:16 +02:00
Martin Willi
f1f968d562
extended RSA tests by encrypt/decrypt operations
2009-06-15 18:05:34 +02:00
Martin Willi
04b348f61a
implemented IKEv1 specific SIGN_RSA_EMSA_PKCS1_NULL scheme in gcrypt
2009-06-15 14:47:39 +02:00
Martin Willi
3176e4421f
check if RSA key is large enough to sign a chunk of data
2009-06-15 13:49:30 +02:00
Martin Willi
e7227f0ba0
use save chunk advancing, check signature length
2009-06-15 13:37:52 +02:00
Andreas Steffen
ebde1a7ddd
consistent display of strongSwan version
2009-06-13 16:03:08 +02:00
Andreas Steffen
2b92fc9880
test_vectors.h is part of the distribution
2009-06-13 15:17:24 +02:00
Andreas Steffen
c71f212627
renamed OAKLEY_ECDSA_512 to OAKLEY_ECDSA_512
2009-06-13 15:16:49 +02:00
Andreas Steffen
8df811146d
fixed broken XAUTH authentication
2009-06-12 21:04:48 +02:00
Andreas Steffen
b34862b14e
not restricted to RSA public keys
2009-06-12 20:17:02 +02:00
Andreas Steffen
37c9f11f11
load_private_key() loads all kinds of keys
2009-06-12 20:09:00 +02:00
Andreas Steffen
3c5a2342b4
ASN.1 parsing of RSA public key not needed anymore
2009-06-12 20:06:39 +02:00
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
0897ff21e7
removed crypto tests form unit tester, all gone to test-vector plugin
2009-06-12 10:44:01 +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
c66cd00df4
removed pluto test vectors, --disable-self-test option
2009-06-11 20:27:32 +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