aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2024-04-29 19:41:35 -0400
committerPaul Duncan <pabs@pablotron.org>2024-04-29 19:41:35 -0400
commitd9f691ab935591725110c74554e3fdc614e9b775 (patch)
treefde51753abbe06d91583437a9879fd8a87b0ac0e
parent59918e76a8f46a6556df22303e87a38299af2843 (diff)
downloadsha3-d9f691ab935591725110c74554e3fdc614e9b775.tar.bz2
sha3-d9f691ab935591725110c74554e3fdc614e9b775.zip
sha3.c: s/ifdef/if/ in a few places
-rw-r--r--sha3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sha3.c b/sha3.c
index 6b4c2fd..b364ae2 100644
--- a/sha3.c
+++ b/sha3.c
@@ -2359,7 +2359,7 @@ static void test_permute_scalar(void) {
}
static void test_permute_avx512(void) {
-#ifdef SHA3_BACKEND == SHA3_BACKEND_AVX512
+#if SHA3_BACKEND == SHA3_BACKEND_AVX512
for (size_t i = 0; i < sizeof(PERMUTE_TESTS) / sizeof(PERMUTE_TESTS[0]); i++) {
const size_t exp_len = PERMUTE_TESTS[i].exp_len;
@@ -2399,7 +2399,7 @@ static void test_permute12_scalar(void) {
}
static void test_permute12_avx512(void) {
-#ifdef SHA3_BACKEND == SHA3_BACKEND_AVX512
+#if SHA3_BACKEND == SHA3_BACKEND_AVX512
for (size_t i = 0; i < sizeof(PERMUTE12_TESTS) / sizeof(PERMUTE12_TESTS[0]); i++) {
const size_t exp_len = PERMUTE12_TESTS[i].exp_len;