PIVX Core  5.6.99
P2P Digital Currency
Classes | Macros | Typedefs | Functions
bls_wrapper.h File Reference
#include "hash.h"
#include "serialize.h"
#include "uint256.h"
#include "utilstrencodings.h"
#include <bls.hpp>
#include <privatekey.hpp>
#include <elements.hpp>
#include <schemes.hpp>
#include <threshold.hpp>
#include <array>
#include <mutex>
#include <unistd.h>
Include dependency graph for bls_wrapper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CBLSWrapper< ImplType, _SerSize, C >
 
struct  CBLSIdImplicit
 
class  CBLSId
 
class  CBLSSecretKey
 
class  CBLSPublicKey
 
class  CBLSSignature
 
class  CBLSLazyWrapper< BLSObject >
 

Macros

#define BLS_CURVE_ID_SIZE   32
 
#define BLS_CURVE_SECKEY_SIZE   32
 
#define BLS_CURVE_PUBKEY_SIZE   48
 
#define BLS_CURVE_SIG_SIZE   96
 

Typedefs

typedef CBLSLazyWrapper< CBLSSignatureCBLSLazySignature
 
typedef CBLSLazyWrapper< CBLSPublicKeyCBLSLazyPublicKey
 
typedef CBLSLazyWrapper< CBLSSecretKeyCBLSLazySecretKey
 
typedef std::vector< CBLSIdBLSIdVector
 
typedef std::vector< CBLSPublicKeyBLSVerificationVector
 
typedef std::vector< CBLSPublicKeyBLSPublicKeyVector
 
typedef std::vector< CBLSSecretKeyBLSSecretKeyVector
 
typedef std::vector< CBLSSignatureBLSSignatureVector
 
typedef std::shared_ptr< BLSIdVectorBLSIdVectorPtr
 
typedef std::shared_ptr< BLSVerificationVectorBLSVerificationVectorPtr
 
typedef std::shared_ptr< BLSPublicKeyVectorBLSPublicKeyVectorPtr
 
typedef std::shared_ptr< BLSSecretKeyVectorBLSSecretKeyVectorPtr
 
typedef std::shared_ptr< BLSSignatureVectorBLSSignatureVectorPtr
 

Functions

bool BLSInit ()
 

Macro Definition Documentation

◆ BLS_CURVE_ID_SIZE

#define BLS_CURVE_ID_SIZE   32

Definition at line 29 of file bls_wrapper.h.

◆ BLS_CURVE_PUBKEY_SIZE

#define BLS_CURVE_PUBKEY_SIZE   48

Definition at line 31 of file bls_wrapper.h.

◆ BLS_CURVE_SECKEY_SIZE

#define BLS_CURVE_SECKEY_SIZE   32

Definition at line 30 of file bls_wrapper.h.

◆ BLS_CURVE_SIG_SIZE

#define BLS_CURVE_SIG_SIZE   96

Definition at line 32 of file bls_wrapper.h.

Typedef Documentation

◆ BLSIdVector

typedef std::vector<CBLSId> BLSIdVector

Definition at line 408 of file bls_wrapper.h.

◆ BLSIdVectorPtr

typedef std::shared_ptr<BLSIdVector> BLSIdVectorPtr

Definition at line 414 of file bls_wrapper.h.

◆ BLSPublicKeyVector

typedef std::vector<CBLSPublicKey> BLSPublicKeyVector

Definition at line 410 of file bls_wrapper.h.

◆ BLSPublicKeyVectorPtr

typedef std::shared_ptr<BLSPublicKeyVector> BLSPublicKeyVectorPtr

Definition at line 416 of file bls_wrapper.h.

◆ BLSSecretKeyVector

typedef std::vector<CBLSSecretKey> BLSSecretKeyVector

Definition at line 411 of file bls_wrapper.h.

◆ BLSSecretKeyVectorPtr

typedef std::shared_ptr<BLSSecretKeyVector> BLSSecretKeyVectorPtr

Definition at line 417 of file bls_wrapper.h.

◆ BLSSignatureVector

typedef std::vector<CBLSSignature> BLSSignatureVector

Definition at line 412 of file bls_wrapper.h.

◆ BLSSignatureVectorPtr

typedef std::shared_ptr<BLSSignatureVector> BLSSignatureVectorPtr

Definition at line 418 of file bls_wrapper.h.

◆ BLSVerificationVector

typedef std::vector<CBLSPublicKey> BLSVerificationVector

Definition at line 409 of file bls_wrapper.h.

◆ BLSVerificationVectorPtr

Definition at line 415 of file bls_wrapper.h.

◆ CBLSLazyPublicKey

Definition at line 403 of file bls_wrapper.h.

◆ CBLSLazySecretKey

Definition at line 404 of file bls_wrapper.h.

◆ CBLSLazySignature

Definition at line 402 of file bls_wrapper.h.

Function Documentation

◆ BLSInit()

bool BLSInit ( )

Definition at line 417 of file bls_wrapper.cpp.