dldp_p Struct Reference
[Discrete Logarithm Primitives]

Discrete Logarithm Domain Parameters over a prime field. More...

#include <dldp.h>

Collaboration diagram for dldp_p:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 dldp_p ()
 dldp_p (const dldp_p &)
 ~dldp_p ()

Public Attributes

mpbarrett p
 The prime.
mpbarrett q
 The cofactor.
mpnumber r
mpnumber g
 The generator.
mpbarrett n

Detailed Description

Discrete Logarithm Domain Parameters over a prime field.

For the variables in this structure /f$p=qr+1/f$; if /f$p=2q+1 then r=2/f$.


Constructor & Destructor Documentation

dldp_p::dldp_p (  ) 

dldp_p::dldp_p ( const dldp_p  ) 

dldp_p::~dldp_p (  ) 


Member Data Documentation

dldp_p::p

The prime.

dldp_p::q

The cofactor.

$q$ is a prime divisor of $p-1$.

dldp_p::r

$p=qr+1$

dldp_p::g

The generator.

$g$ is either a generator of $\mathds{Z}^{*}_p$, or a generator of a cyclic subgroup $G$ of $\mathds{Z}^{*}_p$ of order $q$.

dldp_p::n

$n=p-1=qr$


The documentation for this struct was generated from the following file:
Generated on Wed Aug 22 06:28:37 2007 for BeeCrypt by  doxygen 1.5.2