AAGKeyPairGenerator Class Reference

#include <AAGKeyPairGenerator.h>

Inheritance diagram for AAGKeyPairGenerator:
PairGenerator

List of all members.

Public Member Functions

 AAGKeyPairGenerator (int n, int min_len, int max_len, int n_sg_gens, int a_decomp, int b_decomp)
pair< Word, WordgetFalsePair ()
 Returns a pair of words that are not similar under specified criteria.
pair< Word, WordgetTruePair ()
 Returns a pair of words similar under specified criteria.

Private Attributes

int nGens
int minLen
int maxLen
int nSgGens
int AliceDecompositionLength
int BobDecompositionLength

Detailed Description

Definition at line 20 of file AAGKeyPairGenerator.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

pair<Word,Word> AAGKeyPairGenerator::getFalsePair (  )  [inline, virtual]

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.

pair<Word,Word> AAGKeyPairGenerator::getTruePair (  )  [inline, virtual]

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.


Member Data Documentation

Definition at line 96 of file AAGKeyPairGenerator.h.

Referenced by getFalsePair(), and getTruePair().

Definition at line 97 of file AAGKeyPairGenerator.h.

Referenced by getFalsePair(), and getTruePair().

Definition at line 94 of file AAGKeyPairGenerator.h.

Referenced by getFalsePair(), and getTruePair().

Definition at line 93 of file AAGKeyPairGenerator.h.

Referenced by getFalsePair(), and getTruePair().

Definition at line 92 of file AAGKeyPairGenerator.h.

Referenced by getFalsePair(), and getTruePair().

Definition at line 95 of file AAGKeyPairGenerator.h.

Referenced by getFalsePair(), and getTruePair().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Mon Sep 26 18:43:45 2011 for CRyptography And Groups (CRAG) by  doxygen 1.6.1