Browse Source

remove wrong cast

master
Matthias J. Kannwischer 5 years ago
parent
commit
61b36e933b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      crypto_kem/lightsaber/clean/cbd.c

+ 1
- 1
crypto_kem/lightsaber/clean/cbd.c View File

@@ -28,7 +28,7 @@ void PQCLEAN_LIGHTSABER_CLEAN_cbd(uint16_t *r, const unsigned char *buf) {
int i, j;

for (i = 0; i < SABER_N / 4; i++) {
t = (uint32_t) load_littleendian(buf + 5 * i, 5);
t = load_littleendian(buf + 5 * i, 5);
d = 0;
for (j = 0; j < 5; j++) {
d += (t >> j) & 0x0842108421UL;


Loading…
Cancel
Save