fix msvc complaints #2

This commit is contained in:
Leon Botros 2019-08-23 14:21:09 +02:00
parent 50665606f0
commit 823ba3f13b
3 changed files with 3 additions and 3 deletions

View File

@ -223,7 +223,7 @@ int PQCLEAN_LEDAKEMLT12_LEAKTIME_gf2x_mod_inverse(DIGIT out[], const DIGIT in[])
gf2x_cswap(f, g, swap); gf2x_cswap(f, g, swap);
gf2x_cswap(v, r, swap); gf2x_cswap(v, r, swap);
g0_mask = -lsb(g); g0_mask = ~lsb(g) + 1;
// g = (g - g0 * f) / x // g = (g - g0 * f) / x
gf2x_mult_scalar_acc(g, f, g0_mask); gf2x_mult_scalar_acc(g, f, g0_mask);

View File

@ -221,7 +221,7 @@ int PQCLEAN_LEDAKEMLT32_LEAKTIME_gf2x_mod_inverse(DIGIT out[], const DIGIT in[])
gf2x_cswap(f, g, swap); gf2x_cswap(f, g, swap);
gf2x_cswap(v, r, swap); gf2x_cswap(v, r, swap);
g0_mask = -lsb(g); g0_mask = ~lsb(g) + 1;
// g = (g - g0 * f) / x // g = (g - g0 * f) / x
gf2x_mult_scalar_acc(g, f, g0_mask); gf2x_mult_scalar_acc(g, f, g0_mask);

View File

@ -221,7 +221,7 @@ int PQCLEAN_LEDAKEMLT52_LEAKTIME_gf2x_mod_inverse(DIGIT out[], const DIGIT in[])
gf2x_cswap(f, g, swap); gf2x_cswap(f, g, swap);
gf2x_cswap(v, r, swap); gf2x_cswap(v, r, swap);
g0_mask = -lsb(g); g0_mask = ~lsb(g) + 1;
// g = (g - g0 * f) / x // g = (g - g0 * f) / x
gf2x_mult_scalar_acc(g, f, g0_mask); gf2x_mult_scalar_acc(g, f, g0_mask);