This website works better with JavaScript.
Home
Explore
Help
Sign In
kris
/
pqcrypto
mirror of
https://github.com/henrydcase/pqc.git
Watch
1
Star
1
Fork
0
Code
Issues
1
Releases
2
Wiki
Activity
Browse Source
*saber/avx2: declare mul_add static
tags/v0.0.1
John M. Schanck
4 years ago
committed by
Kris Kwiatkowski
parent
39c00e8c47
commit
b1a3b03e65
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