remove wrong cast

This commit is contained in:
Matthias J. Kannwischer 2019-06-18 17:16:32 +02:00
parent cc94db88fa
commit 61b36e933b

View File

@ -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 = (uint32_t) load_littleendian(buf + 5 * i, 5); 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;