Changes to build with X25519 and Ed25519 only

Allows configurations without RSA, DH and ECC but with Curve25519
algorithms to work with SSL/TLS using X25519 key exchange and Ed25519
certificates.
Fix Ed25519 code to call wc_Sha512Free().
Add certificates to test.h and fix examples to use them.
This commit is contained in:
Sean Parkinson
2018-07-23 10:20:18 +10:00
parent d54c7a7df8
commit 6d3e145571
14 changed files with 841 additions and 604 deletions

View File

@@ -23,6 +23,7 @@ EXTRA_DIST += \
certs/ed25519/root-ed25519-priv.pem \
certs/ed25519/server-ed25519.der \
certs/ed25519/server-ed25519.pem \
certs/ed25519/server-ed25519-cert.pem \
certs/ed25519/server-ed25519-key.der \
certs/ed25519/server-ed25519-key.pem \
certs/ed25519/server-ed25519-priv.der \