aboutsummaryrefslogtreecommitdiffstats
path: root/test/c/siphash24.c
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2017-08-26 10:04:43 +0200
committerXavier Leroy <xavier.leroy@inria.fr>2017-08-26 10:04:43 +0200
commitf6cbce233ef89c30bbc8334c800e8a205677ec8b (patch)
tree5d71e539a0241c74c6cf99a1b9c99843411d04f8 /test/c/siphash24.c
parent4affb2b02e486681b39add0dbaf4f873a91885c8 (diff)
downloadcompcert-kvx-f6cbce233ef89c30bbc8334c800e8a205677ec8b.tar.gz
compcert-kvx-f6cbce233ef89c30bbc8334c800e8a205677ec8b.zip
Reduce the running times of the tests in test/c
Running times were too long when executed on low-end ARM or PowerPC hardware, or under QEMU emulation.
Diffstat (limited to 'test/c/siphash24.c')
-rw-r--r--test/c/siphash24.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/c/siphash24.c b/test/c/siphash24.c
index 3af4aa04..4a42e013 100644
--- a/test/c/siphash24.c
+++ b/test/c/siphash24.c
@@ -241,7 +241,7 @@ int speed_test(void)
int i;
for(i = 0; i < 16; ++i ) k[i] = i;
- for(i = 0; i < 10000000; i++) {
+ for(i = 0; i < 1000000; i++) {
testdata[99] = (u8) i;
crypto_auth(out, testdata, 100, k);
}