]> 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)
committerTobias Brunner <tobias@strongswan.org>
Thu, 5 Sep 2024 07:36:12 +0000 (09:36 +0200)
commit29864fa65e8002402a7447526bf1a855446ed5f1
treea05d2c95539cba2150740ae6267c983428f542b6
parentcd200d30e1f74f59d2d44e63960400aa592f4fd2
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