]> git.ipfire.org Git - thirdparty/strongswan.git/commit
key-exchange: Joint ke_test_vector format for DH and KEM
authorAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 4 Nov 2019 21:22:47 +0000 (22:22 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 29 Mar 2020 11:47:23 +0000 (13:47 +0200)
commit0a8c63ea5680672a92f2c24d4587ca0e34ca07b1
tree09f3845159f2701d5d9499e55d1e0b9d060ce839
parentf56f1ed7f6a9c7be3cdad6ab29ee3ed53c59e788
key-exchange: Joint ke_test_vector format for DH and KEM

Both Diffie-Hellman (DH) and Key Encapsulation Mechanism (KEM) based
key exchange methods use a common ke_test_vector format. The
set_seed() function is used to provide deterministic private key
material for the crypto tests.
21 files changed:
src/libstrongswan/crypto/crypto_tester.c
src/libstrongswan/crypto/crypto_tester.h
src/libstrongswan/crypto/key_exchange.h
src/libstrongswan/plugins/botan/botan_diffie_hellman.c
src/libstrongswan/plugins/botan/botan_ec_diffie_hellman.c
src/libstrongswan/plugins/botan/botan_x25519.c
src/libstrongswan/plugins/curve25519/curve25519_dh.c
src/libstrongswan/plugins/gcrypt/gcrypt_dh.c
src/libstrongswan/plugins/gmp/gmp_diffie_hellman.c
src/libstrongswan/plugins/openssl/openssl_diffie_hellman.c
src/libstrongswan/plugins/openssl/openssl_ec_diffie_hellman.c
src/libstrongswan/plugins/openssl/openssl_x_diffie_hellman.c
src/libstrongswan/plugins/test_vectors/test_vectors/curve25519.c
src/libstrongswan/plugins/test_vectors/test_vectors/curve448.c
src/libstrongswan/plugins/test_vectors/test_vectors/ecp.c
src/libstrongswan/plugins/test_vectors/test_vectors/ecpbp.c
src/libstrongswan/plugins/test_vectors/test_vectors/modp.c
src/libstrongswan/plugins/test_vectors/test_vectors/modpsub.c
src/libstrongswan/plugins/wolfssl/wolfssl_diffie_hellman.c
src/libstrongswan/plugins/wolfssl/wolfssl_ec_diffie_hellman.c
src/libstrongswan/plugins/wolfssl/wolfssl_x_diffie_hellman.c