diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2016-05-02 15:37:10 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2016-05-02 15:37:10 +0800 |
commit | 0b5ad05c30087bdb369430ba5736abec487df566 (patch) | |
tree | d527bae6909956e817aa3ea29332e650a23f3aac /include/mcl/bn.hpp | |
parent | ed1b93a738dc9bc88baaa79020578c0f2201b624 (diff) | |
download | dexon-mcl-0b5ad05c30087bdb369430ba5736abec487df566.tar.gz dexon-mcl-0b5ad05c30087bdb369430ba5736abec487df566.tar.zst dexon-mcl-0b5ad05c30087bdb369430ba5736abec487df566.zip |
add CFLAGS_USER, LDFLAGS_USER
Diffstat (limited to 'include/mcl/bn.hpp')
-rw-r--r-- | include/mcl/bn.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mcl/bn.hpp b/include/mcl/bn.hpp index e040e2c..9c2a247 100644 --- a/include/mcl/bn.hpp +++ b/include/mcl/bn.hpp @@ -142,7 +142,7 @@ struct ParamT { void init(const CurveParam& cp = CurveFp254BNb, fp::Mode mode = fp::FP_AUTO) { - z = cp.z; + gmp::setArray(z, &cp.z, 1); const int pCoff[] = { 1, 6, 24, 36, 36 }; const int rCoff[] = { 1, 6, 18, 36, 36 }; const int tCoff[] = { 1, 0, 6, 0, 0 }; |