Commit 66fe5970 authored by Mans Rullgard's avatar Mans Rullgard

des: reduce number of iterations in test program

Testing a million random keys takes annoying long time.
1000 iterations should be enough.
Signed-off-by: 's avatarMans Rullgard <mans@mansr.com>
parent 904b5d30
...@@ -402,7 +402,7 @@ int main(void) { ...@@ -402,7 +402,7 @@ int main(void) {
printf("Partial Monte-Carlo test failed\n"); printf("Partial Monte-Carlo test failed\n");
return 1; return 1;
} }
for (i = 0; i < 1000000; i++) { for (i = 0; i < 1000; i++) {
key[0] = rand64(); key[1] = rand64(); key[2] = rand64(); key[0] = rand64(); key[1] = rand64(); key[2] = rand64();
data = rand64(); data = rand64();
av_des_init(&d, key, 192, 0); av_des_init(&d, key, 192, 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment