Martin Willi
1c26835a0a
test-vectors: Add a Curve25519 DH test vector
2016-11-14 16:20:51 +01:00
Andreas Steffen
1fddb0b92e
xof: Added ChaCha20 stream as XOF
2016-08-06 12:09:05 +02:00
Andreas Steffen
5ff88c9622
xof: Implemented SHAKE128 and SHAKE256 Extended Output Functions
2016-07-29 12:36:14 +02:00
Andreas Steffen
04208ac5d4
xof: Defined Extended Output Functions
2016-07-29 12:36:14 +02:00
Andreas Steffen
a488584b5f
Implemented SHA-3 hash algorithm including test vectors
2015-11-03 21:35:09 +01:00
Martin Willi
82f7f5882f
test-vectors: Add some initial ChaCha20/Poly1305 AEAD test vector
2015-06-29 17:32:14 +02:00
Martin Willi
7d1ffe013d
test-vectors: Define test vector symbols as extern
...
We don't actually define a vector, but only prototype the test vector
implemented in a different file. GCC uses the correct symbol during testing,
but clang correctly complains about duplicated symbols during linking.
2015-04-16 09:38:14 +02:00
Martin Willi
b8f576a803
test-vectors: Add DH vectors for Brainpool groups
2015-04-15 14:38:41 +02:00
Martin Willi
8b070b1b36
test-vectors: Add DH vectors for ECDH groups
2015-04-15 14:38:41 +02:00
Martin Willi
57f1ef220c
test-vectors: Add DH vectors for subgroup MODP groups
2015-04-15 14:38:41 +02:00
Martin Willi
e62906524c
test-vectors: Add DH vectors for normal MODP groups
2015-04-15 14:38:39 +02:00
Martin Willi
79955b2b99
test-vectors: Support testing DH groups
2015-04-15 14:37:38 +02:00
Martin Willi
ed6295944b
test-vectors: Add some self-made additional AES-GCM test vectors
...
We missed test vectors for 192/256-bit key vectors for ICV8/12, and should
also have some for larger associated data chunk.
2015-04-15 11:35:26 +02:00
Martin Willi
5c419b2974
test-vectors: Define some additional CCM test vectors
...
We don't have any where plain or associated data is not a multiple of the block
size, but it is likely to find bugs here. Also, we miss some ICV12 test vectors
using 128- and 192-bit key sizes.
2015-04-15 11:35:26 +02:00
Martin Willi
4163421f91
plugins: Don't link with -rdynamic on Windows
2014-06-04 15:53:02 +02:00
Tobias Brunner
a800253fbf
test-vectors: Renumber AES-GCM test vectors according to original source
...
Also adds several missing ones.
2014-03-31 16:38:30 +02:00
Martin Willi
e5d73b0dfa
aead: Support custom AEAD salt sizes
...
The salt, or often called implicit nonce, varies between AEAD algorithms and
their use in protocols. For IKE and ESP, GCM uses 4 bytes, while CCM uses
3 bytes. With TLS, however, AEAD mode uses 4 bytes for both GCM and CCM.
Our GCM backends currently support 4 bytes and CCM 3 bytes only. This is fine
until we go for CCM mode support in TLS, which requires 4 byte nonces.
2014-03-31 15:56:12 +02:00
Martin Willi
19cb07b890
automake: replace INCLUDES by AM_CPPFLAGS
...
INCLUDES are now deprecated and throw warnings when using automake 1.13.
We now also differentiate AM_CPPFLAGS and AM_CFLAGS, where includes and
defines are passed to AM_CPPFLAGS only.
2013-07-18 14:59:19 +02:00
Tobias Brunner
da04914933
test-vectors: Use plugin features
2013-06-11 11:18:18 +02:00
Tobias Brunner
cb38e2f30a
Add test vectors for RC2
2013-05-08 15:02:38 +02:00
Tobias Brunner
f05b427265
Moved debug.[ch] to utils folder
2012-10-24 16:00:51 +02:00
Martin Willi
5d2698dd62
Add a SHA1 test vector forcing padding over block boundary
2012-07-18 15:10:29 +02:00
Tobias Brunner
811e7490f6
Added test vectors for AES-CMAC.
2012-04-03 10:45:09 +02:00
Martin Willi
c55818ebb0
Added a (not yet implemented) plugin_t method to reload plugin configuration
2011-04-15 10:07:13 +02:00
Martin Willi
787b5884aa
Added a get_name() function to plugin_t, create_plugin_enumerator enumerates over plugin_t
2011-04-15 10:07:12 +02:00
Martin Willi
8dad3072c6
Use an IV size of zero for DES in ECB mode
2011-04-08 14:55:46 +02:00
Andreas Steffen
621f9324d9
Migrated test_vectors_plugin_t to INIT/METHOD macros
2010-12-04 10:10:37 +01:00
Martin Willi
026355af42
Added AES-GCM test vectors
2010-08-19 19:05:15 +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
a57b63c940
Added Camellia XCBC test vectors
2010-08-13 17:11:53 +02:00
Martin Willi
84135e7772
Added Camellia-CTR test vectors
2010-08-13 17:11:53 +02:00
Martin Willi
bc4978c786
Added AES-CTR test vectors
2010-08-13 17:11:53 +02:00
Tobias Brunner
8b0e09103b
Adding DBG_LIB to all calls of libstrongswan's version of DBG*.
2010-04-06 12:47:40 +02:00
Tobias Brunner
afb364fff9
Reverting eba28948a5 which was only necessary when cross-compiling the plugins for Android 2.0.
...
With the coming monolithic build using Android.mk files this won't be
necessary anymore.
2010-03-02 12:03:44 +01:00
Tobias Brunner
4e657051f7
Streamlined the source file list formatting in plugin makefiles.
2010-03-02 10:40:50 +01:00
Tobias Brunner
6ec60bb92b
Link all enabled libstrongswan plugins into the library, link all enabled charon plugins into libcharon.
2010-03-02 10:38:52 +01:00
Tobias Brunner
9ce567f895
Changed plugin constructors from plugin_create to plugin_name_plugin_create.
2010-03-02 09:10:26 +01:00
Tobias Brunner
6cc13cd9c5
Removing the plugin constructor declarations from the header files.
2010-03-02 09:10:19 +01:00
Tobias Brunner
eba28948a5
Link all plugins to libstrongswan.
2010-02-25 13:51:05 +01:00
Martin Willi
7daf5226b7
removed trailing spaces ([[:space:]]+$)
2009-09-04 13:46:09 +02:00
Andreas Steffen
b6f739c13b
support of SHA224-based certificate signatures
2009-08-05 22:01:44 +02:00
Martin Willi
00fcc0f8f3
added -avoid-version to LDFLAGS, plugins are not versioned
2009-07-03 08:57:11 +02:00
Andreas Steffen
3d7250d472
added test vector for NULL encryption
2009-06-18 09:59:24 +02:00
Andreas Steffen
c233bb932a
added test vector for NULL encryption
2009-06-18 09:42:05 +02:00
Andreas Steffen
21142d40d1
added md2 and md4 test vectors
2009-06-18 09:32:57 +02:00
Andreas Steffen
6561694796
added 2 des test vectors
2009-06-18 08:23:51 +02:00
Andreas Steffen
e1101d5994
added 2 RC5 test vectors
2009-06-17 22:34:03 +02:00
Andreas Steffen
ed65740846
added 2 IDEA test vectors
2009-06-17 21:53:30 +02:00
Andreas Steffen
364786b69f
added 6 serpent test vectors
2009-06-17 21:37:26 +02:00