diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2017-06-06 05:24:30 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2017-06-06 05:24:30 +0800 |
commit | dd82daf93c4a7ac65f65ea9fbf78c98f5d8d5247 (patch) | |
tree | a5125ca254dbba09f898dadb7c7646f3738b88db /include/bls | |
parent | 2d350f2122971b120ddb70c498dde6c954a85caa (diff) | |
download | dexon-bls-dd82daf93c4a7ac65f65ea9fbf78c98f5d8d5247.tar dexon-bls-dd82daf93c4a7ac65f65ea9fbf78c98f5d8d5247.tar.gz dexon-bls-dd82daf93c4a7ac65f65ea9fbf78c98f5d8d5247.tar.bz2 dexon-bls-dd82daf93c4a7ac65f65ea9fbf78c98f5d8d5247.tar.lz dexon-bls-dd82daf93c4a7ac65f65ea9fbf78c98f5d8d5247.tar.xz dexon-bls-dd82daf93c4a7ac65f65ea9fbf78c98f5d8d5247.tar.zst dexon-bls-dd82daf93c4a7ac65f65ea9fbf78c98f5d8d5247.zip |
_
Diffstat (limited to 'include/bls')
-rw-r--r-- | include/bls/bls.hpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/bls/bls.hpp b/include/bls/bls.hpp index 1b30cff..914cedf 100644 --- a/include/bls/bls.hpp +++ b/include/bls/bls.hpp @@ -7,6 +7,7 @@ http://opensource.org/licenses/BSD-3-Clause */ #include <mcl/bn.h> +#include <bls/bls.h> #include <vector> #include <string> #include <iosfwd> @@ -76,7 +77,7 @@ typedef std::vector<Signature> SignatureVec; typedef std::vector<Id> IdVec; class Id { - mclBnFr self_; + blsId self_; friend class PublicKey; friend class SecretKey; template<class T, class G> friend struct WrapArray; @@ -104,7 +105,7 @@ public: s ; secret key */ class SecretKey { - mclBnFr self_; + blsSecretKey self_; template<class T, class G> friend struct WrapArray; impl::SecretKey& getInner() { return *reinterpret_cast<impl::SecretKey*>(this); } const impl::SecretKey& getInner() const { return *reinterpret_cast<const impl::SecretKey*>(this); } @@ -169,7 +170,7 @@ public: sQ ; public key */ class PublicKey { - mclBnG2 self_; + blsPublicKey self_; friend class SecretKey; friend class Signature; template<class T, class G> friend struct WrapArray; @@ -208,7 +209,7 @@ public: s H(m) ; signature */ class Signature { - mclBnG1 self_; + blsSignature self_; friend class SecretKey; template<class T, class G> friend struct WrapArray; impl::Signature& getInner() { return *reinterpret_cast<impl::Signature*>(this); } |