#include <AAGKeyGeneration.h>
Public Member Functions | |
AAGProtocolInstance (int N, const vector< Word > &aSbgp, const vector< Word > &bSbgp, const Word &aDecomp, const Word &bDecomp, bool useForm=true) | |
vector< Word > | getAlicePublicSbgp () const |
vector< Word > | getBobPublicSbgp () const |
vector< Word > | getAliceConjSbgp () const |
vector< Word > | getBobConjSbgp () const |
Word | getAliceKey () const |
Word | getBobKey () const |
Word | getSharedKey () const |
void | printStats (ostream &out) |
Static Public Member Functions | |
static AAGProtocolInstance | random (int N, int num_gens, int min_len, int max_len, int AliceDecompositionLength, int BobDecompositionLength) |
static AAGProtocolInstance | challenge (int N, int sg_conj_len, int c, int k, int key_len) |
Static Private Member Functions | |
static Word | generateHardProductOfGenerators (int num_gens, int product_length) |
Function generates a hard key. | |
Private Attributes | |
vector< Word > | AlicePublicSbgp |
vector< Word > | BobPublicSbgp |
Word | AliceKeyDecomposition |
Word | BobKeyDecomposition |
Word | AliceKey |
Word | BobKey |
vector< Word > | AliceConjugatedSbgp |
vector< Word > | BobConjugatedSbgp |
Word | theSharedKey |
Definition at line 23 of file AAGKeyGeneration.h.
|
|
|
|
|
Function generates a hard key.
|
|
Definition at line 54 of file AAGKeyGeneration.h. References AliceConjugatedSbgp. |
|
Definition at line 57 of file AAGKeyGeneration.h. References AliceKey. |
|
Definition at line 52 of file AAGKeyGeneration.h. References AlicePublicSbgp. |
|
Definition at line 55 of file AAGKeyGeneration.h. References BobConjugatedSbgp. |
|
Definition at line 58 of file AAGKeyGeneration.h. References BobKey. |
|
Definition at line 53 of file AAGKeyGeneration.h. References BobPublicSbgp. |
|
Definition at line 59 of file AAGKeyGeneration.h. References theSharedKey. |
|
|
|
|
|
Definition at line 99 of file AAGKeyGeneration.h. Referenced by getAliceConjSbgp(). |
|
Definition at line 96 of file AAGKeyGeneration.h. Referenced by getAliceKey(). |
|
Definition at line 93 of file AAGKeyGeneration.h. |
|
Definition at line 90 of file AAGKeyGeneration.h. Referenced by getAlicePublicSbgp(). |
|
Definition at line 100 of file AAGKeyGeneration.h. Referenced by getBobConjSbgp(). |
|
Definition at line 97 of file AAGKeyGeneration.h. Referenced by getBobKey(). |
|
Definition at line 94 of file AAGKeyGeneration.h. |
|
Definition at line 91 of file AAGKeyGeneration.h. Referenced by getBobPublicSbgp(). |
|
Definition at line 102 of file AAGKeyGeneration.h. Referenced by getSharedKey(). |