fix more msvc warnings
This commit is contained in:
parent
ca6d935bbc
commit
b320752f2a
@ -94,7 +94,7 @@ static void left_bit_shift_wide_n(const int length, DIGIT in[], unsigned int amo
|
|||||||
}
|
}
|
||||||
|
|
||||||
static uint8_t byte_reverse_with_64bitDIGIT(uint8_t b) {
|
static uint8_t byte_reverse_with_64bitDIGIT(uint8_t b) {
|
||||||
b = (b * 0x0202020202ULL & 0x010884422010ULL) % 1023;
|
b = (uint8_t)((b * 0x0202020202ULL & 0x010884422010ULL) % 1023);
|
||||||
return b;
|
return b;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -28,8 +28,8 @@ void PQCLEAN_LEDAKEMLT12_CLEAN_niederreiter_keygen(publicKeyNiederreiter_t *pk,
|
|||||||
|
|
||||||
/*Rejection-sample for a full L*/
|
/*Rejection-sample for a full L*/
|
||||||
POSITION_T LPosOnes[N0][DV * M];
|
POSITION_T LPosOnes[N0][DV * M];
|
||||||
int is_L_full;
|
int is_L_full = 0;
|
||||||
int isDFRok;
|
int isDFRok = 0;
|
||||||
sk->rejections = (int8_t) 0;
|
sk->rejections = (int8_t) 0;
|
||||||
do {
|
do {
|
||||||
PQCLEAN_LEDAKEMLT12_CLEAN_generateHPosOnes_HtrPosOnes(HPosOnes,
|
PQCLEAN_LEDAKEMLT12_CLEAN_generateHPosOnes_HtrPosOnes(HPosOnes,
|
||||||
|
Loading…
Reference in New Issue
Block a user