AAGProtocolInstance Class Reference

#include <AAGKeyGeneration.h>

List of all members.

Public Member Functions

 AAGProtocolInstance (int N, const vector< Word > &aSbgp, const vector< Word > &bSbgp, const Word &aDecomp, const Word &bDecomp, bool useForm=true)
vector< WordgetAlicePublicSbgp () const
vector< WordgetBobPublicSbgp () const
vector< WordgetAliceConjSbgp () const
vector< WordgetBobConjSbgp () 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< WordAlicePublicSbgp
vector< WordBobPublicSbgp
Word AliceKeyDecomposition
Word BobKeyDecomposition
Word AliceKey
Word BobKey
vector< WordAliceConjugatedSbgp
vector< WordBobConjugatedSbgp
Word theSharedKey

Detailed Description

Definition at line 23 of file AAGKeyGeneration.h.

Constructor & Destructor Documentation

AAGProtocolInstance::AAGProtocolInstance ( int  N,
const vector< Word > &  aSbgp,
const vector< Word > &  bSbgp,
const Word aDecomp,
const Word bDecomp,
bool  useForm = true 

Member Function Documentation

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]
Word AAGProtocolInstance::getAliceKey (  )  const [inline]

Definition at line 57 of file AAGKeyGeneration.h.

References AliceKey.

vector< Word > AAGProtocolInstance::getAlicePublicSbgp (  )  const [inline]
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]

Member Data Documentation

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().

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