aboutsummaryrefslogtreecommitdiff
path: root/sha3.c
diff options
context:
space:
mode:
Diffstat (limited to 'sha3.c')
-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);