diff options
author | Paul Duncan <pabs@pablotron.org> | 2024-04-29 19:41:35 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2024-04-29 19:41:35 -0400 |
commit | d9f691ab935591725110c74554e3fdc614e9b775 (patch) | |
tree | fde51753abbe06d91583437a9879fd8a87b0ac0e | |
parent | 59918e76a8f46a6556df22303e87a38299af2843 (diff) | |
download | sha3-d9f691ab935591725110c74554e3fdc614e9b775.tar.bz2 sha3-d9f691ab935591725110c74554e3fdc614e9b775.zip |
sha3.c: s/ifdef/if/ in a few places
-rw-r--r-- | sha3.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |