ソースを参照

fix msvc complaints #2

tags/v0.0.1
Leon Botros 5年前
コミット
823ba3f13b
3個のファイルの変更3行の追加3行の削除
  1. +1
    -1
      crypto_kem/ledakemlt12/leaktime/gf2x_arith_mod_xPplusOne.c
  2. +1
    -1
      crypto_kem/ledakemlt32/leaktime/gf2x_arith_mod_xPplusOne.c
  3. +1
    -1
      crypto_kem/ledakemlt52/leaktime/gf2x_arith_mod_xPplusOne.c

+ 1
- 1
crypto_kem/ledakemlt12/leaktime/gf2x_arith_mod_xPplusOne.c ファイルの表示

@@ -223,7 +223,7 @@ int PQCLEAN_LEDAKEMLT12_LEAKTIME_gf2x_mod_inverse(DIGIT out[], const DIGIT in[])
gf2x_cswap(f, g, swap);
gf2x_cswap(v, r, swap);

g0_mask = -lsb(g);
g0_mask = ~lsb(g) + 1;

// g = (g - g0 * f) / x
gf2x_mult_scalar_acc(g, f, g0_mask);


+ 1
- 1
crypto_kem/ledakemlt32/leaktime/gf2x_arith_mod_xPplusOne.c ファイルの表示

@@ -221,7 +221,7 @@ int PQCLEAN_LEDAKEMLT32_LEAKTIME_gf2x_mod_inverse(DIGIT out[], const DIGIT in[])
gf2x_cswap(f, g, swap);
gf2x_cswap(v, r, swap);

g0_mask = -lsb(g);
g0_mask = ~lsb(g) + 1;

// g = (g - g0 * f) / x
gf2x_mult_scalar_acc(g, f, g0_mask);


+ 1
- 1
crypto_kem/ledakemlt52/leaktime/gf2x_arith_mod_xPplusOne.c ファイルの表示

@@ -221,7 +221,7 @@ int PQCLEAN_LEDAKEMLT52_LEAKTIME_gf2x_mod_inverse(DIGIT out[], const DIGIT in[])
gf2x_cswap(f, g, swap);
gf2x_cswap(v, r, swap);

g0_mask = -lsb(g);
g0_mask = ~lsb(g) + 1;

// g = (g - g0 * f) / x
gf2x_mult_scalar_acc(g, f, g0_mask);


読み込み中…
キャンセル
保存