#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.
| AAGProtocolInstance::AAGProtocolInstance | ( | int | N, | |
| const vector< Word > & | aSbgp, | |||
| const vector< Word > & | bSbgp, | |||
| const Word & | aDecomp, | |||
| const Word & | bDecomp, | |||
| bool | useForm = true | |||
| ) |
| static AAGProtocolInstance AAGProtocolInstance::challenge | ( | int | N, | |
| int | sg_conj_len, | |||
| int | c, | |||
| int | k, | |||
| int | key_len | |||
| ) | [static] |
| static Word AAGProtocolInstance::generateHardProductOfGenerators | ( | int | num_gens, | |
| int | product_length | |||
| ) | [static, private] |
Function generates a hard key.
| vector< Word > AAGProtocolInstance::getAliceConjSbgp | ( | ) | const [inline] |
Definition at line 54 of file AAGKeyGeneration.h.
References AliceConjugatedSbgp.
Referenced by AAGKeyPairGenerator::getFalsePair(), and AAGKeyPairGenerator::getTruePair().
| Word AAGProtocolInstance::getAliceKey | ( | ) | const [inline] |
Definition at line 57 of file AAGKeyGeneration.h.
References AliceKey.
| vector< Word > AAGProtocolInstance::getAlicePublicSbgp | ( | ) | const [inline] |
Definition at line 52 of file AAGKeyGeneration.h.
References AlicePublicSbgp.
Referenced by AAGKeyPairGenerator::getFalsePair(), and AAGKeyPairGenerator::getTruePair().
| vector< Word > AAGProtocolInstance::getBobConjSbgp | ( | ) | const [inline] |
Definition at line 55 of file AAGKeyGeneration.h.
References BobConjugatedSbgp.
| Word AAGProtocolInstance::getBobKey | ( | ) | const [inline] |
Definition at line 58 of file AAGKeyGeneration.h.
References BobKey.
| vector< Word > AAGProtocolInstance::getBobPublicSbgp | ( | ) | const [inline] |
Definition at line 53 of file AAGKeyGeneration.h.
References BobPublicSbgp.
| Word AAGProtocolInstance::getSharedKey | ( | ) | const [inline] |
Definition at line 59 of file AAGKeyGeneration.h.
References theSharedKey.
| void AAGProtocolInstance::printStats | ( | ostream & | out | ) |
| static AAGProtocolInstance AAGProtocolInstance::random | ( | int | N, | |
| int | num_gens, | |||
| int | min_len, | |||
| int | max_len, | |||
| int | AliceDecompositionLength, | |||
| int | BobDecompositionLength | |||
| ) | [static] |
vector< Word > AAGProtocolInstance::AliceConjugatedSbgp [private] |
Definition at line 99 of file AAGKeyGeneration.h.
Referenced by getAliceConjSbgp().
Word AAGProtocolInstance::AliceKey [private] |
Definition at line 96 of file AAGKeyGeneration.h.
Referenced by getAliceKey().
Definition at line 93 of file AAGKeyGeneration.h.
vector< Word > AAGProtocolInstance::AlicePublicSbgp [private] |
Definition at line 90 of file AAGKeyGeneration.h.
Referenced by getAlicePublicSbgp().
vector< Word > AAGProtocolInstance::BobConjugatedSbgp [private] |
Definition at line 100 of file AAGKeyGeneration.h.
Referenced by getBobConjSbgp().
Word AAGProtocolInstance::BobKey [private] |
Definition at line 97 of file AAGKeyGeneration.h.
Referenced by getBobKey().
Word AAGProtocolInstance::BobKeyDecomposition [private] |
Definition at line 94 of file AAGKeyGeneration.h.
vector< Word > AAGProtocolInstance::BobPublicSbgp [private] |
Definition at line 91 of file AAGKeyGeneration.h.
Referenced by getBobPublicSbgp().
Word AAGProtocolInstance::theSharedKey [private] |
Definition at line 102 of file AAGKeyGeneration.h.
Referenced by getSharedKey().
1.6.1