このサイトはJavaScriptを使用しています
ホーム
エクスプローラー
ヘルプ
サインイン
kris
/
pqcrypto
ミラー元
https://github.com/henrydcase/pqc.git
ウォッチ
1
スター
1
フォーク
0
コード
課題
1
リリース
2
Wiki
アクティビティ
ソースを参照
fix msvc complaints
#2
tags/v0.0.1
Leon Botros
5年前
親
50665606f0
コミット
823ba3f13b
3個のファイルの変更
、
3行の追加
、
3行の削除
分割表示
差分オプション
統計情報を表示
Patchファイルをダウンロード
Diffファイルをダウンロード
+1
-1
crypto_kem/ledakemlt12/leaktime/gf2x_arith_mod_xPplusOne.c
+1
-1
crypto_kem/ledakemlt32/leaktime/gf2x_arith_mod_xPplusOne.c
+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);
書き込み
プレビュー
読み込み中…
キャンセル
保存