aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2024-05-08 16:54:04 -0400
committerPaul Duncan <pabs@pablotron.org>2024-05-08 16:54:04 -0400
commit255c5fcfec7b1296c4ba764ce72d14f9dc25dea9 (patch)
tree2601e1c135a6fb743ea22cc819011e994097241f
parent4beae60335d7f31f8952c8b6a5ae54ee1bd35473 (diff)
downloadsha3-255c5fcfec7b1296c4ba764ce72d14f9dc25dea9.tar.bz2
sha3-255c5fcfec7b1296c4ba764ce72d14f9dc25dea9.zip
sha3.c: s/call permute_n_.*(/call permute_n(/ in test comments
-rw-r--r--sha3.c8
1 files 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);