aboutsummaryrefslogtreecommitdiffstats
path: root/include/mcl/bn.hpp
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2016-05-02 15:37:10 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2016-05-02 15:37:10 +0800
commit0b5ad05c30087bdb369430ba5736abec487df566 (patch)
treed527bae6909956e817aa3ea29332e650a23f3aac /include/mcl/bn.hpp
parented1b93a738dc9bc88baaa79020578c0f2201b624 (diff)
downloaddexon-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.hpp2
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 };