Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

beecrypt/dldp.h File Reference

Discrete Logarithm Domain Parameters, header. More...

#include "beecrypt.h"
#include "mp32barrett.h"

Go to the source code of this file.

Data Structures

struct  dldp_p
 Discrete Logarithm Domain Parameters - Prime. More...


Functions

int dldp_pInit (dldp_p *dp)
int dldp_pFree (dldp_p *dp)
int dldp_pCopy (dldp_p *dst, const dldp_p *src)
int dldp_pPrivate (const dldp_p *dp, randomGeneratorContext *rgc, mp32number *x)
int dldp_pPublic (const dldp_p *dp, const mp32number *x, mp32number *y)
int dldp_pPair (const dldp_p *dp, randomGeneratorContext *rgc, mp32number *x, mp32number *y)
int dldp_pEqual (const dldp_p *a, const dldp_p *b)
int dldp_pgoqMake (dldp_p *dp, randomGeneratorContext *rgc, uint32 psize, uint32 qsize, int cofactor)
int dldp_pgoqMakeSafe (dldp_p *dp, randomGeneratorContext *rgc, uint32 psize)
int dldp_pgoqGenerator (dldp_p *dp, randomGeneratorContext *rgc)
int dldp_pgoqValidate (const dldp_p *, randomGeneratorContext *rgc, int cofactor)
int dldp_pgonMake (dldp_p *dp, randomGeneratorContext *rgc, uint32 psize, uint32 qsize)
int dldp_pgonMakeSafe (dldp_p *dp, randomGeneratorContext *rgc, uint32 psize)
int dldp_pgonGenerator (dldp_p *dp, randomGeneratorContext *rgc)
int dldp_pgonValidate (const dldp_p *dp, randomGeneratorContext *rgc)


Detailed Description

Discrete Logarithm Domain Parameters, header.

Definition in file dldp.h.


Function Documentation

int dldp_pCopy dldp_p   dst,
const dldp_p   src
 

Definition at line 164 of file dldp.c.

References BEECRYPTAPI.

Referenced by dhaes_pContextInit, dldp_pPublic, dlkp_pCopy, dlkp_pPair, and dlpk_pCopy.

int dldp_pEqual const dldp_p   a,
const dldp_p   b
 

Definition at line 82 of file dldp.c.

References BEECRYPTAPI, and uint32.

Referenced by dlpk_pEqual.

int dldp_pFree dldp_p   dp
 

Definition at line 151 of file dldp.c.

References BEECRYPTAPI, and uint32.

Referenced by dhaes_pContextFree, dldp_pPublic, dlkp_pFree, and dlpk_pFree.

int dldp_pgonGenerator dldp_p   dp,
randomGeneratorContext   rgc
 

Definition at line 441 of file dldp.c.

int dldp_pgonMake dldp_p   dp,
randomGeneratorContext   rgc,
uint32    psize,
uint32    qsize
 

Definition at line 307 of file dldp.c.

int dldp_pgonMakeSafe dldp_p   dp,
randomGeneratorContext   rgc,
uint32    psize
 

Definition at line 340 of file dldp.c.

int dldp_pgonValidate const dldp_p   dp,
randomGeneratorContext   rgc
 

Definition at line 457 of file dldp.c.

Referenced by dlpk_pgonValidate.

int dldp_pgoqGenerator dldp_p   dp,
randomGeneratorContext   rgc
 

Definition at line 275 of file dldp.c.

int dldp_pgoqMake dldp_p   dp,
randomGeneratorContext   rgc,
uint32    psize,
uint32    qsize,
int    cofactor
 

Definition at line 175 of file dldp.c.

int dldp_pgoqMakeSafe dldp_p   dp,
randomGeneratorContext   rgc,
uint32    psize
 

Definition at line 211 of file dldp.c.

int dldp_pgoqValidate const dldp_p  ,
randomGeneratorContext   rgc,
int    cofactor
 

Definition at line 291 of file dldp.c.

Referenced by dlpk_pgoqValidate.

int dldp_pInit dldp_p   dp
 

Definition at line 140 of file dldp.c.

Referenced by dhaes_pContextInit, dldp_pPublic, dlkp_pInit, and dlpk_pInit.

int dldp_pPair const dldp_p   dp,
randomGeneratorContext   rgc,
mp32number   x,
mp32number   y
 

Definition at line 70 of file dldp.c.

Referenced by dhaes_pContextEncrypt, and dlkp_pPair.

int dldp_pPrivate const dldp_p   dp,
randomGeneratorContext   rgc,
mp32number   x
 

Definition at line 46 of file dldp.c.

int dldp_pPublic const dldp_p   dp,
const mp32number   x,
mp32number   y
 

Definition at line 59 of file dldp.c.

References BEECRYPTAPI, dldp_pCopy, dldp_pFree, and dldp_pInit.


Generated on Wed Sep 4 12:49:58 2002 for rpm by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002