mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-22 15:39:07 +00:00
Updated version number, and added an explicit cast to appease some versions of clang-tidy.
This commit is contained in:
parent
44a050106a
commit
2515f13378
@ -20,4 +20,4 @@ auxiliary-submitters:
|
||||
- Zhenfei Zhang
|
||||
implementations:
|
||||
- name: clean
|
||||
version: round two
|
||||
version: 20190920
|
||||
|
@ -1122,7 +1122,7 @@ PQCLEAN_FALCON1024_CLEAN_sampler(void *ctx, fpr mu, fpr isigma) {
|
||||
* centered on 0.
|
||||
*/
|
||||
z0 = PQCLEAN_FALCON1024_CLEAN_gaussian0_sampler(&spc->p);
|
||||
b = prng_get_u8(&spc->p) & 1;
|
||||
b = (int)prng_get_u8(&spc->p) & 1;
|
||||
z = b + ((b << 1) - 1) * z0;
|
||||
|
||||
/*
|
||||
|
@ -20,4 +20,4 @@ auxiliary-submitters:
|
||||
- Zhenfei Zhang
|
||||
implementations:
|
||||
- name: clean
|
||||
version: round two
|
||||
version: 20190920
|
||||
|
@ -1122,7 +1122,7 @@ PQCLEAN_FALCON512_CLEAN_sampler(void *ctx, fpr mu, fpr isigma) {
|
||||
* centered on 0.
|
||||
*/
|
||||
z0 = PQCLEAN_FALCON512_CLEAN_gaussian0_sampler(&spc->p);
|
||||
b = prng_get_u8(&spc->p) & 1;
|
||||
b = (int)prng_get_u8(&spc->p) & 1;
|
||||
z = b + ((b << 1) - 1) * z0;
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user