#include <elgamal.h>
|
| | Elgamal (NetIO *io, int party, int length) |
| |
| bool | setup_omega () |
| |
| | ~Elgamal () |
| |
| void | commit (bn_t r, eb_tpl com, bool b, PRG *prg) |
| |
| bool | check_eq (eb_tpl new_com, eb_tpl old_com, bn_t r_diff) |
| |
| void | send (eb_tpl *X) |
| |
| void | open () |
| |
| void | recv (eb_t *X, bool *b) |
| |
| void | open (eb_tpl *Xs, bool *b, eb_t *X) |
| |
| void | recovery (bool *b, bn_t omega) |
| |
§ Elgamal()
| Elgamal::Elgamal |
( |
NetIO * |
io, |
|
|
int |
party, |
|
|
int |
length |
|
) |
| |
|
inline |
§ ~Elgamal()
§ check_eq()
| bool Elgamal::check_eq |
( |
eb_tpl |
new_com, |
|
|
eb_tpl |
old_com, |
|
|
bn_t |
r_diff |
|
) |
| |
|
inline |
§ commit()
| void Elgamal::commit |
( |
bn_t |
r, |
|
|
eb_tpl |
com, |
|
|
bool |
b, |
|
|
PRG * |
prg |
|
) |
| |
|
inline |
§ open() [1/2]
§ open() [2/2]
| void Elgamal::open |
( |
eb_tpl * |
Xs, |
|
|
bool * |
b, |
|
|
eb_t * |
X |
|
) |
| |
|
inline |
§ recovery()
| void Elgamal::recovery |
( |
bool * |
b, |
|
|
bn_t |
omega |
|
) |
| |
|
inline |
§ recv()
| void Elgamal::recv |
( |
eb_t * |
X, |
|
|
bool * |
b |
|
) |
| |
|
inline |
§ send()
| void Elgamal::send |
( |
eb_tpl * |
X | ) |
|
|
inline |
§ setup_omega()
| bool Elgamal::setup_omega |
( |
| ) |
|
|
inline |
§ com
| eb_tpl* Elgamal::com = nullptr |
§ elgl_s
| bn_tpl* Elgamal::elgl_s = nullptr |
§ elgl_t
| bn_tpl * Elgamal::elgl_t = nullptr |
§ gTbl
| const eb_t* Elgamal::gTbl |
§ hTbl
| eb_t Elgamal::hTbl[RELIC_EB_TABLE_MAX] |
§ io
§ length
§ nA
| eb_tpl * Elgamal::nA = nullptr |
§ nB
| eb_tpl * Elgamal::nB = nullptr |
§ party
§ prg
| bn_t* Elgamal::r = nullptr |
The documentation for this class was generated from the following file:
- /Users/wangxiao/git/emp-toolkit/emp-input-validity/input-validity/elgamal.h