aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2016-08-28 05:09:41 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2016-08-28 05:09:41 +0800
commit5a2fded35bbc0d341da374d6c43c0091e026266b (patch)
treef7757357ae96aae7024f030587be43730b3ad2d4 /src
parent135e3e6014431a9358a13ce96d0b4870cc916ee3 (diff)
downloaddexon-bls-5a2fded35bbc0d341da374d6c43c0091e026266b.tar
dexon-bls-5a2fded35bbc0d341da374d6c43c0091e026266b.tar.gz
dexon-bls-5a2fded35bbc0d341da374d6c43c0091e026266b.tar.bz2
dexon-bls-5a2fded35bbc0d341da374d6c43c0091e026266b.tar.lz
dexon-bls-5a2fded35bbc0d341da374d6c43c0091e026266b.tar.xz
dexon-bls-5a2fded35bbc0d341da374d6c43c0091e026266b.tar.zst
dexon-bls-5a2fded35bbc0d341da374d6c43c0091e026266b.zip
exception if the value >= r
Diffstat (limited to 'src')
-rw-r--r--src/bls.cpp4
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()