From 255c5fcfec7b1296c4ba764ce72d14f9dc25dea9 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Wed, 8 May 2024 16:54:04 -0400 Subject: sha3.c: s/call permute_n_.*(/call permute_n(/ in test comments --- sha3.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sha3.c b/sha3.c index b12e20d..fbfc3c8 100644 --- a/sha3.c +++ b/sha3.c @@ -3072,7 +3072,7 @@ static void test_permute12_scalar(void) { uint64_t got[25] = { 0 }; memcpy(got, PERMUTE12_TESTS[i].a, sizeof(got)); - permute_n_scalar(got, 12); // call permute_n_scalar() directly + permute_n_scalar(got, 12); // call permute_n() directly if (memcmp(got, PERMUTE12_TESTS[i].exp, exp_len)) { fail_test(__func__, "", (uint8_t*) got, exp_len, (uint8_t*) PERMUTE12_TESTS[i].exp, exp_len); @@ -3087,7 +3087,7 @@ static void test_permute12_avx512(void) { uint64_t got[25] = { 0 }; memcpy(got, PERMUTE12_TESTS[i].a, sizeof(got)); - permute_n_avx512(got, 12); // call permute_n_avx512() directly + permute_n_avx512(got, 12); // call permute_n() directly if (memcmp(got, PERMUTE12_TESTS[i].exp, exp_len)) { fail_test(__func__, "", (uint8_t*) got, exp_len, (uint8_t*) PERMUTE12_TESTS[i].exp, exp_len); @@ -3103,7 +3103,7 @@ static void test_permute12_neon(void) { uint64_t got[25] = { 0 }; memcpy(got, PERMUTE12_TESTS[i].a, sizeof(got)); - permute_n_neon(got, 12); // call permute_n_neon() directly + permute_n_neon(got, 12); // call permute_n() directly if (memcmp(got, PERMUTE12_TESTS[i].exp, exp_len)) { fail_test(__func__, "", (uint8_t*) got, exp_len, (uint8_t*) PERMUTE12_TESTS[i].exp, exp_len); @@ -3119,7 +3119,7 @@ static void test_permute12_diet_neon(void) { uint64_t got[25] = { 0 }; memcpy(got, PERMUTE12_TESTS[i].a, sizeof(got)); - permute_n_diet_neon(got, 12); // call permute_n_diet_neon() directly + permute_n_diet_neon(got, 12); // call permute_n() directly if (memcmp(got, PERMUTE12_TESTS[i].exp, exp_len)) { fail_test(__func__, "", (uint8_t*) got, exp_len, (uint8_t*) PERMUTE12_TESTS[i].exp, exp_len); -- cgit v1.2.3