aboutsummaryrefslogtreecommitdiffstats
path: root/sha_256.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-08-24 00:28:01 +0200
committerMattias Andrée <maandree@kth.se>2024-08-24 00:28:01 +0200
commit5dc20ecaf0bd3b8e96d15b9d25ee306ba50bb654 (patch)
tree5182f9cc51087e3b0ebbf07d6227d4967321535c /sha_256.c
parentDocument when things were introduced (diff)
downloadlibhashsum-5dc20ecaf0bd3b8e96d15b9d25ee306ba50bb654.tar.gz
libhashsum-5dc20ecaf0bd3b8e96d15b9d25ee306ba50bb654.tar.bz2
libhashsum-5dc20ecaf0bd3b8e96d15b9d25ee306ba50bb654.tar.xz
Disable the massive tests
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--sha_256.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sha_256.c b/sha_256.c
index d072a95..23bf526 100644
--- a/sha_256.c
+++ b/sha_256.c
@@ -15,9 +15,11 @@ static struct testcase testcases[] = {
{1000UL, 0, "A", "c2e686823489ced2017f6059b8b239318b6364f6dcd835d0a519105a1eadd6e4"},
{1005UL, 0, "U", "f4d62ddec0f3dd90ea1380fa16a5ff8dc4c54b21740650f24afc4120903552b0"},
{1000000UL, 8, "\0", "d29751f2649b32ff572b5e0a9f541ea660a50f94ff0beedfb0b692b924cc8025"},
+#ifdef MASSIVE_TESTS
{0x20000000UL, 0, "Z", "15a1868c12cc53951e182344277447cd0979536badcc512ad24c67e9b2d4f3dd"},
{0x41000000UL, 8, "\0", "461c19a93bd4344f9215f5ec64357090342bc66b15a148317d276e31cbc20b53"},
{0x6000003EUL, 0, "B", "c23ce8a7895f4b21ec0daf37920ac0a262a220045a03eb2dfed48ef9b05aabea"},
+#endif
{1, 0, "abc", "ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad"},
{1, 0, "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
"248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1"}