diff --git a/crypto_kem/firesaber/avx2/polymul/scm_avx.c b/crypto_kem/firesaber/avx2/polymul/scm_avx.c index 4e4f11f8..48870f51 100644 --- a/crypto_kem/firesaber/avx2/polymul/scm_avx.c +++ b/crypto_kem/firesaber/avx2/polymul/scm_avx.c @@ -4,7 +4,7 @@ #include -inline __m256i mul_add(__m256i a, __m256i b, __m256i c) { +static inline __m256i mul_add(__m256i a, __m256i b, __m256i c) { return _mm256_add_epi16(_mm256_mullo_epi16(a, b), c); } diff --git a/crypto_kem/lightsaber/avx2/polymul/scm_avx.c b/crypto_kem/lightsaber/avx2/polymul/scm_avx.c index 4e4f11f8..48870f51 100644 --- a/crypto_kem/lightsaber/avx2/polymul/scm_avx.c +++ b/crypto_kem/lightsaber/avx2/polymul/scm_avx.c @@ -4,7 +4,7 @@ #include -inline __m256i mul_add(__m256i a, __m256i b, __m256i c) { +static inline __m256i mul_add(__m256i a, __m256i b, __m256i c) { return _mm256_add_epi16(_mm256_mullo_epi16(a, b), c); } diff --git a/crypto_kem/saber/avx2/polymul/scm_avx.c b/crypto_kem/saber/avx2/polymul/scm_avx.c index 4e4f11f8..48870f51 100644 --- a/crypto_kem/saber/avx2/polymul/scm_avx.c +++ b/crypto_kem/saber/avx2/polymul/scm_avx.c @@ -4,7 +4,7 @@ #include -inline __m256i mul_add(__m256i a, __m256i b, __m256i c) { +static inline __m256i mul_add(__m256i a, __m256i b, __m256i c) { return _mm256_add_epi16(_mm256_mullo_epi16(a, b), c); }