Initialize Tizen 2.3
[external/nettle.git] / testsuite / sha1-huge-test.c
1 #include "testutils.h"
2 #include "sha.h"
3
4 int
5 test_main(void)
6 {
7   /* Hashes 10 000 000 x 30 000 bytes > 64 * 2^32. This overflows the
8      low word of the block counter. This test vector is not cross
9      checked with any other sha1 implementation. */
10   test_hash_large(&nettle_sha1, 10000000, 30000, 'a',
11                   H("0ba79364dc64648f 2074fb4bc5c28bcf"
12                     "b7a787b0"));
13
14   SUCCESS();
15 }