aboutsummaryrefslogtreecommitdiffstats
path: root/include/bls/bls.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/bls/bls.hpp')
-rw-r--r--include/bls/bls.hpp9
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); }