diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2016-08-28 05:09:41 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2016-08-28 05:09:41 +0800 |
commit | 5a2fded35bbc0d341da374d6c43c0091e026266b (patch) | |
tree | f7757357ae96aae7024f030587be43730b3ad2d4 /src/bls.cpp | |
parent | 135e3e6014431a9358a13ce96d0b4870cc916ee3 (diff) | |
download | dexon-bls-5a2fded35bbc0d341da374d6c43c0091e026266b.tar.gz dexon-bls-5a2fded35bbc0d341da374d6c43c0091e026266b.tar.zst dexon-bls-5a2fded35bbc0d341da374d6c43c0091e026266b.zip |
exception if the value >= r
Diffstat (limited to 'src/bls.cpp')
-rw-r--r-- | src/bls.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bls.cpp b/src/bls.cpp index c2ae9bf..1d0a791 100644 --- a/src/bls.cpp +++ b/src/bls.cpp @@ -185,7 +185,7 @@ struct SecretKey { const Fr& get() const { return s; } void set(const uint64_t *p) { - s.setArrayMask(p, keySize); + s.setArray(p, keySize); } void init() { @@ -249,7 +249,7 @@ bool Id::isZero() const void Id::set(const uint64_t *p) { - self_->v.setArrayMask(p, keySize); + self_->v.setArray(p, keySize); } Sign::Sign() |