reduce wolfcrypt test stack use, curve25519

This commit is contained in:
toddouska
2015-05-07 15:25:20 -07:00
parent d4982bb988
commit d2c53c3229

View File

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