openssl: Add support for X25519 and X448

While X25519 was already added with 1.1.0a, its use would be a lot more
complicated, as the helpers like EVP_PKEY_new_raw_public_key() were only
added in 1.1.1, which also added X448.
This commit is contained in:
Tobias Brunner
2018-11-30 14:53:38 +01:00
parent 2421b7ddb8
commit 57cb4c8d2c
4 changed files with 304 additions and 2 deletions
@@ -29,7 +29,8 @@ libstrongswan_openssl_la_SOURCES = \
openssl_pkcs12.c openssl_pkcs12.h \
openssl_rng.c openssl_rng.h \
openssl_hmac.c openssl_hmac.h \
openssl_gcm.c openssl_gcm.h
openssl_gcm.c openssl_gcm.h \
openssl_x_diffie_hellman.c openssl_x_diffie_hellman.h
libstrongswan_openssl_la_LDFLAGS = -module -avoid-version
libstrongswan_openssl_la_LIBADD = $(OPENSSL_LIB)