Browse Source

*saber/avx2: declare mul_add static

tags/v0.0.1
John M. Schanck 4 years ago
committed by Kris Kwiatkowski
parent
commit
b1a3b03e65
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      crypto_kem/firesaber/avx2/polymul/scm_avx.c
  2. +1
    -1
      crypto_kem/lightsaber/avx2/polymul/scm_avx.c
  3. +1
    -1
      crypto_kem/saber/avx2/polymul/scm_avx.c

+ 1
- 1
crypto_kem/firesaber/avx2/polymul/scm_avx.c View File

@@ -4,7 +4,7 @@

#include <immintrin.h>

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);
}



+ 1
- 1
crypto_kem/lightsaber/avx2/polymul/scm_avx.c View File

@@ -4,7 +4,7 @@

#include <immintrin.h>

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);
}



+ 1
- 1
crypto_kem/saber/avx2/polymul/scm_avx.c View File

@@ -4,7 +4,7 @@

#include <immintrin.h>

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);
}



Loading…
Cancel
Save