BeeCrypt  4.2.1
Public Member Functions | Data Fields
dldp_p Struct Reference

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. More...
 
mpbarrett q
 The cofactor. More...
 
mpnumber r
 
mpnumber g
 The generator. More...
 
mpbarrett n
 

Detailed Description

Discrete Logarithm Domain Parameters over a prime field.

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

Constructor & Destructor Documentation

dldp_p::dldp_p ( )
dldp_p::dldp_p ( const dldp_p )
dldp_p::~dldp_p ( )

Field Documentation

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$

dldp_p::p

The prime.

dldp_p::q

The cofactor.

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

dldp_p::r

$p=qr+1$


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