mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-02-04 01:05:05 +01:00
Add Curve448, X448, Ed448 implementations
This commit is contained in:
@@ -241,7 +241,7 @@ int SetCipherSpecs(WOLFSSL* ssl)
|
||||
|
||||
switch (ssl->options.cipherSuite) {
|
||||
|
||||
#if defined(HAVE_ECC) || defined(HAVE_CURVE25519)
|
||||
#if defined(HAVE_ECC) || defined(HAVE_CURVE25519) || defined(HAVE_CURVE448)
|
||||
|
||||
#ifdef BUILD_TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
|
||||
case TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 :
|
||||
@@ -417,9 +417,10 @@ int SetCipherSpecs(WOLFSSL* ssl)
|
||||
break;
|
||||
#endif
|
||||
|
||||
#endif /* HAVE_ECC || HAVE_CURVE25519 */
|
||||
#endif /* HAVE_ECC || HAVE_CURVE25519 || HAVE_CURVE448 */
|
||||
|
||||
#if defined(HAVE_ECC) || (defined(HAVE_CURVE25519) && defined(HAVE_ED25519))
|
||||
#if defined(HAVE_ECC) || (defined(HAVE_CURVE25519) && defined(HAVE_ED25519)) \
|
||||
|| (defined(HAVE_CURVE448) && defined(HAVE_ED448))
|
||||
|
||||
#ifdef BUILD_TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256
|
||||
case TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 :
|
||||
@@ -630,7 +631,7 @@ int SetCipherSpecs(WOLFSSL* ssl)
|
||||
break;
|
||||
#endif
|
||||
|
||||
#endif /* HAVE_ECC || (HAVE_CURVE25519 && HAVE_ED25519) */
|
||||
#endif /* HAVE_ECC || (CURVE25519 && ED25519) || (CURVE448 && ED448) */
|
||||
|
||||
#if defined(HAVE_ECC)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user