aboutsummaryrefslogtreecommitdiffstats
path: root/t/blake2b.c
blob: 8f0c877ea0b35c6b5c1ba2320f61ad506e7357ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* See LICENSE file for copyright and license details. */
#ifdef SUPPORT_BLAKE2B
# define TEST
# include "../common.h"


static struct testcase testcases[] = {
	{1, 0, "",
	 "786a02f742015903c6c6fd852552d272912f4740e15847618a86e217f71f5419"
	 "d25e1031afee585313896444934eb04b903a685b1448b755d56f701afe9be2ce"},
	{1, 0, "The quick brown fox jumps over the lazy dog",
	 "a8add4bdddfd93e4877d2746e62817b116364a1fa7bc148d95090bc7333b3673"
	 "f82401cf7aa2e4cb1ecd90296e3f14cb5413f8ed77be73045b13914cdcd6a918"},
	{1, 0, "The quick brown fox jumps over the lazy dof",
	 "ab6b007747d8068c02e25a6008db8a77c218d94f3b40d2291a7dc8a62090a744"
	 "c082ea27af01521a102e42f480a31e9844053f456b4b41e8aa78bbe5c12957bb"}
};


#else
# define TEST_UNSUPPORTED
# include "../common.h"
#endif


int
main(void)
{
	TEST_MAIN("BLAKE2b", BLAKE2B, 0);
}