From c79481e4e0f216fec35c9095bb4f425a9ea36edc Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Tue, 30 May 2017 22:50:29 +0900 Subject: use setHashOf --- include/bls/bls.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/bls') 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; -- cgit v1.2.3