From e2a7f40148c621c7d919d5e4721b94a35f97ff11 Mon Sep 17 00:00:00 2001 From: Bill Phipps Date: Tue, 8 Apr 2025 16:11:40 -0400 Subject: [PATCH] Revert test Ed448 changes. --- tests/api/test_ed448.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/api/test_ed448.c b/tests/api/test_ed448.c index e496d470f..87ec0e17d 100644 --- a/tests/api/test_ed448.c +++ b/tests/api/test_ed448.c @@ -415,7 +415,7 @@ int test_wc_Ed448PublicKeyToDer(void) #if defined(HAVE_ED448) && defined(HAVE_ED448_KEY_EXPORT) && \ (defined(WOLFSSL_CERT_GEN) || defined(WOLFSSL_KEY_GEN)) ed448_key key; - byte derBuf[CURVE448_BUFSIZE]; + byte derBuf[1024]; XMEMSET(&key, 0, sizeof(ed448_key)); @@ -458,7 +458,7 @@ int test_wc_Ed448KeyToDer(void) EXPECT_DECLS; #if defined(HAVE_ED448) && defined(HAVE_ED448_KEY_EXPORT) && \ (defined(WOLFSSL_CERT_GEN) || defined(WOLFSSL_KEY_GEN)) - byte output[CURVE448_BUFSIZE]; + byte output[ONEK_BUF]; ed448_key ed448Key; WC_RNG rng; word32 inLen; @@ -497,7 +497,7 @@ int test_wc_Ed448PrivateKeyToDer(void) EXPECT_DECLS; #if defined(HAVE_ED448) && defined(HAVE_ED448_KEY_EXPORT) && \ (defined(WOLFSSL_CERT_GEN) || defined(WOLFSSL_KEY_GEN)) - byte output[CURVE448_BUFSIZE]; + byte output[ONEK_BUF]; ed448_key ed448PrivKey; WC_RNG rng; word32 inLen;