This website works better with JavaScript.
Home
Explore
Help
Sign In
kris
/
pqc
Watch
1
Star
1
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
*saber/avx2: declare mul_add static
master
John M. Schanck
4 years ago
parent
0a3146831f
commit
baa309ea7a
3 changed files
with
3 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
crypto_kem/firesaber/avx2/polymul/scm_avx.c
+1
-1
crypto_kem/lightsaber/avx2/polymul/scm_avx.c
+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);
}
Write
Preview
Loading…
Cancel
Save