Test for (secret)box_easy behavior with a huge input.
This commit is contained in:
parent
877bf76716
commit
31d842a432
@ -42,5 +42,8 @@ int main(void)
|
||||
printf("\n");
|
||||
}
|
||||
printf("\n");
|
||||
|
||||
assert(crypto_box_easy(c, m, SIZE_MAX - 1U, nonce, bobpk, alicesk) == -1);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -50,5 +50,8 @@ int main(void)
|
||||
if (i % 8 == 7)
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
assert(crypto_secretbox_easy(c, m, SIZE_MAX - 1U, nonce, firstkey) == -1);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user