From ec79fdfeb88d863108e6b5cbd161163a60c7fd18 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sat, 24 Feb 2024 01:42:31 -0500 Subject: tests/cavp-tests/gen-main.rb: update to reflect shake prototype changes, minor fixes --- tests/cavp-tests/gen-main.rb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'tests/cavp-tests') diff --git a/tests/cavp-tests/gen-main.rb b/tests/cavp-tests/gen-main.rb index 5d73554..312262e 100755 --- a/tests/cavp-tests/gen-main.rb +++ b/tests/cavp-tests/gen-main.rb @@ -123,7 +123,7 @@ SETS = [{ }], }] -# header for main.c +# main.c header MAIN_HEAD = <s @@ -203,7 +204,7 @@ static void test_%s(void) { // hash data into "got" uint8_t got[%d] = { 0 }; - %s_xof_once(DATA + TESTS[i].src_ofs, TESTS[i].src_len, got, exp_len); + %s(DATA + TESTS[i].src_ofs, TESTS[i].src_len, got, exp_len); // check for expected result if (memcmp(got, exp, exp_len)) { -- cgit v1.2.3