This website works better with JavaScript.
Home
Explore
Help
Sign In
kris
/
pqc
Watch
1
Star
1
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
falcon: conversion warning
master
John M. Schanck
4 years ago
parent
3773b71aa3
commit
1caa0cfeff
2 changed files
with
6 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
crypto_sign/falcon-1024/clean/codec.c
+3
-1
crypto_sign/falcon-512/clean/codec.c
+ 3
- 1
crypto_sign/falcon-1024/clean/codec.c
View File
@@ -444,7 +444,9 @@ PQCLEAN_FALCON1024_CLEAN_comp_decode(
}
}
x[u] = (int16_t) m;
if (s) x[u] = -x[u];
if (s) {
x[u] = (int16_t) -x[u];
}
}
return v;
}
+ 3
- 1
crypto_sign/falcon-512/clean/codec.c
View File
@@ -444,7 +444,9 @@ PQCLEAN_FALCON512_CLEAN_comp_decode(
}
}
x[u] = (int16_t) m;
if (s) x[u] = -x[u];
if (s) {
x[u] = (int16_t) -x[u];
}
}
return v;
}
Write
Preview
Loading…
Cancel
Save