forked from wolfSSL/wolfssl
Revert Ed448 and Ed25519 test changes.
This commit is contained in:
@@ -481,7 +481,7 @@ int test_wc_Ed25519PublicKeyToDer(void)
|
|||||||
#if defined(HAVE_ED25519) && defined(HAVE_ED25519_KEY_EXPORT) && \
|
#if defined(HAVE_ED25519) && defined(HAVE_ED25519_KEY_EXPORT) && \
|
||||||
(defined(WOLFSSL_CERT_GEN) || defined(WOLFSSL_KEY_GEN))
|
(defined(WOLFSSL_CERT_GEN) || defined(WOLFSSL_KEY_GEN))
|
||||||
ed25519_key key;
|
ed25519_key key;
|
||||||
byte derBuf[CURVE25519_BUFSIZE];
|
byte derBuf[1024];
|
||||||
|
|
||||||
XMEMSET(&key, 0, sizeof(ed25519_key));
|
XMEMSET(&key, 0, sizeof(ed25519_key));
|
||||||
|
|
||||||
@@ -523,7 +523,7 @@ int test_wc_Ed25519KeyToDer(void)
|
|||||||
EXPECT_DECLS;
|
EXPECT_DECLS;
|
||||||
#if defined(HAVE_ED25519) && defined(HAVE_ED25519_KEY_EXPORT) && \
|
#if defined(HAVE_ED25519) && defined(HAVE_ED25519_KEY_EXPORT) && \
|
||||||
(defined(WOLFSSL_CERT_GEN) || defined(WOLFSSL_KEY_GEN))
|
(defined(WOLFSSL_CERT_GEN) || defined(WOLFSSL_KEY_GEN))
|
||||||
byte output[CURVE25519_BUFSIZE];
|
byte output[ONEK_BUF];
|
||||||
ed25519_key ed25519Key;
|
ed25519_key ed25519Key;
|
||||||
WC_RNG rng;
|
WC_RNG rng;
|
||||||
word32 inLen;
|
word32 inLen;
|
||||||
@@ -563,7 +563,7 @@ int test_wc_Ed25519PrivateKeyToDer(void)
|
|||||||
EXPECT_DECLS;
|
EXPECT_DECLS;
|
||||||
#if defined(HAVE_ED25519) && defined(HAVE_ED25519_KEY_EXPORT) && \
|
#if defined(HAVE_ED25519) && defined(HAVE_ED25519_KEY_EXPORT) && \
|
||||||
(defined(WOLFSSL_CERT_GEN) || defined(WOLFSSL_KEY_GEN))
|
(defined(WOLFSSL_CERT_GEN) || defined(WOLFSSL_KEY_GEN))
|
||||||
byte output[CURVE25519_BUFSIZE];
|
byte output[ONEK_BUF];
|
||||||
ed25519_key ed25519PrivKey;
|
ed25519_key ed25519PrivKey;
|
||||||
WC_RNG rng;
|
WC_RNG rng;
|
||||||
word32 inLen;
|
word32 inLen;
|
||||||
|
Reference in New Issue
Block a user