diff --git a/dev/x86_64/src/align.h b/dev/x86_64/src/align.h index 401f50f68..052242a34 100644 --- a/dev/x86_64/src/align.h +++ b/dev/x86_64/src/align.h @@ -10,19 +10,9 @@ * https://github.com/pq-crystals/kyber/blob/main/avx2/align.h */ -#ifndef ALIGN_H -#define ALIGN_H - #include #include -#define ALIGNED_UINT8(N) \ - union \ - { \ - uint8_t coeffs[N]; \ - __m256i vec[(N + 31) / 32]; \ - } - #define ALIGNED_INT16(N) \ union \ { \ @@ -30,6 +20,4 @@ __m256i vec[(N + 15) / 16]; \ } -#endif - #endif /* MLK_DEV_X86_64_SRC_ALIGN_H */ diff --git a/mlkem/native/x86_64/src/align.h b/mlkem/native/x86_64/src/align.h index 15c4543d8..ec18d1023 100644 --- a/mlkem/native/x86_64/src/align.h +++ b/mlkem/native/x86_64/src/align.h @@ -10,19 +10,9 @@ * https://github.com/pq-crystals/kyber/blob/main/avx2/align.h */ -#ifndef ALIGN_H -#define ALIGN_H - #include #include -#define ALIGNED_UINT8(N) \ - union \ - { \ - uint8_t coeffs[N]; \ - __m256i vec[(N + 31) / 32]; \ - } - #define ALIGNED_INT16(N) \ union \ { \ @@ -30,6 +20,4 @@ __m256i vec[(N + 15) / 16]; \ } -#endif - #endif /* MLK_NATIVE_X86_64_SRC_ALIGN_H */