Crypto++
Public Types | Public Member Functions | Protected Member Functions
DL_GroupParameters_GFP_DefaultSafePrime Class Reference

GF(p) group parameters that default to same primes. More...

#include <gfpcrypt.h>

Inheritance diagram for DL_GroupParameters_GFP_DefaultSafePrime:
DL_GroupParameters_GFP DL_GroupParameters_IntegerBasedImpl< ModExpPrecomputation >

List of all members.

Public Types

typedef NoCofactorMultiplication DefaultCofactorOption
typedef GROUP_PRECOMP::Element Element

Public Member Functions

bool IsIdentity (const Integer &element) const
void SimultaneousExponentiate (Element *results, const Element &base, const Integer *exponents, unsigned int exponentsCount) const
bool GetVoidValue (const char *name, const std::type_info &valueType, void *pValue) const
Element MultiplyElements (const Element &a, const Element &b) const
Element CascadeExponentiate (const Element &element1, const Integer &exponent1, const Element &element2, const Integer &exponent2) const
void AssignFrom (const NameValuePairs &source)
const
DL_FixedBasePrecomputation
< Element > & 
GetBasePrecomputation () const
DL_FixedBasePrecomputation
< Element > & 
AccessBasePrecomputation ()
const IntegerGetModulus () const
const IntegerGetGenerator () const
void SetModulusAndSubgroupGenerator (const Integer &p, const Integer &g)
bool operator== (const DL_GroupParameters_IntegerBasedImpl< GROUP_PRECOMP, BASE_PRECOMP > &rhs) const
bool operator!= (const DL_GroupParameters_IntegerBasedImpl< GROUP_PRECOMP, BASE_PRECOMP > &rhs) const

Protected Member Functions

unsigned int GetDefaultSubgroupOrderSize (unsigned int modulusSize) const
int GetFieldType () const

Detailed Description

GF(p) group parameters that default to same primes.


The documentation for this class was generated from the following file: