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]

Public Member Functions

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

Data Fields

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


Field Documentation

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$.

$n=p-1=qr$

The prime.

The cofactor.

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

$p=qr+1$


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

Generated on Fri Jun 19 13:38:57 2009 for BeeCrypt by  doxygen 1.5.8