#include <zkp-verifier.h>
List of all members.
Public Types |
typedef OsModel_P | OsModel |
typedef Radio_P | Radio |
typedef Debug_P | Debug |
typedef ZKPVerify< OsModel_P,
Radio_P, Debug_P > | self_t |
typedef Radio::node_id_t | node_id_t |
typedef Radio::size_t | size_t |
typedef Radio::block_data_t | block_data_t |
typedef self_t * | self_pointer_t |
Public Member Functions |
|
| ZKPVerify () |
| ~ZKPVerify () |
enum | MsgHeaders {
START_MSG = 200,
COIN_MSG = 201,
HEADS_MSG = 202,
TAILS_MSG = 203,
ACCEPT_MSG = 204,
REJECT_MSG = 205,
RESTART_MSG = 206
} |
int | init (Radio &radio, Debug &debug) |
int | init () |
int | destruct () |
int | enable_radio (void) |
int | disable_radio (void) |
ZKP functionality |
void | key_setup (Point *pubkey) |
bool | coin_flip (uint8_t b) |
void | verify_tails () |
void | verify_heads () |
void | final_decision () |
void | receive (node_id_t from, size_t len, block_data_t *data) |
template<typename OsModel_P, typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
class wiselib::ZKPVerify< OsModel_P, Radio_P, Debug_P >
Member Typedef Documentation
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
Member Enumeration Documentation
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
- Enumerator:
START_MSG |
|
COIN_MSG |
|
HEADS_MSG |
|
TAILS_MSG |
|
ACCEPT_MSG |
|
REJECT_MSG |
|
RESTART_MSG |
|
Constructor & Destructor Documentation
template<typename OsModel_P , typename Radio_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Debug_P >
Member Function Documentation
template<typename OsModel_P , typename Radio_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename Radio_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Debug_P >
The documentation for this class was generated from the following file:
- wiselib.testing/algorithms/crypto/ZeroKnowledgeProofsFp/zkp-verifier.h