diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2017-05-30 21:50:29 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2017-05-30 21:50:29 +0800 |
commit | c79481e4e0f216fec35c9095bb4f425a9ea36edc (patch) | |
tree | 2fe0e3ac1b4a95e5bce68e75f53e34f959d3d96c /include/bls | |
parent | 1e9a0d8c358e868a07341530a55c4d07842dabe8 (diff) | |
download | dexon-bls-c79481e4e0f216fec35c9095bb4f425a9ea36edc.tar dexon-bls-c79481e4e0f216fec35c9095bb4f425a9ea36edc.tar.gz dexon-bls-c79481e4e0f216fec35c9095bb4f425a9ea36edc.tar.bz2 dexon-bls-c79481e4e0f216fec35c9095bb4f425a9ea36edc.tar.lz dexon-bls-c79481e4e0f216fec35c9095bb4f425a9ea36edc.tar.xz dexon-bls-c79481e4e0f216fec35c9095bb4f425a9ea36edc.tar.zst dexon-bls-c79481e4e0f216fec35c9095bb4f425a9ea36edc.zip |
use setHashOf
Diffstat (limited to 'include/bls')
-rw-r--r-- | include/bls/bls.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/bls/bls.hpp b/include/bls/bls.hpp index ddfbf50..f3a29a0 100644 --- a/include/bls/bls.hpp +++ b/include/bls/bls.hpp @@ -136,6 +136,8 @@ public: void set(const uint64_t *p); // bufSize is truncted/zero extended to keySize void setLittleEndian(const void *buf, size_t bufSize); + // set hash of buf + void setHashOf(const void *buf, size_t bufSize); void getPublicKey(PublicKey& pub) const; // constant time sign void sign(Signature& sig, const std::string& m) const; |