aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/blake224.c28
-rw-r--r--t/blake256.c28
-rw-r--r--t/blake384.c34
-rw-r--r--t/blake512.c48
-rw-r--r--t/keccak_224.c22
-rw-r--r--t/keccak_256.c22
-rw-r--r--t/keccak_384.c22
-rw-r--r--t/keccak_512.c24
-rw-r--r--t/md2.c32
-rw-r--r--t/md4.c32
-rw-r--r--t/md5.c123
-rw-r--r--t/ripemd-128.c30
-rw-r--r--t/ripemd-160.c30
-rw-r--r--t/ripemd-256.c39
-rw-r--r--t/ripemd-320.c39
-rw-r--r--t/sha0.c22
-rw-r--r--t/sha1.c37
-rw-r--r--t/sha3_224.c352
-rw-r--r--t/sha3_256.c22
-rw-r--r--t/sha3_384.c22
-rw-r--r--t/sha3_512.c24
-rw-r--r--t/sha_224.c37
-rw-r--r--t/sha_256.c40
-rw-r--r--t/sha_384.c51
-rw-r--r--t/sha_512.c66
-rw-r--r--t/sha_512_224.c26
-rw-r--r--t/sha_512_256.c26
27 files changed, 1278 insertions, 0 deletions
diff --git a/t/blake224.c b/t/blake224.c
new file mode 100644
index 0000000..6ea936a
--- /dev/null
+++ b/t/blake224.c
@@ -0,0 +1,28 @@
+/* See LICENSE file for copyright and license details. */
+#ifdef SUPPORT_BLAKE224
+# define TEST
+# include "common.h"
+
+
+static struct testcase testcases[] = {
+ {1, 0, "", "7dc5313b1c04512a174bd6503b89607aecbee0903d40a8a569c94eed"},
+ {1, 8, "\xcc", "5e21c1e375c7bc822046fad96910c95031bd4262ada71b4c91052fea"},
+ {1, 16, "\x41\xfb", "195707e8ce71fb91c2c82ccf78022609a598bd80c9a505ef035314db"},
+ {1, 24, "\x1f\x87\x7c", "4239b4afa926f2269b117059dc0310033c9c85acea1a031f97cd4e2a"},
+ {1, 32, "\xc1\xec\xfd\xfc", "9cd80af6d0181b831e1879959f287735c9cbf5d1e480e7341266d6f0"},
+ {1, 40, "\x21\xf1\x34\xac\x57", "9e908983741757ff632c01f2b2c4d7f1ec8e642d112c212ba9739fd1"},
+ {1, 48, "\xc6\xf5\x0b\xb7\x4e\x29", "6d6d952053aead200de9daa856c2993a7a7fa4a15b3924fb77dbb384"}
+};
+
+
+#else
+# define TEST_UNSUPPORTED
+# include "common.h"
+#endif
+
+
+int
+main(void)
+{
+ TEST_MAIN("BLAKE224", BLAKE224);
+}
diff --git a/t/blake256.c b/t/blake256.c
new file mode 100644
index 0000000..fb64714
--- /dev/null
+++ b/t/blake256.c
@@ -0,0 +1,28 @@
+/* See LICENSE file for copyright and license details. */
+#ifdef SUPPORT_BLAKE256
+# define TEST
+# include "common.h"
+
+
+static struct testcase testcases[] = {
+ {1, 0, "", "716f6e863f744b9ac22c97ec7b76ea5f5908bc5b2f67c61510bfc4751384ea7a"},
+ {1, 8, "\xcc", "e104256a2bc501f459d03fac96b9014f593e22d30f4de525fa680c3aa189eb4f"},
+ {1, 16, "\x41\xfb", "8f341148be7e354fdf38b693d8c6b4e0bd57301a734f6fd35cd85b8491c3ddcd"},
+ {1, 24, "\x1f\x87\x7c", "bc334d1069099f10c601883ac6f3e7e9787c6aa53171f76a21923cc5ad3ab937"},
+ {1, 32, "\xc1\xec\xfd\xfc", "b672a16f53982bab1e77685b71c0a5f6703ffd46a1c834be69f614bd128d658e"},
+ {1, 40, "\x21\xf1\x34\xac\x57", "d9134b2899057a7d8d320cc99e3e116982bc99d3c69d260a7f1ed3da8be68d99"},
+ {1, 48, "\xc6\xf5\x0b\xb7\x4e\x29", "637923bd29a35aa3ecbbd2a50549fc32c14cf0fdcaf41c3194dd7414fd224815"}
+};
+
+
+#else
+# define TEST_UNSUPPORTED
+# include "common.h"
+#endif
+
+
+int
+main(void)
+{
+ TEST_MAIN("BLAKE256", BLAKE256);
+}
diff --git a/t/blake384.c b/t/blake384.c
new file mode 100644
index 0000000..30623a6
--- /dev/null
+++ b/t/blake384.c
@@ -0,0 +1,34 @@
+/* See LICENSE file for copyright and license details. */
+#ifdef SUPPORT_BLAKE384
+# define TEST
+# include "common.h"
+
+
+static struct testcase testcases[] = {
+ {1, 0, "", "c6cbd89c926ab525c242e6621f2f5fa73aa4afe3d9e24aed727faaadd6af38b620bdb623dd2b4788b1c8086984af8706"},
+ {1, 8, "\xcc",
+ "a77e65c0c03ecb831dbcdd50a3c2bce300d55eac002a9c197095518d8514c0b578e3ecb7415291f99ede91d49197dd05"},
+ {1, 16, "\x41\xfb",
+ "e80a87362c9d39e2074ac135e2514b0cdf0001bfd8c35888d7ca8bbc4e918a157386524d41579e7fcd9c3c9a4f7a991a"},
+ {1, 24, "\x1f\x87\x7c",
+ "d67cfa1b09c8c050094ea018bb5ecd3ce0c02835325467a8fa79701f0ad6bbd4a34947bbaa2fc5f9379985ccd6a1dc0e"},
+ {1, 32, "\xc1\xec\xfd\xfc",
+ "7a57c41d850b7ab51c6075aba299ff649fdaf08a4c37088ece73b21304b1072c21930cc34ac6b0fc5f27b95f4f389b26"},
+ {1, 40, "\x21\xf1\x34\xac\x57",
+ "324155f4f5e346bfe0b08e9642bebe86505795be186146d30242273ebebb3d51e076b1105ab647c130e6efc0b75072a7"},
+ {1, 48, "\xc6\xf5\x0b\xb7\x4e\x29",
+ "5ddb50068ca430bffae7e5a8bbcb2c59171743cce027c0ea937fa2b511848192af2aca98ead30b0850b4d2d1542decdb"}
+};
+
+
+#else
+# define TEST_UNSUPPORTED
+# include "common.h"
+#endif
+
+
+int
+main(void)
+{
+ TEST_MAIN("BLAKE384", BLAKE384);
+}
diff --git a/t/blake512.c b/t/blake512.c
new file mode 100644
index 0000000..83cff39
--- /dev/null
+++ b/t/blake512.c
@@ -0,0 +1,48 @@
+/* See LICENSE file for copyright and license details. */
+#ifdef SUPPORT_BLAKE512
+# define TEST
+# include "common.h"
+
+
+static struct testcase testcases[] = {
+ {1, 0, "",
+ "a8cfbbd73726062df0c6864dda65defe58ef0cc52a5625090fa17601e1eecd1b"
+ "628e94f396ae402a00acc9eab77b4d4c2e852aaaa25a636d80af3fc7913ef5b8"},
+ {1, 0, "The quick brown fox jumps over the lazy dog",
+ "1f7e26f63b6ad25a0896fd978fd050a1766391d2fd0471a77afb975e5034b7ad"
+ "2d9ccf8dfb47abbbe656e1b82fbc634ba42ce186e8dc5e1ce09a885d41f43451"},
+ {1, 0, "The quick brown fox jumps over the lazy dof",
+ "a701c2a1f9baabd8b1db6b75aee096900276f0b86dc15d247ecc03937b370324"
+ "a16a4ffc0c3a85cd63229cfa15c15f4ba6d46ae2e849ed6335e9ff43b764198a"},
+ {1, 8, "\xcc",
+ "4f0ef594f20172d23504873f596984c64c1583c7b2abb8d8786aa2aeeae1c46c"
+ "744b61893d661b0733b76d1fe19257dd68e0ef05422ca25d058dfe6c33d68709"},
+ {1, 16, "\x41\xfb",
+ "20afd72afbb66a5a0efd8b4a627cc2c82a5e4b6c63b0c9a78735c188d248c758"
+ "8fb4ee566b3b6fdcc235a498f7263feb7ab1411582a7055e3ce7a8c976e61fcc"},
+ {1, 24, "\x1f\x87\x7c",
+ "b1211367fd8a886674f74d92716e7585f9b6e933edc5ee7f974facdccc481cfa"
+ "42a0532375b94f2c0dd73d6189a815c2bafb5686d784be81fbb447b0f291272b"},
+ {1, 32, "\xc1\xec\xfd\xfc",
+ "ccbcdbc1a30ebbcc4fc015fdb1caba6c0ad6719301b4bbad4b0efab1141174a1"
+ "5e2e8b8b8e5671c1864a0f75ecb20f76dac45159e67786d07d79a29b1827e5a4"},
+ {1, 40, "\x21\xf1\x34\xac\x57",
+ "ec6eaabc2a128c38dfcddf9aaad5bb6fba397aac06a4b584b2dbdeb0cd7fdb1f"
+ "d248ef93c0686b73818b2b78c923c70eba63c096f33d842ada959f7674e4730c"},
+ {1, 48, "\xc6\xf5\x0b\xb7\x4e\x29",
+ "b6e8a7380df1f007d7c271e7255bbca7714f25029ac1fd6fe92ef74cbcd9e99c"
+ "112f8ae1a45ccb566ce19d9678a122c612beff5f8eeeee3f3f402fd2781182d4"}
+};
+
+
+#else
+# define TEST_UNSUPPORTED
+# include "common.h"
+#endif
+
+
+int
+main(void)
+{
+ TEST_MAIN("BLAKE512", BLAKE512);
+}
diff --git a/t/keccak_224.c b/t/keccak_224.c
new file mode 100644
index 0000000..7b0a180
--- /dev/null
+++ b/t/keccak_224.c
@@ -0,0 +1,22 @@
+/* See LICENSE file for copyright and license details. */
+#ifdef SUPPORT_KECCAK
+# define TEST
+# include "common.h"
+
+
+static struct testcase testcases[] = {
+ {1, 0, "", "f71837502ba8e10837bdd8d365adb85591895602fc552b48b7390abd"}
+};
+
+
+#else
+# define TEST_UNSUPPORTED
+# include "common.h"
+#endif
+
+
+int
+main(void)
+{
+ TEST_MAIN("Keccak-224", KECCAK_224);
+}
diff --git a/t/keccak_256.c b/t/keccak_256.c
new file mode 100644
index 0000000..9c7a4cc
--- /dev/null
+++ b/t/keccak_256.c
@@ -0,0 +1,22 @@
+/* See LICENSE file for copyright and license details. */
+#ifdef SUPPORT_KECCAK
+# define TEST
+# include "common.h"
+
+
+static struct testcase testcases[] = {
+ {1, 0, "", "c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470"}
+};
+
+
+#else
+# define TEST_UNSUPPORTED
+# include "common.h"
+#endif
+
+
+int
+main(void)
+{
+ TEST_MAIN("Keccak-256", KECCAK_256);
+}
diff --git a/t/keccak_384.c b/t/keccak_384.c
new file mode 100644
index 0000000..ac14a1a
--- /dev/null
+++ b/t/keccak_384.c
@@ -0,0 +1,22 @@
+/* See LICENSE file for copyright and license details. */
+#ifdef SUPPORT_KECCAK
+# define TEST
+# include "common.h"
+
+
+static struct testcase testcases[] = {
+ {1, 0, "", "2c23146a63a29acf99e73b88f8c24eaa7dc60aa771780ccc006afbfa8fe2479b2dd2b21362337441ac12b515911957ff"}
+};
+
+
+#else
+# define TEST_UNSUPPORTED
+# include "common.h"
+#endif
+
+
+int
+main(void)
+{
+ TEST_MAIN("Keccak-384", KECCAK_384);
+}
diff --git a/t/keccak_512.c b/t/keccak_512.c
new file mode 100644
index 0000000..d30563a
--- /dev/null
+++ b/t/keccak_512.c
@@ -0,0 +1,24 @@
+/* See LICENSE file for copyright and license details. */
+#ifdef SUPPORT_KECCAK
+# define TEST
+# include "common.h"
+
+
+static struct testcase testcases[] = {
+ {1, 0, "",
+ "0eab42de4c3ceb9235fc91acffe746b29c29a8c366b7c60e4e67c466f36a4304"
+ "c00fa9caf9d87976ba469bcbe06713b435f091ef2769fb160cdab33d3670680e"}
+};
+
+
+#else
+# define TEST_UNSUPPORTED
+# include "common.h"
+#endif
+
+
+int
+main(void)
+{
+ TEST_MAIN("Keccak-512", KECCAK_512);
+}
diff --git a/t/md2.c b/t/md2.c
new file mode 100644
index 0000000..9c15cea
--- /dev/null
+++ b/t/md2.c
@@ -0,0 +1,32 @@
+/* See LICENSE file for copyright and license details. */
+#ifdef SUPPORT_MD2
+# define TEST
+# include "common.h"
+
+
+static struct testcase testcases[] = {
+ {1, 0, "The quick brown fox jumps over the lazy dog", "03d85a0d629d2c442e987525319fc471"},
+ {1, 0, "The quick brown fox jumps over the lazy cog", "6b890c9292668cdbbfda00a4ebf31f05"},
+ {1, 0, "", "8350e5a3e24c153df2275c9f80692773"},
+ {1, 0, "a", "32ec01ec4a6dac72c0ab96fb34c0b5d1"},
+ {1, 0, "abc", "da853b0d3f88d99b30283a69e6ded6bb"},
+ {1, 0, "message digest", "ab4f496bfb2a530b219ff33031fe06b0"},
+ {1, 0, "abcdefghijklmnopqrstuvwxyz", "4e8ddff3650292ab5a4108c3aa47940b"},
+ {1, 0, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", "da33def2a42df13975352846c30338cd"},
+ {1, 0, "12345678901234567890123456789012345678901234567890123456789012345678901234567890", "d5976f79d83d3a0dc9806c3c66f3efd8"},
+ {1, 0, "1234567890123456789012345678901234567890123456789012345678901234", "1a07a94849157fc19442f42e84225ebd"},
+ {1000000UL, 0, "a", NULL}
+};
+
+
+#else
+# define TEST_UNSUPPORTED
+# include "common.h"
+#endif
+
+
+int
+main(void)
+{
+ TEST_MAIN("MD2", MD2);
+}
diff --git a/t/md4.c b/t/md4.c
new file mode 100644
index 0000000..065ca26
--- /dev/null
+++ b/t/md4.c
@@ -0,0 +1,32 @@
+/* See LICENSE file for copyright and license details. */
+#ifdef SUPPORT_MD4
+# define TEST
+# include "common.h"
+
+
+static struct testcase testcases[] = {
+ {1, 0, "The quick brown fox jumps over the lazy dog", "1bee69a46ba811185c194762abaeae90"},
+ {1, 0, "The quick brown fox jumps over the lazy cog", "b86e130ce7028da59e672d56ad0113df"},
+ {1, 0, "", "31d6cfe0d16ae931b73c59d7e0c089c0"},
+ {1, 0, "a", "bde52cb31de33e46245e05fbdbd6fb24"},
+ {1, 0, "abc", "a448017aaf21d8525fc10ae87aa6729d"},
+ {1, 0, "message digest", "d9130a8164549fe818874806e1c7014b"},
+ {1, 0, "abcdefghijklmnopqrstuvwxyz", "d79e1c308aa5bbcdeea8ed63df412da9"},
+ {1, 0, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", "043f8582f241db351ce627e153e7f0e4"},
+ {1, 0, "12345678901234567890123456789012345678901234567890123456789012345678901234567890", "e33b4ddc9c38f2199c3e7b164fcc0536"},
+ {1, 0, "1234567890123456789012345678901234567890123456789012345678901234", "c30a2de7d6eb547b4ceb82d65e28c029"},
+ {1000000UL, 0, "a", NULL}
+};
+
+
+#else
+# define TEST_UNSUPPORTED
+# include "common.h"
+#endif
+
+
+int
+main(void)
+{
+ TEST_MAIN("MD4", MD4);
+}
diff --git a/t/md5.c b/t/md5.c
new file mode 100644
index 0000000..a56ecfc
--- /dev/null
+++ b/t/md5.c
@@ -0,0 +1,123 @@
+/* See LICENSE file for copyright and license details. */
+#ifdef SUPPORT_MD5
+# define TEST
+# include "common.h"
+
+
+static struct testcase testcases[] = {
+ {1, 0, "", "d41d8cd98f00b204e9800998ecf8427e"},
+ {1, 0, "a\n", "60b725f10c9c85c70d97880dfe8191b3"},
+ {1, 0, "a", "0cc175b9c0f1b6a831c399e269772661"},
+ {1, 0, "\n", "68b329da9893e34099c7d8ad5cb9c940"},
+ {1, 0, "\n\n", "e1c06d85ae7b8b032bef47e42e4c08f9"},
+ {1, 40, "\0\0\0\0\n", "220837fefd71ea604ab9f99017c9cb0e"},
+ {1, 0, "abc", "900150983cd24fb0d6963f7d28e17f72"},
+ {1, 0, "The quick brown fox jumps over the lazy dog",
+ "9e107d9d372bb6826bd81d3542a419d6"},
+ {1, 0, "The quick brown fox jumps over the lazy dog.",
+ "e4d909c290d0fb1ca068ffaddf22cbd0"},
+ {1, 0, "a\nb\nc\nd\ne\n",
+ "1065e32f2cfab7352c6d3211f5447069"},
+ {1, 0, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
+ "d174ab98d277d9f5a5611c2c9f419d9f"},
+ {1, 0, "12345678901234567890123456789012345678901234567890123456789012345678901234567890",
+ "57edf4a22be3c955ac49da2e2107b67a"},
+ {1, 0, "abcdefghijklmnopqrstuvwxyz",
+ "c3fcd3d76192e4007dfb496cca67e13b"},
+ {1UL, 0, "x", "9dd4e461268c8034f5c8564e155c67a6"},
+ {2UL, 0, "x", "9336ebf25087d91c818ee6e9ec29f8c1"},
+ {3UL, 0, "x", "f561aaf6ef0bf14d4208bb46a4ccb3ad"},
+ {4UL, 0, "x", "ea416ed0759d46a8de58f63a59077499"},
+ {5UL, 0, "x", "fb0e22c79ac75679e9881e6ba183b354"},
+ {6UL, 0, "x", "dad3a37aa9d50688b5157698acfd7aee"},
+ {7UL, 0, "x", "04adb4e2f055c978c9bb101ee1bc5cd4"},
+ {8UL, 0, "x", "0b0cfc07fca81c956ab9181d8576f4a8"},
+ {9UL, 0, "x", "aba369f7d2b28a9098a0a26feb7dc965"},
+ {10UL, 0, "x", "336311a016184326ddbdd61edd4eeb52"},
+ {11UL, 0, "x", "dcb740b2c2836cb11f707d63e6ac664f"},
+ {12UL, 0, "x", "f94c84fac5cb091c60bb143cb957d229"},
+ {13UL, 0, "x", "df7c0a3fa59809752be392c52c4a0559"},
+ {14UL, 0, "x", "4e619f5b28df4a9744963e6700abe7ca"},
+ {15UL, 0, "x", "de59bd9061c93855e3fdd416e26f27a6"},
+ {16UL, 0, "x", "45ed9cc2f92b77cd8b2f5bd59ff635f8"},
+ {17UL, 0, "x", "3ef82839679f05ef260e3ac982de93cd"},
+ {18UL, 0, "x", "40e6267e5814c629b8e292735a77e2a9"},
+ {19UL, 0, "x", "079080d02c875b5a30be6e1e59ce6aa3"},
+ {20UL, 0, "x", "baf1da0e2b9065ab5edd36ca00ed1826"},
+ {28UL, 0, "x", "cd25b7f1c589ff14b9e9c0c5c2555ff2"},
+ {29UL, 0, "x", "0d046efba26ac1a3f561246081c086e7"},
+ {30UL, 0, "x", "4495c1948d806f6dd8cbd8e15f7e254a"},
+ {31UL, 0, "x", "48e95c91781dcf2c5eb90da6e8dcc14d"},
+ {32UL, 0, "x", "dc8fe1d6497ebd23f5975d8d2a1c5e81"},
+ {33UL, 0, "x", "b7b82191a246d3563ed060e298add91d"},
+ {34UL, 0, "x", "07e932fcd783c8deab1d20a49ed80c39"},
+ {35UL, 0, "x", "d77c54ec53a4ef5d5f81ed5685560e31"},
+ {36UL, 0, "x", "7c3f98f113332d38d08b5e9014792ba0"},
+ {60UL, 0, "x", "1198000c11968f9368e02d6da57ec147"},
+ {61UL, 0, "x", "ee8c65d71323cc65e6e8535663ea817c"},
+ {62UL, 0, "x", "31f6affeacbf0a8196f061a4e49a8a15"},
+ {63UL, 0, "x", "7dc2ca208106a2f703567bdff99d8981"},
+ {64UL, 0, "x", "c1bb4f81d892b2d57947682aeb252456"},
+ {65UL, 0, "x", "1bc932052302d074bdec39795fe00cf6"},
+ {66UL, 0, "x", "3c8d35046511f6b1b05e721d4f60256e"},
+ {67UL, 0, "x", "4bbca3f0abeaab4b7342a77e75f31d58"},
+ {68UL, 0, "x", "ffec2ae499ea42e2a8fa19b167e873dc"},
+ {124UL, 0, "x", "a35da70d31690b66cabdd4288671c263"},
+ {125UL, 0, "x", "09caa6eb477f42e8e19f5f3b4b42d849"},
+ {126UL, 0, "x", "8dd415f6a3a27df0899c8c6b54ea27ed"},
+ {127UL, 0, "x", "a0b28c1da68705c2ff883fe279b72753"},
+ {128UL, 0, "x", "d69cb61a6ee87200676eb0d4b90edbcb"},
+ {129UL, 0, "x", "3926841d393c00c3f36260e5ace10dc1"},
+ {130UL, 0, "x", "cfc92f41305ca00c9f9584bf67ae1b54"},
+ {131UL, 0, "x", "6cc46654feb888930c09d25f5c4d45a8"},
+ {132UL, 0, "x", "326c994f14a44790edbe0aa08dce10c5"},
+ {252UL, 0, "x", "96897c58b701383553034d7027eef698"},
+ {253UL, 0, "x", "1a244ae9fefe18985dbeec401592f821"},
+ {254UL, 0, "x", "1bfbf8d01c1d8d19664a9834edf6a182"},
+ {255UL, 0, "x", "cb3ead3ffb3d928128c57a88ddc023c9"},
+ {256UL, 0, "x", "c7a139a2b8e92164276f778917ba10b9"},
+ {257UL, 0, "x", "d36a37136d406826a19f8d222217fcf2"},
+ {258UL, 0, "x", "b53fb5e097ce58fa2e4ca1ddd9cb4c17"},
+ {259UL, 0, "x", "212075aa9ea2f4dfcd787fd722c6ca36"},
+ {260UL, 0, "x", "a9c279980354afb717ecb974915f5735"},
+ {508UL, 0, "x", "4dc1fad83b9ed2d53e6ee24ec6e3cd77"},
+ {509UL, 0, "x", "d5e9a6bb15c49dd852836ad1e3b7cc55"},
+ {510UL, 0, "x", "68c0b8dbb509c84b314782acb7fa8f52"},
+ {511UL, 0, "x", "dc1c50246bf0c9d112ae426500a49ccd"},
+ {512UL, 0, "x", "9147bc1f0f20e8ae1932e616b51240fb"},
+ {513UL, 0, "x", "d70999aa02d6479b04bc87c1c60a5073"},
+ {514UL, 0, "x", "51010e21c8ba2f8f37e312a2fa34795c"},
+ {515UL, 0, "x", "7f5d20b68c0da40ce24d0124ad5ad67f"},
+ {516UL, 0, "x", "2b6c8b791a19fd9de9dc5aba0ed7bf6d"},
+ {1020UL, 0, "x", "b73908fc7f1175d53183e646f4298478"},
+ {1021UL, 0, "x", "e52374c56cbf8a50e133ef7f8c9aeb50"},
+ {1022UL, 0, "x", "5e4d064e9476082eb78ba62a31c0935c"},
+ {1023UL, 0, "x", "7c944a22b4db95dd90b61331cafe605c"},
+ {1024UL, 0, "x", "7265f4d211b56873a381d321f586e4a9"},
+ {1025UL, 0, "x", "41b2b8ce59ecc0c64c9c7ecaae3002c3"},
+ {1026UL, 0, "x", "aabf55b958bc5b71749ee9c64523933f"},
+ {1027UL, 0, "x", "f8f06f8e36e9435183db627789cdd691"},
+ {1028UL, 0, "x", "8f1c68e076235ba5f52bf16f41b12194"},
+ {2044UL, 0, "x", "43c5028529ab5f64903b1e1459948a7f"},
+ {2045UL, 0, "x", "ea156212359f7894058fa2cc4193b0d7"},
+ {2046UL, 0, "x", "a77d0af5147801eceda2e059a6ee8eb4"},
+ {2047UL, 0, "x", "5aa00f0f1280c998648ecae491964f66"},
+ {2048UL, 0, "x", "cfb767f225d58469c5de3632a8803958"},
+ {2049UL, 0, "x", "01ee208262ef50b8ea672d0865ad58fa"},
+ {2050UL, 0, "x", "da23b925b41f6160146ade5dc7f65281"},
+ {2051UL, 0, "x", "2583da14d43398956e19e24a6f591748"},
+ {2052UL, 0, "x", "2388049a9674713a2e82cd59d2cc9241"}
+};
+
+
+#else
+# define TEST_UNSUPPORTED
+# include "common.h"
+#endif
+
+
+int
+main(void)
+{
+ TEST_MAIN("MD5", MD5);
+}
diff --git a/t/ripemd-128.c b/t/ripemd-128.c
new file mode 100644
index 0000000..993c031
--- /dev/null
+++ b/t/ripemd-128.c
@@ -0,0 +1,30 @@
+/* See LICENSE file for copyright and license details. */
+#ifdef SUPPORT_RIPEMD_128
+# define TEST
+# include "common.h"
+
+
+static struct testcase testcases[] = {
+ {1, 0, "", "cdf26213a150dc3ecb610f18f6b38b46"},
+ {1, 0, "a", "86be7afa339d0fc7cfc785e72f578d33"},
+ {1, 0, "abc", "c14a12199c66e4ba84636b0f69144c77"},
+ {1, 0, "message digest", "9e327b3d6e523062afc1132d7df9d1b8"},
+ {1, 0, "abcdefghijklmnopqrstuvwxyz", "fd2aa607f71dc8f510714922b371834e"},
+ {1, 0, "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq", "a1aa0689d0fafa2ddc22e88b49133a06"},
+ {1, 0, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", "d1e959eb179c911faea4624c60c5c702"},
+ {8, 0, "1234567890", "3f45ef194732c2dbb2c4a2c769795fa3"},
+ {1000000UL, 0, "a", "4a7f5723f954eba1216c9d8f6320431f"}
+};
+
+
+#else
+# define TEST_UNSUPPORTED
+# include "common.h"
+#endif
+
+
+int
+main(void)
+{
+ TEST_MAIN("RIPEMD-128", RIPEMD_128);
+}
diff --git a/t/ripemd-160.c b/t/ripemd-160.c
new file mode 100644
index 0000000..9f3f4dd
--- /dev/null
+++ b/t/ripemd-160.c
@@ -0,0 +1,30 @@
+/* See LICENSE file for copyright and license details. */
+#ifdef SUPPORT_RIPEMD_160
+# define TEST
+# include "common.h"
+
+
+static struct testcase testcases[] = {
+ {1, 0, "", "9c1185a5c5e9fc54612808977ee8f548b2258d31"},
+ {1, 0, "a", "0bdc9d2d256b3ee9daae347be6f4dc835a467ffe"},
+ {1, 0, "abc", "8eb208f7e05d987a9b044a8e98c6b087f15a0bfc"},
+ {1, 0, "message digest", "5d0689ef49d2fae572b881b123a85ffa21595f36"},
+ {1, 0, "abcdefghijklmnopqrstuvwxyz", "f71c27109c692c1b56bbdceb5b9d2865b3708dbc"},
+ {1, 0, "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq", "12a053384a9c0c88e405a06c27dcf49ada62eb2b"},
+ {1, 0, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", "b0e20b6e3116640286ed3a87a5713079b21f5189"},
+ {8, 0, "1234567890", "9b752e45573d4b39f4dbd3323cab82bf63326bfb"},
+ {1000000UL, 0, "a", "52783243c1697bdbe16d37f97f68f08325dc1528"}
+};
+
+
+#else
+# define TEST_UNSUPPORTED
+# include "common.h"
+#endif
+
+
+int
+main(void)
+{
+ TEST_MAIN("RIPEMD-160", RIPEMD_160);
+}
diff --git a/t/ripemd-256.c b/t/ripemd-256.c
new file mode 100644
index 0000000..a892b2b
--- /dev/null
+++ b/t/ripemd-256.c
@@ -0,0 +1,39 @@
+/* See LICENSE file for copyright and license details. */
+#ifdef SUPPORT_RIPEMD_256
+# define TEST
+# include "common.h"
+
+
+static struct testcase testcases[] = {
+ {1, 0, "",
+ "02ba4c4e5f8ecd1877fc52d64d30e37a2d9774fb1e5d026380ae0168e3c5522d"},
+ {1, 0, "a",
+ "f9333e45d857f5d90a91bab70a1eba0cfb1be4b0783c9acfcd883a9134692925"},
+ {1, 0, "abc",
+ "afbd6e228b9d8cbbcef5ca2d03e6dba10ac0bc7dcbe4680e1e42d2e975459b65"},
+ {1, 0, "message digest",
+ "87e971759a1ce47a514d5c914c392c9018c7c46bc14465554afcdf54a5070c0e"},
+ {1, 0, "abcdefghijklmnopqrstuvwxyz",
+ "649d3034751ea216776bf9a18acc81bc7896118a5197968782dd1fd97d8d5133"},
+ {1, 0, "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
+ "3843045583aac6c8c8d9128573e7a9809afb2a0f34ccc36ea9e72f16f6368e3f"},
+ {1, 0, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
+ "5740a408ac16b720b84424ae931cbb1fe363d1d0bf4017f1a89f7ea6de77a0b8"},
+ {8, 0, "1234567890",
+ "06fdcc7a409548aaf91368c06a6275b553e3f099bf0ea4edfd6778df89a890dd"},
+ {1000000UL, 0, "a",
+ "ac953744e10e31514c150d4d8d7b677342e33399788296e43ae4850ce4f97978"}
+};
+
+
+#else
+# define TEST_UNSUPPORTED
+# include "common.h"
+#endif
+
+
+int
+main(void)
+{
+ TEST_MAIN("RIPEMD-256", RIPEMD_256);
+}
diff --git a/t/ripemd-320.c b/t/ripemd-320.c
new file mode 100644
index 0000000..6d9b954
--- /dev/null
+++ b/t/ripemd-320.c
@@ -0,0 +1,39 @@
+/* See LICENSE file for copyright and license details. */
+#ifdef SUPPORT_RIPEMD_320
+# define TEST
+# include "common.h"
+
+
+static struct testcase testcases[] = {
+ {1, 0, "",
+ "22d65d5661536cdc75c1fdf5c6de7b41b9f27325ebc61e8557177d705a0ec880151c3a32a00899b8"},
+ {1, 0, "a",
+ "ce78850638f92658a5a585097579926dda667a5716562cfcf6fbe77f63542f99b04705d6970dff5d"},
+ {1, 0, "abc",
+ "de4c01b3054f8930a79d09ae738e92301e5a17085beffdc1b8d116713e74f82fa942d64cdbc4682d"},
+ {1, 0, "message digest",
+ "3a8e28502ed45d422f68844f9dd316e7b98533fa3f2a91d29f84d425c88d6b4eff727df66a7c0197"},
+ {1, 0, "abcdefghijklmnopqrstuvwxyz",
+ "cabdb1810b92470a2093aa6bce05952c28348cf43ff60841975166bb40ed234004b8824463e6b009"},
+ {1, 0, "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
+ "d034a7950cf722021ba4b84df769a5de2060e259df4c9bb4a4268c0e935bbc7470a969c9d072a1ac"},
+ {1, 0, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
+ "ed544940c86d67f250d232c30b7b3e5770e0c60c8cb9a4cafe3b11388af9920e1b99230b843c86a4"},
+ {8, 0, "1234567890",
+ "557888af5f6d8ed62ab66945c6d2a0a47ecd5341e915eb8fea1d0524955f825dc717e4a008ab2d42"},
+ {1000000UL, 0, "a",
+ "bdee37f4371e20646b8b0d862dda16292ae36f40965e8c8509e63d1dbddecc503e2b63eb9245bb66"}
+};
+
+
+#else
+# define TEST_UNSUPPORTED
+# include "common.h"
+#endif
+
+
+int
+main(void)
+{
+ TEST_MAIN("RIPEMD-320", RIPEMD_320);
+}
diff --git a/t/sha0.c b/t/sha0.c
new file mode 100644
index 0000000..3627f61
--- /dev/null
+++ b/t/sha0.c
@@ -0,0 +1,22 @@
+/* See LICENSE file for copyright and license details. */
+#ifdef SUPPORT_SHA0
+# define TEST
+# include "common.h"
+
+
+static struct testcase testcases[] = {
+ {1, 0, "abc", "0164b8a914cd2a5e74c4f7ff082c4d97f1edf880"}
+};
+
+
+#else
+# define TEST_UNSUPPORTED
+# include "common.h"
+#endif
+
+
+int
+main(void)
+{
+ TEST_MAIN("SHA0", SHA0);
+}
diff --git a/t/sha1.c b/t/sha1.c
new file mode 100644
index 0000000..2ca4917
--- /dev/null
+++ b/t/sha1.c
@@ -0,0 +1,37 @@
+/* See LICENSE file for copyright and license details. */
+#ifdef SUPPORT_SHA1
+# define TEST
+# include "common.h"
+
+
+static struct testcase testcases[] = {
+ {1, 0, "", "da39a3ee5e6b4b0d3255bfef95601890afd80709"},
+ {1, 0, "\xff", "85e53271e14006f0265921d02d4d736cdc580b0b"},
+ {1, 0, "\xe5\xe0\x99\x24", "d1dffbc8a175dd8eebe0da87b1792b6dc1018e82"},
+ {56UL, 8, "\0", "9438e360f578e12c0e0e8ed28e2c125c1cefee16"},
+ {1000UL, 0, "Q", "49f1cfe3829963158e2b2b2cb5df086cee2e3bb0"},
+ {1000UL, 0, "A", "3ae3644d6777a1f56a1defeabc74af9c4b313e49"},
+ {1005UL, 0, "\x99", "18685d56c8bf67c3cee4443e9a78f65c30752f5d"},
+ {1, 0, "abc", "a9993e364706816aba3e25717850c26c9cd0d89d"},
+ {1, 0, "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
+ "84983e441c3bd26ebaae4aa1f95129e5e54670f1"},
+# ifdef MASSIVE_TESTS
+ {0x20000000UL, 0, "A", "df3f26fce8fa7bec2c61d0506749a320ac7dc942"},
+ {0x41000000UL, 8, "\0", "320c617b0b6ee1b6f9c3271eae135f40cae22c10"},
+ {0x6000003FUL, 0, "\x84", "b20aa99b62e6a480fd93b4d24b2c19ffac649bb8"},
+# endif
+ {1000000UL, 8, "\0", "bef3595266a65a2ff36b700a75e8ed95c68210b6"}
+};
+
+
+#else
+# define TEST_UNSUPPORTED
+# include "common.h"
+#endif
+
+
+int
+main(void)
+{
+ TEST_MAIN("SHA1", SHA1);
+}
diff --git a/t/sha3_224.c b/t/sha3_224.c
new file mode 100644
index 0000000..ccbf5cf
--- /dev/null
+++ b/t/sha3_224.c
@@ -0,0 +1,352 @@
+/* See LICENSE file for copyright and license details. */
+#ifdef SUPPORT_SHA3
+# define TEST
+# include "common.h"
+
+
+static struct testcase testcases[] = {
+ {1, 0, "", "6b4e03423667dbb73b6e15454f0eb1abd4597f9a1b078e3f5b5a6bc7"},
+ {1UL, 0, " ", "4cb5f87b01b38adc0e6f13f915668c2394cb1fb7a2795635b894dda1"},
+ {2UL, 0, " ", "1a64ebab9deb5dd0428b68f9522b81c3db15c318665a820f280e38e3"},
+ {3UL, 0, " ", "d838e74fd7808ccb161a8b67d43049b5b331601e858efe112618ed29"},
+ {4UL, 0, " ", "a7df693f86a83049c6452db56af52c57bcca7246c2c11606e6a230b2"},
+ {5UL, 0, " ", "9e1da0d8926041736b61617e896aded2203152fe4f56435ddb8512c9"},
+ {6UL, 0, " ", "ad111c66761182a470fb8aaf23d93debac4ae844edf40fec64118ce8"},
+ {7UL, 0, " ", "1b3e1b9e7ee9efd83a847e9a54b38227722197da0ec6481fcb7fa477"},
+ {8UL, 0, " ", "bcb19154b2697ceab230a7264fd7c042fc069efabdcd657b300a0b13"},
+ {9UL, 0, " ", "b8570a90b9cc7908e71b3cb5a098a32a20beec327aa7b9711d5a6e62"},
+ {10UL, 0, " ", "10bd2239e774129ad7d6fcef1a07c601aa096d97abbec6af460f6c11"},
+ {11UL, 0, " ", "a06e08351a9c706bd7251e51b32609501e40db29dde5e4c3d4b90fc5"},
+ {12UL, 0, " ", "e0ebeba4160f2d899d82b1aaf8c8abed28d2543350ccb4c442de14b2"},
+ {13UL, 0, " ", "f2371db8557e2facab26a16099b6174350223b9d1d4d179e38264bf9"},
+ {14UL, 0, " ", "18a0d7b068e7d5ffda086f2e448d099422f1b358e68f2b42996a2015"},
+ {15UL, 0, " ", "06e2d9303ec62532aea711319046b654a8596dd1361410f9f964d91a"},
+ {16UL, 0, " ", "ff4cbd06962d3fae02e4afe3277df71112bc14e74dc3b287268cd057"},
+ {17UL, 0, " ", "32ff4116c85b93ec457ce63e2c7038dad660ac905bf8e05845cde5ba"},
+ {18UL, 0, " ", "efc9067b68668d57729c4a14a80cdec8773be97323b8f9b9d4ef99e0"},
+ {19UL, 0, " ", "54a7324aabb83369ca93f41b66c47f907d9e90677ee1c723618d2a6e"},
+ {20UL, 0, " ", "9b5896b60ce7c37794cf866d5c8b8f66f49326f9283b7677d89122ae"},
+ {21UL, 0, " ", "fb54443a0acdbbea12b12dfdcd71f623eda3e2eb7f1eb4e0d58e8c3d"},
+ {22UL, 0, " ", "764e6daf67d9a2f8ca871ca7b1bff5394c939d7acf2ed400c33726f1"},
+ {23UL, 0, " ", "ba70fed2e7fa01851fc86d70d8e2f8ae46d02aa81beb5e9b7b8b8886"},
+ {24UL, 0, " ", "dce29090fa1fc99fdea4a90f8a191812dadadf72bbddc339710e688a"},
+ {25UL, 0, " ", "fa8043b456cecfa7e7d330daba8d39fa96ec0dce1c92df40ec7eca45"},
+ {26UL, 0, " ", "05d6655e456684fec13b6619af2f0394cc39c6ffcf8126ec929947a7"},
+ {27UL, 0, " ", "12c7092dee52a14a6272f721da9e1ce0c758555d8951bdad87b2da91"},
+ {28UL, 0, " ", "12c61de3ed5da350a17c61682deaca1f68353af0d35462a9a024231b"},
+ {29UL, 0, " ", "2e91e9698e6df0fb0459c61be7eeedfa3cdbf08e1ca6e29fd808f44a"},
+ {30UL, 0, " ", "88b2dcb691f77593dbd6cc9f28138002adbfce3333c822d9696dac1c"},
+ {31UL, 0, " ", "ce463fbf3794d21f793a92499f53d02a44f53c01fa3eb5b18e20dafc"},
+ {32UL, 0, " ", "7eee3387239b3d9c4ac92fb1bed98c8246641da762187f5b63ea9bb8"},
+ {33UL, 0, " ", "d29e190bda24dace1f3b5b45157832b1fce97e1cea9320d918a6a315"},
+ {34UL, 0, " ", "bfe30323b49e91ff242575025fbea326c5351b0f8c9712babda2912e"},
+ {35UL, 0, " ", "80a7fa5d858830f6c4bdaf99baa4061264ab5213a85d69d002b29f55"},
+ {36UL, 0, " ", "519a4ea539502070782018bb54f610e60fc4a705a5aa6a5e449511b0"},
+ {37UL, 0, " ", "73e74ee7e6dfb2dfaa44bcac4180b602c78e14455ab9459435f8825e"},
+ {38UL, 0, " ", "de76b15308530e6feb7d658a5d9b8d405d9955da87531b83e457e4b8"},
+ {39UL, 0, " ", "d82efb62daa169f11143e75ecd3eddb448d0789ca3e66b390ee74f2f"},
+ {40UL, 0, " ", "03768212802432c868de50a057c500a6aea21e12248754b6d64eff41"},
+ {41UL, 0, " ", "ce6a5bbe300077d8fc583ae46db88589fd27e21395455479550c979d"},
+ {42UL, 0, " ", "9bb69a7ea6f590adf0b42f1589f0d6f98716bca86f8338f69da7f127"},
+ {43UL, 0, " ", "b515a6ca9748b3fdd6da818ae4524c7ab7ced020611a403e33f73827"},
+ {44UL, 0, " ", "f782b9e0ba4f1ddf599be79cb47318bdaa61261427480bd901d69f5d"},
+ {45UL, 0, " ", "7ac893d28cae4bf18c0d8c3b2ba1dff009df61bcf438ef66149c9d47"},
+ {46UL, 0, " ", "f18ab51a3cb90e8cc257619fb3e2ebd450338ab817fe929c31e7db1f"},
+ {47UL, 0, " ", "cc7633ad00aa9d18a50b8ef77a2af4d4938ca4102e37d404a0422640"},
+ {48UL, 0, " ", "49ba79273c4a52897c4dd2767fb14a1439a96121c47a69652c3a75a9"},
+ {49UL, 0, " ", "8637e3e08196289674e16691210e4af50fc44375addc8930e3f40016"},
+ {50UL, 0, " ", "4012c0272e94861368b163e49b665d21803ac058ce4f021b0d6756a3"},
+ {51UL, 0, " ", "4f4099d786e8537d4ee4985bfef12a914505181dff81f26b67e7f9ce"},
+ {52UL, 0, " ", "8232d738c5b463ff4da12231ee32fa1026581721477c948fcf6365cd"},
+ {53UL, 0, " ", "bdf05fa77432070260422b9337186ae9ba578c47d05f0b7999419b0a"},
+ {54UL, 0, " ", "e9ef0323574696dcbe5c35a4ce286749639259f71c77775b699c59d4"},
+ {55UL, 0, " ", "1f79f3a5e5ca2e56db8f5fc1a7653a119bdccfc8405766f6d3f3fb73"},
+ {56UL, 0, " ", "7dce65ef09f1d47fe6166dcd260808af141dd6ddc86865826b852edf"},
+ {57UL, 0, " ", "dac08738db2d96041219ad75f64cb4c9de20c41e6f102f952af8e7a3"},
+ {58UL, 0, " ", "48c4408d37ba8571d0984735ae18912d66fcef68534b7d3497b365db"},
+ {59UL, 0, " ", "e4ac9ecb01a5d7db7ba544d43b8b1358c61ddb1de32d19482bba325f"},
+ {60UL, 0, " ", "5df437e0149202acdb0d555e95ae13e2216235c8001046ebe707daf0"},
+ {61UL, 0, " ", "e47cfc77f4385d802ac83b3282b106449497fcf2ab8d43aa2e23f160"},
+ {62UL, 0, " ", "957c4dd152f2642cc3df6c999047613fa9fa0f4ea4104d45c4a098e5"},
+ {63UL, 0, " ", "9ea8e542b4b1d27dd9cfd8205fe38941e5ca1c08d6a0db40fe92e897"},
+ {64UL, 0, " ", "572105803c18e1e284815f7667d2df0adbec5010adf04ccceaa029bb"},
+ {65UL, 0, " ", "c51c7e150eee3675ac09762f28ba9a8c993d604cf5af7e97149b0942"},
+ {66UL, 0, " ", "25ef1f583f10ab515a952a0a4bb80df1686b8f5fa98104afd2a0277b"},
+ {67UL, 0, " ", "3e941387ba3ca58009254cab0cfe67b4e332f11fe845ef65a8fc1044"},
+ {68UL, 0, " ", "ac56a59ea8f1d5e8aba085f829dfcd7d56716dbf3b6a2c931d219d8d"},
+ {69UL, 0, " ", "522889e8d147ff961c1cc0d9891ad96564c155d89dd2d2f34bb42b76"},
+ {70UL, 0, " ", "b884d2b5edd4a00230019ac9bb910408f832255edea81a15d8fd0403"},
+ {71UL, 0, " ", "c81951643b4f59624c2b90f9af4bfc2d59fd4921f66122a79814b699"},
+ {72UL, 0, " ", "edf52515f6393414239ff789248febfe3b71b83a9d19f1c518b78c5e"},
+ {73UL, 0, " ", "af7414feef6be2ac8cff372a8b37c9e92b96fff10a84509aca9a6178"},
+ {74UL, 0, " ", "a17b44266b9d5c9a052f95f863f9b1adcddc969ec158d2b3dbba7f22"},
+ {75UL, 0, " ", "976d87634ad9da6d2f6032bc8baf1d9a5e913e12fceabbd6d4bc2515"},
+ {76UL, 0, " ", "df6968778add7ab73eb487d28d9ca92dcf5bce165e4061d09ed960b3"},
+ {77UL, 0, " ", "a1ae4032f560f357d82d0a6dbd1782cb52e668dccb793923d6c7c3f8"},
+ {78UL, 0, " ", "bf837f0dfe82d23e74811470045dce11d2119b3978692ba7b7d3c176"},
+ {79UL, 0, " ", "0ab8e4c4acf5139877677b7971864e583451ee4897f2a490abe66937"},
+ {80UL, 0, " ", "7a27bd7bf609c3f95a37a9580489eff4c59a5f5b843a88e7aae585e2"},
+ {81UL, 0, " ", "f574258fbc316d67fcf647964ef444ed6bd2bef2032e9becd15708f5"},
+ {82UL, 0, " ", "c0557fdc045f816aeb169b7bf1075c3ffe4f4631e870ba3d3b2fbd8d"},
+ {83UL, 0, " ", "3e0d19655af9efeba86341661a1245b59314056b49788fcea5b2a1ea"},
+ {84UL, 0, " ", "b7f060a7a4d669b7a7f56dfdbe5befefdd5f0242179a5a986b3118c5"},
+ {85UL, 0, " ", "aa622bb2da1853903900f61ec968c345d24fe32b24f9c395e023f414"},
+ {86UL, 0, " ", "61379ec35a3ff7d4c4c327f91416482dac46c284713a736688d66ab2"},
+ {87UL, 0, " ", "fff4d787733d1d158ad3dca19ae11ea49cb27b29b7d0409685c2583f"},
+ {88UL, 0, " ", "c2c0d7f738a17ef3de7fa4daa4e62fd010a543af705c7ec75abb350c"},
+ {89UL, 0, " ", "97eb020a8c387b3e7ffd8d3b61856b75c0ac295310c3cb385562aaf9"},
+ {90UL, 0, " ", "28f6b0b95e9aca22386ac708ee74201b810827188b4fb810a653e964"},
+ {91UL, 0, " ", "981168c506be7765db93600c8ce8526bd95d2ac1871c82c1fa97841a"},
+ {92UL, 0, " ", "4c92d48e9c6d8c584a6540581bc87ff4daf83b0fdce4dc824a78cdc5"},
+ {93UL, 0, " ", "26eb7b9940a4f4b02d4b93fa129e369c565b6276019d6d006fae1137"},
+ {94UL, 0, " ", "894e9cdc6f1662b5b4fd366553d91e167f6980f9522d8ad8555c1f4f"},
+ {95UL, 0, " ", "2003c4c6d3dd8cad0fde05541f43e8abd979510a389b0fa4b94d9488"},
+ {96UL, 0, " ", "84be87c12408e7898ea7a43f5eed3940ec23f1e33a81a6384272860a"},
+ {97UL, 0, " ", "d1f158b0d3c6b66f1e1f363fc5d5a9770f441b5d62479a22f53e091b"},
+ {98UL, 0, " ", "234dce0dae15f89a88940bf131bd68b3ba48c7df251ece6e7aa4a0fb"},
+ {99UL, 0, " ", "a830be7366b92ad0d737ca8167751b530cc15b66ed202118985e67ce"},
+ {100UL, 0, " ", "29219fdd0a2c69fb4f8b268ebd75f9f4f03c990fedc1f8627a9eaa14"},
+ {101UL, 0, " ", "5db8d277939bb5f2e6083c2c429298d3976b710abd152f5a6d7da81f"},
+ {102UL, 0, " ", "f4cf42a5b3cf0b693e9d1d4cd2e4cda7923e443a9803a488defe91b0"},
+ {103UL, 0, " ", "362857fd4ec32a40a99d4e19ecf1bd87f8308846a7eca1f9c6b9bb57"},
+ {104UL, 0, " ", "8857671a2b21ad783e8340c70cdcb71926a28fdbe7da27c564d88e99"},
+ {105UL, 0, " ", "6d36fdecaeb71720be1ad70c37f0640fbb64bf43bf6b95762c6c4642"},
+ {106UL, 0, " ", "2f26d1a7f946fb6adab62333937e0bb59e5e49735e6538c9d0acae89"},
+ {107UL, 0, " ", "eaeacd93c9479d1d9250df6ecd3b0a97f264e9d52eeef7d2d474769b"},
+ {108UL, 0, " ", "c3485a305320d22bcc25998b25e7661448de1ac6eb0f3c6712c7c7ae"},
+ {109UL, 0, " ", "a1d8721cf5ff48a5ddbab3cfa2d603179d25caa7db17f239abb170f4"},
+ {110UL, 0, " ", "cd83c5f724384ab58198450386d7840bf2f742e1b85f80a8d568368d"},
+ {111UL, 0, " ", "2c34a94c02ad8ab462f209807ad6a5162cebf1e1cdb363b39ea0252e"},
+ {112UL, 0, " ", "a524f6ee6a92588c0cff922fc9b8b0c99280e23273b48164dbfd7bdf"},
+ {113UL, 0, " ", "402990297221a85f5976adcbf720a49cdb55836516a1253262bdc946"},
+ {114UL, 0, " ", "4dd078df2de61eb96cbaa65aa2ad935555ef48d8379438174ab67a73"},
+ {115UL, 0, " ", "a0c205a884950c53d7754c0fab722b5fb6b65c5b085cbae471fe9715"},
+ {116UL, 0, " ", "3a3906ed6f57e0c5ea1bb33553a98260a4f9cb20a10eca11a3a08123"},
+ {117UL, 0, " ", "cefee50848b3c44d996b4a5700715ac2f0a83f694e72a9ff2ffea56b"},
+ {118UL, 0, " ", "8dba530e8e27f35f1152132c125de77e780072882a3ddb223b6e69e0"},
+ {119UL, 0, " ", "82b1aa5898c5503739e3f064fe145f5b90d610c948a295de14f7507d"},
+ {120UL, 0, " ", "d420a83627c4bc1b54add26040cb9268a809de63f98610ce76f8fca6"},
+ {121UL, 0, " ", "0fa086ae9132c82fcd2d5dafe09dd7d16895a7a48f2d77ae44872dfe"},
+ {122UL, 0, " ", "5edac9117c5e87baf24d046e3c1614578404ccacd727022d5beeb0a0"},
+ {123UL, 0, " ", "5edf8bb6725b42b450c8a670446249ce05cb6f993877d8ddb8709bee"},
+ {124UL, 0, " ", "19361cf4b805e43d70fbf21c8ed284c8abeabcf951449f93cf0319a0"},
+ {125UL, 0, " ", "fed5baeba6d2ec35ab1b8ee7c6772729a5dd6bf5c0831a59e6a892d7"},
+ {126UL, 0, " ", "feab143afa749f2ba23d3607009859fa25a09ba3aa8d248882af4d2f"},
+ {127UL, 0, " ", "34ff55e13946b0ca188362270e783bc3d9ed82e33472a195fe773d5f"},
+ {128UL, 0, " ", "e5d2ec01cc8b3a1ab662de562af04aa41d41b770a59a08fd689c6bbb"},
+ {129UL, 0, " ", "e43900681235ff6624e52e87ccc33ccfde5c0038b90999a7d23721c6"},
+ {130UL, 0, " ", "7f8085f41c8d60a0f1b0226dd0cfd6a24e5d73557f382ea6f3ce25ad"},
+ {131UL, 0, " ", "4a53fea203779ee4555620886f6b6357ff35a0655667d7174a2fd196"},
+ {132UL, 0, " ", "b17cf5ba26058d14e2330106ad46485ddf421286ae9bf5772b91e889"},
+ {133UL, 0, " ", "0dbc4c808e638cdacba32092666835bc2b2848fad0444afcad8d5e90"},
+ {134UL, 0, " ", "3c333f36bafcc787dfcb24d3744114d71a4a9c5e6e09e949a221fc8d"},
+ {135UL, 0, " ", "401c11810974a026b48bc9cc8bc72ada4788c97e1f919cc80b125583"},
+ {136UL, 0, " ", "4647b8b14eac49619abd178c385621d7658156ce62c5dbb0dc8ccc9d"},
+ {137UL, 0, " ", "730af9e6c492ae88b6b0f653f1739ef838c4aeae5b41fbc117c277f8"},
+ {138UL, 0, " ", "f3ec86ba95212e34ca2b309686697ac43b9494a7a4e065dfb38ad31a"},
+ {139UL, 0, " ", "46b77e999a65d67d295281d766c28be3ce56f98595d440193280e959"},
+ {140UL, 0, " ", "d034b0d20a0ab15c600c3bffa475d8d4e26d0ecb44a2e8ff671ab3c8"},
+ {141UL, 0, " ", "18342457f26702955f988b84641da1aa2e249478b8aed789588a8067"},
+ {142UL, 0, " ", "99714345f222e6a5a3fea9b6679a4b031b651213309bb5c43abb5f9d"},
+ {143UL, 0, " ", "7bb36d2c61072f1027ce753d8d6e08f6c7d1dab86576c55d7788c49a"},
+ {144UL, 0, " ", "d0f6b2d5d1f6b7c7c7a145226b90a97fa95ab9a3a5e2c444910d6170"},
+ {145UL, 0, " ", "1bff9b25b2f62b91dc72857c128a88bca25a9467f6694d6369c2961c"},
+ {146UL, 0, " ", "084fa64c2119a58d499b49ab41555f8c14cff3a5b3fb81263973fda4"},
+ {147UL, 0, " ", "7f1029071549eef525f187caf9de820b95393183273b34c719282a3d"},
+ {148UL, 0, " ", "059b18008a36d138bc67b1d9fa4c7b9d5250bf52a32a9f87268cfcfa"},
+ {149UL, 0, " ", "41f79bc4faaff75a9706e225fd36c0d04f5b2dd31500c32843ee5fbb"},
+ {150UL, 0, " ", "0884041331c9ccdfbb3bf0ffb104ff6c10442044e4c806daec38f380"},
+ {151UL, 0, " ", "db6d15f6b6e4628829841ccd4e6376e20a72e3a8995b0adffbc00d9f"},
+ {152UL, 0, " ", "9e5855a42bb807b811a4b4dd1f180a42b108a3f2ab1185b319dbe6df"},
+ {153UL, 0, " ", "1ff36fba37665c4dcf6b9975566896ce94b1d8559e1377abc05b885c"},
+ {154UL, 0, " ", "5a4b2fd5abc042870ec8b5412032e743d6e015d56c13e9f9face0c2f"},
+ {155UL, 0, " ", "46b3680f4bef3d4e2baa95422493c33f245e5c95254134a0548f68e3"},
+ {156UL, 0, " ", "834e49322303f470f85c8db3f6cb05a38ebc01a4f4d73573cc9eec79"},
+ {157UL, 0, " ", "0125d8e97087c77e72fc65d621853bbabf01a2aeb0d6c430af696fb3"},
+ {158UL, 0, " ", "d71341e59f3fccdeaed14c7870eda283cfbb5dbd2ec2f0094a3b5615"},
+ {159UL, 0, " ", "c84c32b3aef5d5b83761943e0e7d0f07daa02f4a7138ef5403c3934a"},
+ {160UL, 0, " ", "0fefcac220529ca60db134e9028459abcb8ef0a3d9dfdba582fcfca0"},
+ {161UL, 0, " ", "2027feef15cc3a0310cafbb8bf6b3df9979065e09f8a768bc269bed8"},
+ {162UL, 0, " ", "9ec8a224907e48f1adcb27687baad0e57ecf95058df0adaddc69370f"},
+ {163UL, 0, " ", "fa41e1a483ed9e7b8ba351988543d4c8ce3fe81fca2389b3b090f311"},
+ {164UL, 0, " ", "9e9f8dc4cf2006bea86845bacb9d450fff2d5df033d9f22fc7074e23"},
+ {165UL, 0, " ", "03badc3d8e615d4aba10f377d67d9dc4d95a014f4c28b5aeba4c0331"},
+ {166UL, 0, " ", "1c20b60fde8c3c68f5220333c78bcdecc6feb0b707b82cd456ea1d3b"},
+ {167UL, 0, " ", "5491e0cb786fb4159110c881963848ffbc732a13ca414bd87d4f5a68"},
+ {168UL, 0, " ", "d4a17fc033f1e1680924aeb1261dca3102a089cb817d2e6c498ea925"},
+ {169UL, 0, " ", "992025910bae8adacee7e601f02f6213590551f0bd84f5efc68be041"},
+ {170UL, 0, " ", "1760cd5fe286b53e3e4b17b6f0007e2b6efcc354888bb596177ef8b5"},
+ {171UL, 0, " ", "e700be875d52567a0cababe13d2fe85c0d9d6b3ca3f056e996d453a4"},
+ {172UL, 0, " ", "62dc712ee01eaf97db2fa4194473c4209b915d4456076332bc5a2da2"},
+ {173UL, 0, " ", "0c55c1464697e3dbbb76870b40dff5d6d5268c300d9baa36a6e603bd"},
+ {174UL, 0, " ", "35fdd560c15216f191d9783bb1b5d2caaa09f46fcf9d795a20c57d3b"},
+ {175UL, 0, " ", "adfecfc59b87f1d0d9ca2c7042f7668384119567b80b2b326ce77b84"},
+ {176UL, 0, " ", "422c69d68d00fcdcd4c9d3723f60a8f5c0d4bcabcc8106c2b1cadfae"},
+ {177UL, 0, " ", "481813c9490447df50f7684c392f058ee65d213003e4ca8fd5e1fe0a"},
+ {178UL, 0, " ", "702cd8b7fef21033b3fca367fc1a824aad6075f0db11bf6950e7b287"},
+ {179UL, 0, " ", "67122376b98ee2f5aceb47b43ab4c70e85d9a777757ce09ab9361466"},
+ {180UL, 0, " ", "e81bd70b2a72158614f78110cadd43e943743b9e4cad19227cc2901f"},
+ {181UL, 0, " ", "eb90179b1e6a8e614940e7484ff818bf423163b9e3febd2bde3f99d9"},
+ {182UL, 0, " ", "4670e30c7a073846d4181470d45c774c765265726cd87c3d61314d2e"},
+ {183UL, 0, " ", "8c15ac4278dbebd72ca9f677b67840855e2eb0bf21abd6b4c0c6fc59"},
+ {184UL, 0, " ", "9aac77501210594e973b178102ff0a912cefb5a8c650a3a3026edc97"},
+ {185UL, 0, " ", "c208a94b304b2c2f3c24fcd32b452a034f14e122a916d98a5cac8457"},
+ {186UL, 0, " ", "06faf62b1500cf7bfb97c22f28c0b7b20a061f75f805b89aaa0f8b4b"},
+ {187UL, 0, " ", "1c8a8dc40b0f1743462c8a078a12fe4c2fa470ee11d2ba2977b16457"},
+ {188UL, 0, " ", "278685b0b1db68fc81a5c58c93ad7d5ef3b0b41707fd50e99c6337eb"},
+ {189UL, 0, " ", "bda22e93b44bfa708e37c160d2550591d96bf3169ce6054dfefc4eaa"},
+ {190UL, 0, " ", "27dcd4f271994a8ff77070432d4dc7cfbfe44a3d715ff4784c7042b6"},
+ {191UL, 0, " ", "736d74d010feed3086fee86c7daf96ffb4f7f90bd67c323bf95c6c27"},
+ {192UL, 0, " ", "ff0e655fc2cc4cf5ec5e0a4842cc7eceac0909583fc2bed52d11ed7a"},
+ {193UL, 0, " ", "c9dca1cbe5a57db90be0fb8b96da1f5424fd213c698f5b8bd102557a"},
+ {194UL, 0, " ", "43406909b362eb9f54111e4e4fcd048b1c9a93147d7418d4008ac205"},
+ {195UL, 0, " ", "e6ea6206f13a10326fb177905abcd8085f31958790545ab874434a84"},
+ {196UL, 0, " ", "a4fd3f825de2167cf90811fdc171f14667af83b013018d342d7ac2a1"},
+ {197UL, 0, " ", "36444ff3b3c34c1b9065aa36b9b62ec31f6be00af4dbc688cdb366e7"},
+ {198UL, 0, " ", "bc4dcf21bd02a144773db1bdd63de1f48bd03c222273a9b5bf054926"},
+ {199UL, 0, " ", "0cb650297dbc2160cbc534aa52f6357ded53b234a05f010bbd61c81e"},
+ {200UL, 0, " ", "e879f9f6cdd4280408bafaf08f6175043945c3c8ec1cadef8432f9e6"},
+ {201UL, 0, " ", "820d8ba6fe7f9fd06e09c67210eaa6aacfa51910408d7c34502e29df"},
+ {202UL, 0, " ", "dceaee66685def76fd718e114c5e19435a4bcb370ec5bc8e244c954c"},
+ {203UL, 0, " ", "fe7c8d0059d34e5364a58b13608c503d1808d05e7fe5a19009615116"},
+ {204UL, 0, " ", "4501de44a9359bbfa19685627f98a241d5b6fc107511a727da045dba"},
+ {205UL, 0, " ", "e53ada896a5212c69200acad5c32c9b34552c8961267859af9297ea3"},
+ {206UL, 0, " ", "040d4f155c3d3ce1598f3926572db62055708a7b1cdbc98b49130073"},
+ {207UL, 0, " ", "3d35e459cb26376500cda5f74353e10edc4cdbd3796c6bc7d47fda41"},
+ {208UL, 0, " ", "0f9e5be5cc5af398ad7179adc41e4b8d24d1e291ca823bf6f3c75c9e"},
+ {209UL, 0, " ", "e7d74553892daa5a4588eaf60ce1e37a32c6fdccfa8ce5f90fb6990e"},
+ {210UL, 0, " ", "04957f64cebe1646fdda2c6f3e4161321789b892b901cd18a7497d7f"},
+ {211UL, 0, " ", "45683eeab0e5adc9b24ef9a776809226d8dde2a309e137c57fa773e7"},
+ {212UL, 0, " ", "568aa85b2003c6b13e5236fc0f256808bf080c23c84b3bae9e567d6b"},
+ {213UL, 0, " ", "365660746f5131062f168a91883f8a07a06db1f6336ebfe53d4def69"},
+ {214UL, 0, " ", "42136d0f54c770c73a6cddf00e7cbf4ed82a8777b86cc7c14684e142"},
+ {215UL, 0, " ", "510524ebb3b16b5fb59dd5fca70a99559804086fa9a3f008aa528827"},
+ {216UL, 0, " ", "8fa23e20bf52673db02494a2da8742c31eef7fd691475c64c4416610"},
+ {217UL, 0, " ", "e9256d61424c7f03e14037abbc87fa97dd4826f9c4bce86177474a7c"},
+ {218UL, 0, " ", "3b85b5435cc101ef24e1aba0647f1a848d237010e74baea82767efd6"},
+ {219UL, 0, " ", "378bd933849163a6594cdd93a90c9bb72bfac14f0b8c52affa696c0c"},
+ {220UL, 0, " ", "08bf93fa4ef7da7e49c50794f1868f9a27a3238b8d7dae16435389c4"},
+ {221UL, 0, " ", "ba96b341ab322c9c8a1d473c34f12c67a0e3054185c9ed04346a444d"},
+ {222UL, 0, " ", "399094522a7f468a9791f835c81e5155e2a404938d3540b7b76f9702"},
+ {223UL, 0, " ", "a11fec55ae6a2e04f2dee19d437d0db66e7a5db76baf26b385fd4ca0"},
+ {224UL, 0, " ", "5e5081a215179aaefab0dd558da783e445b57a67196665998d8d46be"},
+ {225UL, 0, " ", "2eb8bc3daed664c24c12c63215a59a005ad177cbf98387f6da5a7db6"},
+ {226UL, 0, " ", "94f104cf8efe1943995a66cab74deb6bb3a8feda71924398f151c751"},
+ {227UL, 0, " ", "c0560542f09724299cc3ef8b282f204a87534d7ee332bf1131c2d100"},
+ {228UL, 0, " ", "3ea4b9c6e1b13f9c2ba48fe545187a531161135addc01e3ce4448174"},
+ {229UL, 0, " ", "4b59dc53b5e3e10990eb2bdd5c9df86713bc09e4c52d2bfa8684856d"},
+ {230UL, 0, " ", "0d1322c2c4d8660bb4e420ca5e24aeab4efb844cdfdfcae7086c024a"},
+ {231UL, 0, " ", "154046fd5d42d559c28933e201b6de7b3460930c87601949374d045b"},
+ {232UL, 0, " ", "094da314a46279a975b2e7dde3f8461fc1a6db835f053fe5d69a7ece"},
+ {233UL, 0, " ", "eea04248aa221bc98e0fae363ec11e714eabac149b3659dfa64f9369"},
+ {234UL, 0, " ", "2e1259b1ccefffc67c1c3ac92b8218bd6e90fea28172531edba1d605"},
+ {235UL, 0, " ", "e5064894b918ba5d6a42ea1b35d45f104e0042eee6498b9889de4ae9"},
+ {236UL, 0, " ", "9e30b504cf8307ad4810ee6361714fa6c18f25268a40c7aed5feb438"},
+ {237UL, 0, " ", "58a083cb59226769d1008f7c27006006cd9b05875a4277391f57d6a3"},
+ {238UL, 0, " ", "589dfbe4d3a0d09e355535a73d6832ffd726afdc85cb6dcaeb2953ca"},
+ {239UL, 0, " ", "b5e94cceedcce99b64606378e9811b3f6f2ea615a1ac52c63bbb19aa"},
+ {240UL, 0, " ", "fb6a4855fa120425fa0b0dada82d52acbb39e9ec8e7e83b3775be115"},
+ {241UL, 0, " ", "c4135ba8ac972cb953e05cdecebd59a6d28da424113db1f1b3d351d8"},
+ {242UL, 0, " ", "93ac0273eb893107ab282fad3d15436c3c8485d5e68a35533d9652c4"},
+ {243UL, 0, " ", "3e71df415a48a0abe6e85d6279f49ee4dbb5ac3e99b3e57b525ec527"},
+ {244UL, 0, " ", "64f2803e60ddf00f9ea1d63c11d75bc5c01544782a5679366902499a"},
+ {245UL, 0, " ", "e1e89e00b7feab9060c360a902a52b536c30c30e2685d46519b75321"},
+ {246UL, 0, " ", "ad28e369fa0085880851b81dded4bc2057563ecb6e011a62f1d804da"},
+ {247UL, 0, " ", "e0442d5399aba8a6037cb68c5f9ce147b31a78beb6225a22a5026813"},
+ {248UL, 0, " ", "98efb15de4d815d6c8ea6e8a2bfb1d6be6ea527f158ca3af900c8274"},
+ {249UL, 0, " ", "a84147783a5fdf69ed4a85a5d466df7795f272fa3e0b560f76ec6e17"},
+ {250UL, 0, " ", "df7b41bfd68c5754f5c5844cce21125e103d18863329772794839771"},
+ {251UL, 0, " ", "85f68577896af03a6c110a5a96d4b5af893fedde7896ca0fc300f0ea"},
+ {252UL, 0, " ", "4df874bebfb8f6bb517a2591c798d12c9a51f618ea34d8133abc8aed"},
+ {253UL, 0, " ", "8d3840a59f4991629d3e22c5aae1b1416064e4752c208ef4d8bc29d7"},
+ {254UL, 0, " ", "ce0ad294e28c8c8b9a30af709cd39dd82995c842489ae5cbafa45b7d"},
+ {255UL, 0, " ", "21bde47a3e44ea0238d07bf5c7f0eafde3fd993773b5c7514b228f95"},
+ {256UL, 0, " ", "f254b95019ae83bcb0ed75b591d2152963971d0331437263de2c0529"},
+ {257UL, 0, " ", "2b5fc8c4c06e954caa54e7f5b3fde9124314896b5f5fcc5f7cfbb5bc"},
+ {258UL, 0, " ", "3c0b272ce7a6890f903826afe5f48609a391c049a4df6fd7de3a3a84"},
+ {259UL, 0, " ", "5e4386132842bb256799a9d469b6eb861916ea8dbc6d06a589f4e6cc"},
+ {260UL, 0, " ", "63aac12d08b9e4bc9c0b00421527e092a03c4e299311f9c0cb201f37"},
+ {261UL, 0, " ", "c292327df2173cd0bbbe87d50c2a3a44c9b912c4c9316ebfca341646"},
+ {262UL, 0, " ", "a3cbd97c8e4361ccc71aa5ba620948fcc2b5fbd3763d6cd6394942d4"},
+ {263UL, 0, " ", "e3cd028df09267d92d647d2720d86db9b94b4b8dcaa82c68b6cf2693"},
+ {264UL, 0, " ", "4867b23bdf67fd66ebc12f3f4b7582969fadb1748cfff4dff1b2aeaa"},
+ {265UL, 0, " ", "414cd976c99967269cc29e58d47461d9d01647e7e2270d2f0db07b7e"},
+ {266UL, 0, " ", "cb11852ed0fb978aee28dd6c6235de809bacd71fb3ef6f0fa78902bf"},
+ {267UL, 0, " ", "fb69179686bbebce15b13bf0500fcc2ca61ca38f7ff54cb013858873"},
+ {268UL, 0, " ", "638d9f85c37b9da8b39cacecb3e5a739b2840e63aab7df64f4f2f23e"},
+ {269UL, 0, " ", "8c57b259d72d7f3388a0e27330f0a8c01bc11a3e969aa3db34000f8f"},
+ {270UL, 0, " ", "f079dd786e5b0caa38cff0832e62cf42d5c6744dc65b17c0c5aeccb2"},
+ {271UL, 0, " ", "e6722d9d5018ead0b9fc7a14f7f2f9fe60889e43d278adbdeff3ad3d"},
+ {272UL, 0, " ", "a0ab2b81776450ff310753db78a03ef6673f67c0d2de815f8d276c49"},
+ {273UL, 0, " ", "e3bac307a12f7b57e5cd5b81faf31d6d3eae200a3a5fc18cad927ae6"},
+ {274UL, 0, " ", "d05704912f6c789320c4a756b1f7ebb79800fbdf7bf363dd3740dcdb"},
+ {275UL, 0, " ", "a4b30d96b234e8b51596f28a66ff18e0405abbcfdd75168b48c5e393"},
+ {276UL, 0, " ", "632da71b1d3bfdffe8ce31dee0c3f761b114dd5296dcb41e108a3531"},
+ {277UL, 0, " ", "19162d2b43b01cb24475f82955978bd8875b4df34cd965a582fe61ed"},
+ {278UL, 0, " ", "98f44bb1257b419f4cbcbc1c15bfa2c98b8c60d604b0c644672c6706"},
+ {279UL, 0, " ", "76aa65f391daafe3abfa3ad4280dd30f9c27bd8297b3d9737c57a0c8"},
+ {280UL, 0, " ", "330bc122c2e49c29952049f7d28cb700e227f7e35c2fe6519e20837d"},
+ {281UL, 0, " ", "b852fb3011ce42b87581a4acce470f361eb64309033f0e693ea3df0b"},
+ {282UL, 0, " ", "9b68b2226c3e539a22d878514dcbdbe63139a9025093ed4c9546d5f7"},
+ {283UL, 0, " ", "7137a0f46f4b673a82b955924c8b1c5bcf9166350fe4e2ffd31f2f6a"},
+ {284UL, 0, " ", "8f896d6341cadfa294d352970747f7161fcf95e661aa8297d39f1cbe"},
+ {285UL, 0, " ", "e44a0c6dda643ba7bbded6179e5541b1fb41221235c67663ce63bc62"},
+ {286UL, 0, " ", "9e3441070fdeabef066d7a8059bdb42d6662d9ddc0aa81b23fa09b67"},
+ {287UL, 0, " ", "4fcc36bbde5ebe0909af8ab543c400320e90b9a22f68e911404e79b1"},
+ {288UL, 0, " ", "be573b027ee2563bea89927c1c30873dee8dc80e30cf7a6f3e7637ff"},
+ {289UL, 0, " ", "a9a31e9b3f6e6a319d3997d60065b23d2295a723a99401f9f18fbe23"},
+ {290UL, 0, " ", "10ca78c979abc3bf008b53f55578389fcf971828bd222bfb0b0dba36"},
+ {291UL, 0, " ", "c93ff60f10edfbad2ec2e5dc962d9c8661dcaf35de83c7697b676b19"},
+ {292UL, 0, " ", "ef7b2c084dc0a4b114e927faa5ac73f26cc800e6fd5bb1ea4bf5cdb6"},
+ {293UL, 0, " ", "8fa5fb1f8efb64417f1f259490b4c9ceffd5b6b084e2f411c8ad39a7"},
+ {294UL, 0, " ", "cd02115f81d1210bd25c93255cdcdc39bb5702604a80bd37340742d0"},
+ {295UL, 0, " ", "6b4d5c817c648e778afc58894dfe4d4f891689759008c8a69d9685cb"},
+ {296UL, 0, " ", "8345df0eab6b16e1a44ead077328b164cd75ccc658d607848403ca99"},
+ {297UL, 0, " ", "b44daf778c692695217f1b54d711a6ef4d2b61634969344dce51b630"},
+ {298UL, 0, " ", "db3127d5b76149309a56db6569f066aec01ae8535d60adf57c3281c6"},
+ {299UL, 0, " ", "b5b32e77ee3e7513cda85d1d59ba761942f45259efdca91083072d04"},
+ {300UL, 0, " ", "35efd6428af373b1a129f471b8af317a28bb1669d8a7884d29653f63"},
+ {301UL, 0, " ", "7c665d57c853a1d43dd6ef6bf7068c3dd445c8b84b88ebd3a1d2d3b9"},
+ {302UL, 0, " ", "e39774432075fec2958d8a57c2a690a509493fe1553b66f8457b1963"},
+ {303UL, 0, " ", "ed5cfc6b074d185714c19825ab33081d6ab7e9b477d1219fe54b4b9c"},
+ {304UL, 0, " ", "0a5298110a1fcea7d8c1a1c638ac38704bc4671b4be4ce832bc4498a"},
+ {305UL, 0, " ", "e21c6a29c9a92ad78d7602e92c394db80d7fc4d09a5c86ede8f03d8e"},
+ {306UL, 0, " ", "3e0584a09c07839d94357e8d596c6d675fc352bad8894213c876826b"},
+ {307UL, 0, " ", "692e50890534f51426c4ce2ff5db0b44a28f9f58b03d8d2bd6fb00f5"},
+ {308UL, 0, " ", "dc1a17a25b78cb666580f06359589652530ac639801141fa7aad917b"},
+ {309UL, 0, " ", "9909d62bb9d4aea57ce6ce6cb7097da1d78a5284d48ebb65398ab1bb"},
+ {310UL, 0, " ", "0a81e94d03e7651217167df3512277c065bbdc0bdf22ef91153a4602"},
+ {311UL, 0, " ", "6a9e9048072ff95fa14493acbf1a10c572f38abe32991f6c0e18b64c"},
+ {312UL, 0, " ", "559fb367be5eb06a2078bc5448b796f389821540bb8ee44495fb858a"},
+ {313UL, 0, " ", "3210c0035698c9861111cd6c8ba68a3fdb2539554b797225faf4c472"},
+ {314UL, 0, " ", "579ec84c0623b3ad7402e6c056a9ac53453e2eee84dd3b30ac07b967"},
+ {315UL, 0, " ", "6cabec5717d36a76909bdf1090aab017cde5476f7dd3f1b431b84005"},
+ {316UL, 0, " ", "3ceb3c7f75a934bd7d195d1bd000115672c5cd19b28c696ac3c0dd4f"},
+ {317UL, 0, " ", "f16bba90866a163f5ffb0deecaf2f5e7e9a46c5580fa43a9912d8d4e"},
+ {318UL, 0, " ", "43dac236cb4e71c80c89e8c60e04372e2622510589e856aed71710d4"},
+ {319UL, 0, " ", "fa526a826144bec9c9aca05f81d0c1538033e20542a97ea4b8b6cd47"},
+ {320UL, 0, " ", "280cd257d0c4c9a4681d71743a7016e9acd7acec4d09dcd6afa05be2"},
+ {1, 0, "withdrew hypothesis snakebird qmc2", "22c8017ac8bcf65f59d1b7e92c9d4c6739d25e34ce5cb608b24ff096"},
+ {1, 0, "intensifierat sturdiness perl-image-exiftool vingla", "43808dde2662143dc4eed5dac5e98c74b06711829f02a3b121bd74f3"},
+ {1, 0, "timjan avogadro uppdriven lib32-llvm-amdgpu-snapshot", "d32b4ac86065774dee5eb5cdd2f67b4e86501086d7373884e8b20a36"},
+ {1, 0, "grilo-plugins auditorium tull dissimilarity's", "efbd76d45bfa952485148f8ad46143897f17c27ffdc8eb7287f9353b"},
+ {1, 0, "royalty tt yellowstone deficiencies", "6705aa36ecf58f333e0e6364ac1d0b7931d402e13282127cfd6f876c"},
+ {1, 0, "kdegames-kdiamond tunisisk occurrence's outtalad", "803a0ff09dda0df306e483a9f91b20a3dbbf9c2ebb8d0a3b28f3b9e0"},
+ {1, 0, "chevalier slat's spindel representations", "a64779aca943a6aef1d2e7c9a0f4e997f4dabd1f77112a22121d3ed5"},
+ {1, 0, "archery lexicographical equine veered", "f0a3e0587af7723f0aa4719059d3f5107115a5b3667cd5209cc4d867"},
+ {1, 0, "splay washbasin opposing there", "312e7e3c6403ab1a086155fb9a52b22a3d0d257876afd2b93fb7272e"},
+ {1, 0, "faktum desist thundered klen", "270ba05b764221ff5b5d94adfb4fdb1f36f07fe7c438904a5f3df071"}
+};
+
+
+#else
+# define TEST_UNSUPPORTED
+# include "common.h"
+#endif
+
+
+int
+main(void)
+{
+ TEST_MAIN("SHA3-224", SHA3_224);
+}
diff --git a/t/sha3_256.c b/t/sha3_256.c
new file mode 100644
index 0000000..1bab61d
--- /dev/null
+++ b/t/sha3_256.c
@@ -0,0 +1,22 @@
+/* See LICENSE file for copyright and license details. */
+#ifdef SUPPORT_SHA3
+# define TEST
+# include "common.h"
+
+
+static struct testcase testcases[] = {
+ {1, 0, "", "a7ffc6f8bf1ed76651c14756a061d662f580ff4de43b49fa82d80a4b80f8434a"}
+};
+
+
+#else
+# define TEST_UNSUPPORTED
+# include "common.h"
+#endif
+
+
+int
+main(void)
+{
+ TEST_MAIN("SHA3-256", SHA3_256);
+}
diff --git a/t/sha3_384.c b/t/sha3_384.c
new file mode 100644
index 0000000..c9b81a0
--- /dev/null
+++ b/t/sha3_384.c
@@ -0,0 +1,22 @@
+/* See LICENSE file for copyright and license details. */
+#ifdef SUPPORT_SHA3
+# define TEST
+# include "common.h"
+
+
+static struct testcase testcases[] = {
+ {1, 0, "", "0c63a75b845e4f7d01107d852e4c2485c51a50aaaa94fc61995e71bbee983a2ac3713831264adb47fb6bd1e058d5f004"}
+};
+
+
+#else
+# define TEST_UNSUPPORTED
+# include "common.h"
+#endif
+
+
+int
+main(void)
+{
+ TEST_MAIN("SHA3-384", SHA3_384);
+}
diff --git a/t/sha3_512.c b/t/sha3_512.c
new file mode 100644
index 0000000..33382cc
--- /dev/null
+++ b/t/sha3_512.c
@@ -0,0 +1,24 @@
+/* See LICENSE file for copyright and license details. */
+#ifdef SUPPORT_SHA3
+# define TEST
+# include "common.h"
+
+
+static struct testcase testcases[] = {
+ {1, 0, "",
+ "a69f73cca23a9ac5c8b567dc185a756e97c982164fe25859e0d1dcc1475c80a6"
+ "15b2123af1f5f94c11e3e9402c3ac558f500199d95b6d3e301758586281dcd26"}
+};
+
+
+#else
+# define TEST_UNSUPPORTED
+# include "common.h"
+#endif
+
+
+int
+main(void)
+{
+ TEST_MAIN("SHA3-512", SHA3_512);
+}
diff --git a/t/sha_224.c b/t/sha_224.c
new file mode 100644
index 0000000..24d969e
--- /dev/null
+++ b/t/sha_224.c
@@ -0,0 +1,37 @@
+/* See LICENSE file for copyright and license details. */
+#ifdef SUPPORT_SHA2
+# define TEST
+# include "common.h"
+
+
+static struct testcase testcases[] = {
+ {1, 0, "", "d14a028c2a3a2bc9476102bb288234c415a2b01f828ea62ac5b3e42f"},
+ {1, 0, "\xff", "e33f9d75e6ae1369dbabf81b96b4591ae46bba30b591a6b6c62542b5"},
+ {1, 0, "\xe5\xe0\x99$", "fd19e74690d291467ce59f077df311638f1c3a46e510d0e49a67062d"},
+ {56UL, 8, "\0", "5c3e25b69d0ea26f260cfae87e23759e1eca9d1ecc9fbf3c62266804"},
+ {1000UL, 0, "Q", "3706197f66890a41779dc8791670522e136fafa24874685715bd0a8a"},
+ {1000UL, 0, "A", "a8d0c66b5c6fdfd836eb3c6d04d32dfe66c3b1f168b488bf4c9c66ce"},
+ {1005UL, 0, "\x99", "cb00ecd03788bf6c0908401e0eb053ac61f35e7e20a2cfd7bd96d640"},
+ {1000000UL, 8, "\0", "3a5d74b68f14f3a4b2be9289b8d370672d0b3d2f53bc303c59032df3"},
+# ifdef MASSIVE_TESTS
+ {0x20000000UL, 0, "A", "c4250083cf8230bf21065b3014baaaf9f76fecefc21f91cf237dedc9"},
+ {0x41000000UL, 8, "\0", "014674abc5cb980199935695af22fab683748f4261d4c6492b77c543"},
+ {0x6000003FUL, 0, "\x84", "a654b50b767a8323c5b519f467d8669837142881dc7ad368a7d5ef8f"},
+# endif
+ {1, 0, "abc", "23097d223405d8228642a477bda255b32aadbce4bda0b3f7e36c9da7"},
+ {1, 0, "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
+ "75388b16512776cc5dba5da1fd890150b0c6455cb4f58b1952522525"}
+};
+
+
+#else
+# define TEST_UNSUPPORTED
+# include "common.h"
+#endif
+
+
+int
+main(void)
+{
+ TEST_MAIN("SHA-224", SHA_224);
+}
diff --git a/t/sha_256.c b/t/sha_256.c
new file mode 100644
index 0000000..17dda3a
--- /dev/null
+++ b/t/sha_256.c
@@ -0,0 +1,40 @@
+/* See LICENSE file for copyright and license details. */
+#ifdef SUPPORT_SHA2
+# define TEST
+# include "common.h"
+
+
+static struct testcase testcases[] = {
+ {1, 0, "", "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"},
+ {1, 0, "\xbd", "68325720aabd7c82f30f554b313d0570c95accbb7dc4b5aae11204c08ffe732b"},
+ {1, 0, "\xc9\x8c\x8eU", "7abc22c0ae5af26ce93dbb94433a0e0b2e119d014f8e7f65bd56c61ccccd9504"},
+ {55UL, 8, "\0", "02779466cdec163811d078815c633f21901413081449002f24aa3e80f0b88ef7"},
+ {56UL, 8, "\0", "d4817aa5497628e7c77e6b606107042bbba3130888c5f47a375e6179be789fbb"},
+ {57UL, 8, "\0", "65a16cb7861335d5ace3c60718b5052e44660726da4cd13bb745381b235a1785"},
+ {64UL, 8, "\0", "f5a5fd42d16a20302798ef6ed309979b43003d2320d9f0e8ea9831a92759fb4b"},
+ {1000UL, 8, "\0", "541b3e9daa09b20bf85fa273e5cbd3e80185aa4ec298e765db87742b70138a53"},
+ {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"}
+};
+
+
+#else
+# define TEST_UNSUPPORTED
+# include "common.h"
+#endif
+
+
+int
+main(void)
+{
+ TEST_MAIN("SHA-256", SHA_256);
+}
diff --git a/t/sha_384.c b/t/sha_384.c
new file mode 100644
index 0000000..802ace0
--- /dev/null
+++ b/t/sha_384.c
@@ -0,0 +1,51 @@
+/* See LICENSE file for copyright and license details. */
+#ifdef SUPPORT_SHA2
+# define TEST
+# include "common.h"
+
+
+static struct testcase testcases[] = {
+ {1, 0, "",
+ "38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b"},
+ {111UL, 8, "\0",
+ "435770712c611be7293a66dd0dc8d1450dc7ff7337bfe115bf058ef2eb9bed09cee85c26963a5bcc0905dc2df7cc6a76"},
+ {112UL, 8, "\0",
+ "3e0cbf3aee0e3aa70415beae1bd12dd7db821efa446440f12132edffce76f635e53526a111491e75ee8e27b9700eec20"},
+ {113UL, 8, "\0",
+ "6be9af2cf3cd5dd12c8d9399ec2b34e66034fbd699d4e0221d39074172a380656089caafe8f39963f94cc7c0a07e3d21"},
+ {122UL, 8, "\0",
+ "12a72ae4972776b0db7d73d160a15ef0d19645ec96c7f816411ab780c794aa496a22909d941fe671ed3f3caee900bdd5"},
+ {1000UL, 8, "\0",
+ "aae017d4ae5b6346dd60a19d52130fb55194b6327dd40b89c11efc8222292de81e1a23c9b59f9f58b7f6ad463fa108ca"},
+ {1000UL, 0, "A",
+ "7df01148677b7f18617eee3a23104f0eed6bb8c90a6046f715c9445ff43c30d69e9e7082de39c3452fd1d3afd9ba0689"},
+ {1005UL, 0, "U",
+ "1bb8e256da4a0d1e87453528254f223b4cb7e49c4420dbfa766bba4adba44eeca392ff6a9f565bc347158cc970ce44ec"},
+ {1000000UL, 8, "\0",
+ "8a1979f9049b3fff15ea3a43a4cf84c634fd14acad1c333fecb72c588b68868b66a994386dc0cd1687b9ee2e34983b81"},
+#ifdef MASSIVE_TESTS
+ {0x20000000UL, 0, "Z",
+ "18aded227cc6b562cc7fb259e8f404549e52914531aa1c5d85167897c779cc4b25d0425fd1590e40bd763ec3f4311c1a"},
+ {0x41000000UL, 8, "\0",
+ "83ab05ca483abe3faa597ad524d31291ae827c5be2b3efcb6391bfed31ccd937b6135e0378c6c7f598857a7c516f207a"},
+ {0x6000003EUL, 0, "B",
+ "cf852304f8d80209351b37ce69ca7dcf34972b4edb7817028ec55ab67ad3bc96eecb8241734258a85d2afce65d4571e2"},
+#endif
+ {1, 0, "abc",
+ "cb00753f45a35e8bb5a03d699ac65007272c32ab0eded1631a8b605a43ff5bed8086072ba1e7cc2358baeca134c825a7"},
+ {1, 0, "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmnhijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
+ "09330c33f71147e83d192fc782cd1b4753111b173b3b05d22fa08086e3b0f712fcc7c71a557e2db966c3e9fa91746039"}
+};
+
+
+#else
+# define TEST_UNSUPPORTED
+# include "common.h"
+#endif
+
+
+int
+main(void)
+{
+ TEST_MAIN("SHA-384", SHA_384);
+}
diff --git a/t/sha_512.c b/t/sha_512.c
new file mode 100644
index 0000000..01b9460
--- /dev/null
+++ b/t/sha_512.c
@@ -0,0 +1,66 @@
+/* See LICENSE file for copyright and license details. */
+#ifdef SUPPORT_SHA2
+# define TEST
+# include "common.h"
+
+
+static struct testcase testcases[] = {
+ {1, 0, "",
+ "cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce"
+ "47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e"},
+ {111UL, 8, "\0",
+ "77ddd3a542e530fd047b8977c657ba6ce72f1492e360b2b2212cd264e75ec038"
+ "82e4ff0525517ab4207d14c70c2259ba88d4d335ee0e7e20543d22102ab1788c"},
+ {112UL, 8, "\0",
+ "2be2e788c8a8adeaa9c89a7f78904cacea6e39297d75e0573a73c756234534d6"
+ "627ab4156b48a6657b29ab8beb73334040ad39ead81446bb09c70704ec707952"},
+ {113UL, 8, "\0",
+ "0e67910bcf0f9ccde5464c63b9c850a12a759227d16b040d98986d54253f9f34"
+ "322318e56b8feb86c5fb2270ed87f31252f7f68493ee759743909bd75e4bb544"},
+ {122UL, 8, "\0",
+ "4f3f095d015be4a7a7cc0b8c04da4aa09e74351e3a97651f744c23716ebd9b3e"
+ "822e5077a01baa5cc0ed45b9249e88ab343d4333539df21ed229da6f4a514e0f"},
+ {1000UL, 8, "\0",
+ "ca3dff61bb23477aa6087b27508264a6f9126ee3a004f53cb8db942ed345f2f2"
+ "d229b4b59c859220a1cf1913f34248e3803bab650e849a3d9a709edc09ae4a76"},
+ {1000UL, 0, "A",
+ "329c52ac62d1fe731151f2b895a00475445ef74f50b979c6f7bb7cae349328c1"
+ "d4cb4f7261a0ab43f936a24b000651d4a824fcdd577f211aef8f806b16afe8af"},
+ {1005UL, 0, "U",
+ "59f5e54fe299c6a8764c6b199e44924a37f59e2b56c3ebad939b7289210dc8e4"
+ "c21b9720165b0f4d4374c90f1bf4fb4a5ace17a1161798015052893a48c3d161"},
+ {1000000UL, 8, "\0",
+ "ce044bc9fd43269d5bbc946cbebc3bb711341115cc4abdf2edbc3ff2c57ad4b1"
+ "5deb699bda257fea5aef9c6e55fcf4cf9dc25a8c3ce25f2efe90908379bff7ed"},
+# ifdef MASSIVE_TESTS
+ {0x20000000UL, 0, "Z",
+ "da172279f3ebbda95f6b6e1e5f0ebec682c25d3d93561a1624c2fa9009d64c7e"
+ "9923f3b46bcaf11d39a531f43297992ba4155c7e827bd0f1e194ae7ed6de4cac"},
+ {0x41000000UL, 8, "\0",
+ "14b1be901cb43549b4d831e61e5f9df1c791c85b50e85f9d6bc64135804ad43c"
+ "e8402750edbe4e5c0fc170b99cf78b9f4ecb9c7e02a157911d1bd1832d76784f"},
+ {0x6000003EUL, 0, "B",
+ "fd05e13eb771f05190bd97d62647157ea8f1f6949a52bb6daaedbad5f578ec59"
+ "b1b8d6c4a7ecb2feca6892b4dc138771670a0f3bd577eea326aed40ab7dd58b1"},
+# endif
+ {1, 0, "abc",
+ "ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a"
+ "2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f"},
+ {1, 0, "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmnhi"
+ "jklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
+ "8e959b75dae313da8cf4f72814fc143f8f7779c6eb9f7fa17299aeadb6889018"
+ "501d289e4900f7e4331b99dec4b5433ac7d329eeb6dd26545e96e55b874be909"}
+};
+
+
+#else
+# define TEST_UNSUPPORTED
+# include "common.h"
+#endif
+
+
+int
+main(void)
+{
+ TEST_MAIN("SHA-512", SHA_512);
+}
diff --git a/t/sha_512_224.c b/t/sha_512_224.c
new file mode 100644
index 0000000..a95bf92
--- /dev/null
+++ b/t/sha_512_224.c
@@ -0,0 +1,26 @@
+/* See LICENSE file for copyright and license details. */
+#ifdef SUPPORT_SHA2
+# define TEST
+# include "common.h"
+
+
+static struct testcase testcases[] = {
+ {1, 0, "", "6ed0dd02806fa89e25de060c19d3ac86cabb87d6a0ddd05c333b84f4"},
+ {1000UL, 0, "A", "3000c31a7ab8e9c760257073c4d3be370fab6d1d28eb027c6d874f29"},
+ {1, 0, "abc", "4634270f707b6a54daae7530460842e20e37ed265ceee9a43e8924aa"},
+ {1, 0, "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmnhijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
+ "23fec5bb94d60b23308192640b0c453335d664734fe40e7268674af9"}
+};
+
+
+#else
+# define TEST_UNSUPPORTED
+# include "common.h"
+#endif
+
+
+int
+main(void)
+{
+ TEST_MAIN("SHA-512/224", SHA_512_224);
+}
diff --git a/t/sha_512_256.c b/t/sha_512_256.c
new file mode 100644
index 0000000..f4b168b
--- /dev/null
+++ b/t/sha_512_256.c
@@ -0,0 +1,26 @@
+/* See LICENSE file for copyright and license details. */
+#ifdef SUPPORT_SHA2
+# define TEST
+# include "common.h"
+
+
+static struct testcase testcases[] = {
+ {1, 0, "", "c672b8d1ef56ed28ab87c3622c5114069bdd3ad7b8f9737498d0c01ecef0967a"},
+ {1000UL, 0, "A", "6ad592c8991fa0fc0fc78b6c2e73f3b55db74afeb1027a5aeacb787fb531e64a"},
+ {1, 0, "abc", "53048e2681941ef99b2e29b76b4c7dabe4c2d0c634fc6d46e0e2f13107e7af23"},
+ {1, 0, "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmnhijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
+ "3928e184fb8690f840da3988121d31be65cb9d3ef83ee6146feac861e19b563a"}
+};
+
+
+#else
+# define TEST_UNSUPPORTED
+# include "common.h"
+#endif
+
+
+int
+main(void)
+{
+ TEST_MAIN("SHA-512/256", SHA_512_256);
+}