aboutsummaryrefslogtreecommitdiffstats
path: root/src/bls.cpp
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2017-05-30 21:50:29 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2017-05-30 21:50:29 +0800
commitc79481e4e0f216fec35c9095bb4f425a9ea36edc (patch)
tree2fe0e3ac1b4a95e5bce68e75f53e34f959d3d96c /src/bls.cpp
parent1e9a0d8c358e868a07341530a55c4d07842dabe8 (diff)
downloaddexon-bls-c79481e4e0f216fec35c9095bb4f425a9ea36edc.tar.gz
dexon-bls-c79481e4e0f216fec35c9095bb4f425a9ea36edc.tar.zst
dexon-bls-c79481e4e0f216fec35c9095bb4f425a9ea36edc.zip
use setHashOf
Diffstat (limited to 'src/bls.cpp')
-rw-r--r--src/bls.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bls.cpp b/src/bls.cpp
index 609e256..7b6f40b 100644
--- a/src/bls.cpp
+++ b/src/bls.cpp
@@ -419,6 +419,10 @@ void SecretKey::setLittleEndian(const void *buf, size_t bufSize)
{
getInner().s.setArrayMask((const char *)buf, bufSize);
}
+void SecretKey::setHashOf(const void *buf, size_t bufSize)
+{
+ getInner().s.setHashOf(buf, bufSize);
+}
void SecretKey::getPublicKey(PublicKey& pub) const
{