mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-30 03:11:43 +00:00
fix vs warning
This commit is contained in:
parent
6aafbd56f2
commit
cc94db88fa
@ -28,7 +28,7 @@ void PQCLEAN_FIRESABER_CLEAN_cbd(uint16_t *r, const unsigned char *buf) {
|
|||||||
int i, j;
|
int i, j;
|
||||||
|
|
||||||
for (i = 0; i < SABER_N / 4; i++) {
|
for (i = 0; i < SABER_N / 4; i++) {
|
||||||
t = load_littleendian(buf + 3 * i, 3);
|
t = (uint32_t) load_littleendian(buf + 3 * i, 3);
|
||||||
d = 0;
|
d = 0;
|
||||||
for (j = 0; j < 3; j++) {
|
for (j = 0; j < 3; j++) {
|
||||||
d += (t >> j) & 0x249249;
|
d += (t >> j) & 0x249249;
|
||||||
|
@ -28,7 +28,7 @@ void PQCLEAN_LIGHTSABER_CLEAN_cbd(uint16_t *r, const unsigned char *buf) {
|
|||||||
int i, j;
|
int i, j;
|
||||||
|
|
||||||
for (i = 0; i < SABER_N / 4; i++) {
|
for (i = 0; i < SABER_N / 4; i++) {
|
||||||
t = load_littleendian(buf + 5 * i, 5);
|
t = (uint32_t) load_littleendian(buf + 5 * i, 5);
|
||||||
d = 0;
|
d = 0;
|
||||||
for (j = 0; j < 5; j++) {
|
for (j = 0; j < 5; j++) {
|
||||||
d += (t >> j) & 0x0842108421UL;
|
d += (t >> j) & 0x0842108421UL;
|
||||||
|
Loading…
Reference in New Issue
Block a user