From d2c53c32295e7f6836d59a80ca39cf54432cfafc Mon Sep 17 00:00:00 2001 From: toddouska Date: Thu, 7 May 2015 15:25:20 -0700 Subject: [PATCH] reduce wolfcrypt test stack use, curve25519 --- wolfcrypt/test/test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wolfcrypt/test/test.c b/wolfcrypt/test/test.c index ab617ca47..4bf7427b5 100644 --- a/wolfcrypt/test/test.c +++ b/wolfcrypt/test/test.c @@ -5241,10 +5241,10 @@ int ecc_encrypt_test(void) int curve25519_test(void) { RNG rng; - byte sharedA[1024]; - byte sharedB[1024]; + byte sharedA[32]; + byte sharedB[32]; + byte exportBuf[32]; word32 x, y; - byte exportBuf[1024]; curve25519_key userA, userB, pubKey; /* test vectors from