include/beecrypt/dldp.h File Reference

Discrete Logarithm domain parameters, headers. More...

#include "beecrypt/mpbarrett.h"

Include dependency graph for dldp.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

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

Functions

BEECRYPTAPI int dldp_pInit (dldp_p *)
BEECRYPTAPI int dldp_pFree (dldp_p *)
BEECRYPTAPI int dldp_pCopy (dldp_p *, const dldp_p *)
BEECRYPTAPI int dldp_pPrivate (const dldp_p *, randomGeneratorContext *, mpnumber *)
BEECRYPTAPI int dldp_pPrivate_s (const dldp_p *, randomGeneratorContext *, mpnumber *, size_t)
BEECRYPTAPI int dldp_pPublic (const dldp_p *, const mpnumber *, mpnumber *)
BEECRYPTAPI int dldp_pPair (const dldp_p *, randomGeneratorContext *, mpnumber *x, mpnumber *y)
BEECRYPTAPI int dldp_pPair_s (const dldp_p *, randomGeneratorContext *, mpnumber *x, mpnumber *y, size_t)
BEECRYPTAPI int dldp_pEqual (const dldp_p *, const dldp_p *)
BEECRYPTAPI int dldp_pgoqMake (dldp_p *, randomGeneratorContext *, size_t, size_t, int)
BEECRYPTAPI int dldp_pgoqMakeSafe (dldp_p *, randomGeneratorContext *, size_t)
BEECRYPTAPI int dldp_pgoqGenerator (dldp_p *, randomGeneratorContext *)
BEECRYPTAPI int dldp_pgoqValidate (const dldp_p *, randomGeneratorContext *, int)
BEECRYPTAPI int dldp_pgonMake (dldp_p *, randomGeneratorContext *, size_t, size_t)
BEECRYPTAPI int dldp_pgonMakeSafe (dldp_p *, randomGeneratorContext *, size_t)
BEECRYPTAPI int dldp_pgonGenerator (dldp_p *, randomGeneratorContext *)
BEECRYPTAPI int dldp_pgonValidate (const dldp_p *, randomGeneratorContext *)


Detailed Description

Discrete Logarithm domain parameters, headers.

Author:
Bob Deblier <bob.deblier@telenet.be>

Function Documentation

BEECRYPTAPI int dldp_pCopy ( dldp_p ,
const dldp_p  
)

BEECRYPTAPI int dldp_pEqual ( const dldp_p ,
const dldp_p  
)

BEECRYPTAPI int dldp_pFree ( dldp_p  ) 

BEECRYPTAPI int dldp_pgonGenerator ( dldp_p ,
randomGeneratorContext  
)

BEECRYPTAPI int dldp_pgonMake ( dldp_p ,
randomGeneratorContext ,
size_t  ,
size_t   
)

BEECRYPTAPI int dldp_pgonMakeSafe ( dldp_p ,
randomGeneratorContext ,
size_t   
)

BEECRYPTAPI int dldp_pgonValidate ( const dldp_p ,
randomGeneratorContext  
)

BEECRYPTAPI int dldp_pgoqGenerator ( dldp_p ,
randomGeneratorContext  
)

BEECRYPTAPI int dldp_pgoqMake ( dldp_p ,
randomGeneratorContext ,
size_t  ,
size_t  ,
int   
)

BEECRYPTAPI int dldp_pgoqMakeSafe ( dldp_p ,
randomGeneratorContext ,
size_t   
)

BEECRYPTAPI int dldp_pgoqValidate ( const dldp_p ,
randomGeneratorContext ,
int   
)

BEECRYPTAPI int dldp_pInit ( dldp_p  ) 

BEECRYPTAPI int dldp_pPair ( const dldp_p ,
randomGeneratorContext ,
mpnumber x,
mpnumber y 
)

BEECRYPTAPI int dldp_pPair_s ( const dldp_p ,
randomGeneratorContext ,
mpnumber x,
mpnumber y,
size_t   
)

BEECRYPTAPI int dldp_pPrivate ( const dldp_p ,
randomGeneratorContext ,
mpnumber  
)

BEECRYPTAPI int dldp_pPrivate_s ( const dldp_p ,
randomGeneratorContext ,
mpnumber ,
size_t   
)

BEECRYPTAPI int dldp_pPublic ( const dldp_p ,
const mpnumber ,
mpnumber  
)


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