Revert Ed448 and Ed25519 test changes.

This commit is contained in:
Bill Phipps
2025-04-08 16:09:20 -04:00
parent 99144ee58b
commit 65b1bf2c03

View File

@ -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;