Remove dead globals, bump the number of rounds in the box{7,8} tests

This commit is contained in:
Frank Denis 2015-12-09 01:43:57 +01:00
parent d9e38003dc
commit 054579d3bb
2 changed files with 2 additions and 5 deletions

View File

@ -7,9 +7,6 @@ static unsigned char alicepk[crypto_box_PUBLICKEYBYTES];
static unsigned char bobsk[crypto_box_SECRETKEYBYTES];
static unsigned char bobpk[crypto_box_PUBLICKEYBYTES];
static unsigned char n[crypto_box_NONCEBYTES];
static unsigned char m[10000];
static unsigned char c[10000];
static unsigned char m2[10000];
int main(void)
{
@ -17,7 +14,7 @@ int main(void)
unsigned char *c;
unsigned char *m2;
size_t mlen;
size_t mlen_max = 600;
size_t mlen_max = 1000;
size_t i;
int ret;

View File

@ -14,7 +14,7 @@ int main(void)
unsigned char *c;
unsigned char *m2;
size_t mlen;
size_t mlen_max = 600;
size_t mlen_max = 1000;
size_t i;
int faults;
int ret;