aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2017-05-30 21:40:44 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2017-05-30 21:40:44 +0800
commit1e9a0d8c358e868a07341530a55c4d07842dabe8 (patch)
tree44a91d8c958d4a6ceff6c2acba6aed2d9c57177d
parentcdde21c8825aa0499997cc217e9030683461571e (diff)
downloaddexon-bls-1e9a0d8c358e868a07341530a55c4d07842dabe8.tar
dexon-bls-1e9a0d8c358e868a07341530a55c4d07842dabe8.tar.gz
dexon-bls-1e9a0d8c358e868a07341530a55c4d07842dabe8.tar.bz2
dexon-bls-1e9a0d8c358e868a07341530a55c4d07842dabe8.tar.lz
dexon-bls-1e9a0d8c358e868a07341530a55c4d07842dabe8.tar.xz
dexon-bls-1e9a0d8c358e868a07341530a55c4d07842dabe8.tar.zst
dexon-bls-1e9a0d8c358e868a07341530a55c4d07842dabe8.zip
setMsg is renamed to setHashOf
-rw-r--r--src/bls.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bls.cpp b/src/bls.cpp
index c4a3e69..609e256 100644
--- a/src/bls.cpp
+++ b/src/bls.cpp
@@ -40,7 +40,7 @@ static const std::vector<Fp6>& getQcoeff() { return *g_pQcoeff; }
static void HashAndMapToG1(G1& P, const std::string& m)
{
Fp t;
- t.setMsg(m);
+ t.setHashOf(m);
BN::mapToG1(P, t);
}