From 72484a054fe6014691a476fe3b0ec8e4179b777c Mon Sep 17 00:00:00 2001 From: Michael Hamburg Date: Tue, 23 May 2017 16:09:36 -0700 Subject: [PATCH] test to make sure bug is gone --- test/test_decaf.cxx | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/test/test_decaf.cxx b/test/test_decaf.cxx index db0a497..99a827a 100644 --- a/test/test_decaf.cxx +++ b/test/test_decaf.cxx @@ -12,6 +12,7 @@ #include #include #include +#include #include using namespace decaf; @@ -598,6 +599,22 @@ static void run() { }; /* template struct Tests */ +static void test_xof() { + Test test("XOF"); + + FixedArrayBuffer<1024> a,b; + + SHAKE<128> s1, s2; + unsigned i; + for (i=0; i(); if (passing) printf("Passed all tests.\n");