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
Fix left shift overflow for MASK_N2
tags/v0.0.1
John M. Schanck
4 years ago
committed by
Kris Kwiatkowski
parent
6cf952a2ce
commit
2767acd007
4 changed files
with
4 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
crypto_kem/hqc-128/avx2/repetition.c
+1
-1
crypto_kem/hqc-128/clean/repetition.c
+1
-1
crypto_kem/hqc-192/avx2/repetition.c
+1
-1
crypto_kem/hqc-192/clean/repetition.c
+ 1
- 1
crypto_kem/hqc-128/avx2/repetition.c
View File
@@ -10,7 +10,7 @@
*/
#define MASK_N2
((1UL
<< PARAM_N2) - 1)
#define MASK_N2
((((uint64_t) 1)
<< PARAM_N2) - 1)
/**
* @brief Decoding the code words to a message using the repetition code
+ 1
- 1
crypto_kem/hqc-128/clean/repetition.c
View File
@@ -8,7 +8,7 @@
* @brief Implementation of repetition codes
*/
#define MASK_N2
((1UL
<< PARAM_N2) - 1)
#define MASK_N2
((((uint64_t) 1)
<< PARAM_N2) - 1)
static inline int32_t popcount(uint64_t n);
+ 1
- 1
crypto_kem/hqc-192/avx2/repetition.c
View File
@@ -10,7 +10,7 @@
*/
#define MASK_N2
((1UL
<< PARAM_N2) - 1)
#define MASK_N2
((((uint64_t) 1)
<< PARAM_N2) - 1)
/**
* @brief Decoding the code words to a message using the repetition code
+ 1
- 1
crypto_kem/hqc-192/clean/repetition.c
View File
@@ -8,7 +8,7 @@
* @brief Implementation of repetition codes
*/
#define MASK_N2
((1UL
<< PARAM_N2) - 1)
#define MASK_N2
((((uint64_t) 1)
<< PARAM_N2) - 1)
static inline int32_t popcount(uint64_t n);
Write
Preview
Loading…
Cancel
Save