From 65b1bf2c032a3d325c2430f8dc5df729cf7b7e22 Mon Sep 17 00:00:00 2001 From: Bill Phipps Date: Tue, 8 Apr 2025 16:09:20 -0400 Subject: [PATCH] Revert Ed448 and Ed25519 test changes. --- tests/api/test_ed25519.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/api/test_ed25519.c b/tests/api/test_ed25519.c index acd9f3b0e..884d4e1ed 100644 --- a/tests/api/test_ed25519.c +++ b/tests/api/test_ed25519.c @@ -481,7 +481,7 @@ int test_wc_Ed25519PublicKeyToDer(void) #if defined(HAVE_ED25519) && defined(HAVE_ED25519_KEY_EXPORT) && \ (defined(WOLFSSL_CERT_GEN) || defined(WOLFSSL_KEY_GEN)) ed25519_key key; - byte derBuf[CURVE25519_BUFSIZE]; + byte derBuf[1024]; XMEMSET(&key, 0, sizeof(ed25519_key)); @@ -523,7 +523,7 @@ int test_wc_Ed25519KeyToDer(void) EXPECT_DECLS; #if defined(HAVE_ED25519) && defined(HAVE_ED25519_KEY_EXPORT) && \ (defined(WOLFSSL_CERT_GEN) || defined(WOLFSSL_KEY_GEN)) - byte output[CURVE25519_BUFSIZE]; + byte output[ONEK_BUF]; ed25519_key ed25519Key; WC_RNG rng; word32 inLen; @@ -563,7 +563,7 @@ int test_wc_Ed25519PrivateKeyToDer(void) EXPECT_DECLS; #if defined(HAVE_ED25519) && defined(HAVE_ED25519_KEY_EXPORT) && \ (defined(WOLFSSL_CERT_GEN) || defined(WOLFSSL_KEY_GEN)) - byte output[CURVE25519_BUFSIZE]; + byte output[ONEK_BUF]; ed25519_key ed25519PrivKey; WC_RNG rng; word32 inLen;