Modifying a DKG header

February 27, 2013 | Posted in Asynchronous Key Generation for IBE | Ajoy Oommen

The changes and the modifications that have been made to the networkmessage.h file :

I might change this later on, probably.

typedef enum {
  NET_MSG_NONE, NET_MSG_PING, NET_MSG_PONG,
  VSS_SEND, VSS_ECHO, VSS_READY, VSS_SHARED, VSS_HELP,
  DKG_SEND, DKG_ECHO, DKG_READY, DKG_HELP, LEADER_CHANGE,
  IBC_REQUEST, IBC_REPLY,
  RECONSTRUCT_SHARE, PUBLIC_KEY_EXCHANGE, BLS_SIGNATURE_REQUEST,
  BLS_SIGNATURE_RESPONSE, WRONG_BLS_SIGNATURES, VERIFIED_BLS_SIGNATURES
    } NetworkMessageType;

class IBCRequestMessage : public NetworkMessage
{
public:
  IBCRequestMessage(NodeID node, string &ID);
  IBCRequestMessage(const Buddy *buddy, const string &str, int g_recv_ID);
  NodeID node;
  string ID;
  FILE *file;
};

class IBCReplyMessage : public NetworkMessage
{
public:
  IBCReplyMessage(Zr Hidshare, NodeID selfID, NodeID recpID);
  IBCReplyMessage(const Buddy *buddy, const string &str, int g_recv_ID);
  NodeID selfID;
  NodeID recpID;
  Zr share;
};
C++ DKG

Related Posts

05 Mar 2013 » Importing and exporting an element in PBC

02 Mar 2013 » Using python to complete IBC

23 Feb 2013 » Analyzing messages in DKG

23 Feb 2013 » Understanding DKG

20 Feb 2013 » Pseudo code for the mathematical functions

20 Feb 2013 » Distributed Key Generation in BFIBC

19 Feb 2013 » Modifying the DKG protocol

19 Feb 2013 » The DKG protocol, in short

19 Feb 2013 » The DKG Protocol

19 Feb 2013 » Asynchronous Distributed Key Generation for Identity-Based Cryptography