#include <AAGKeyPairGenerator.h>
Public Member Functions | |
AAGKeyPairGenerator (int n, int min_len, int max_len, int n_sg_gens, int a_decomp, int b_decomp) | |
pair< Word, Word > | getFalsePair () |
Returns a pair of words that are not similar under specified criteria. | |
pair< Word, Word > | getTruePair () |
Returns a pair of words similar under specified criteria. | |
Private Attributes | |
int | nGens |
int | minLen |
int | maxLen |
int | nSgGens |
int | AliceDecompositionLength |
int | BobDecompositionLength |
Definition at line 20 of file AAGKeyPairGenerator.h.
AAGKeyPairGenerator::AAGKeyPairGenerator | ( | int | n, | |
int | min_len, | |||
int | max_len, | |||
int | n_sg_gens, | |||
int | a_decomp, | |||
int | b_decomp | |||
) | [inline] |
Definition at line 23 of file AAGKeyPairGenerator.h.
Returns a pair of words that are not similar under specified criteria.
Implements PairGenerator.
Definition at line 31 of file AAGKeyPairGenerator.h.
References AliceDecompositionLength, BobDecompositionLength, AAGProtocolInstance::getAliceConjSbgp(), AAGProtocolInstance::getAlicePublicSbgp(), maxLen, minLen, nGens, and nSgGens.
Returns a pair of words similar under specified criteria.
Implements PairGenerator.
Definition at line 61 of file AAGKeyPairGenerator.h.
References AliceDecompositionLength, BobDecompositionLength, AAGProtocolInstance::getAliceConjSbgp(), AAGProtocolInstance::getAlicePublicSbgp(), maxLen, minLen, nGens, and nSgGens.
int AAGKeyPairGenerator::AliceDecompositionLength [private] |
Definition at line 96 of file AAGKeyPairGenerator.h.
Referenced by getFalsePair(), and getTruePair().
int AAGKeyPairGenerator::BobDecompositionLength [private] |
Definition at line 97 of file AAGKeyPairGenerator.h.
Referenced by getFalsePair(), and getTruePair().
int AAGKeyPairGenerator::maxLen [private] |
Definition at line 94 of file AAGKeyPairGenerator.h.
Referenced by getFalsePair(), and getTruePair().
int AAGKeyPairGenerator::minLen [private] |
Definition at line 93 of file AAGKeyPairGenerator.h.
Referenced by getFalsePair(), and getTruePair().
int AAGKeyPairGenerator::nGens [private] |
Definition at line 92 of file AAGKeyPairGenerator.h.
Referenced by getFalsePair(), and getTruePair().
int AAGKeyPairGenerator::nSgGens [private] |
Definition at line 95 of file AAGKeyPairGenerator.h.
Referenced by getFalsePair(), and getTruePair().