You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@milagro.apache.org by km...@apache.org on 2020/03/31 08:54:26 UTC
[incubator-milagro-crypto-rust] 11/31: Fix minor bug with
compilation
This is an automated email from the ASF dual-hosted git repository.
kmccusker pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-milagro-crypto-rust.git
commit 032e9f99e9cfbee5c210d59c15f63a9c589b981d
Author: Kirk Baird <ba...@outlook.com>
AuthorDate: Fri Dec 13 15:08:35 2019 +1100
Fix minor bug with compilation
Signed-off-by: Kirk Baird <ba...@outlook.com>
---
src/roms/rom_bn254CX_64.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/roms/rom_bn254CX_64.rs b/src/roms/rom_bn254CX_64.rs
index 75d4c28..097e205 100644
--- a/src/roms/rom_bn254CX_64.rs
+++ b/src/roms/rom_bn254CX_64.rs
@@ -230,7 +230,7 @@ pub const BASEBITS: usize = 56;
pub const MODBITS: usize = 254;
pub const MOD8: usize = 3;
pub const MODTYPE: ModType = ModType::NotSpecial;
-pub const SH: usize = 64;
+pub const SH: usize = 26;
pub const CURVETYPE: CurveType = CurveType::Weierstrass;
pub const CURVE_PAIRING_TYPE: CurvePairingType = CurvePairingType::Bn;