Commit 7840b46e authored by Niels Möller's avatar Niels Möller
Browse files

(test_main): New test case, with a

very large sha1 input.

Rev: src/nettle/testsuite/sha1-huge-test.c:1.1
parent 96e96fe1
#include "testutils.h"
#include "sha.h"
/* Hashes 10 000 000 x 30 000 bytes > 64 * 2^32. This overflows the
low word of the block counter. This test vector is not cross
checked with any other sha1 implementation. */
test_hash_large(&nettle_sha1, 10000000, 30000, 'a',
H("0ba79364dc64648f 2074fb4bc5c28bcf"
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