dhaes.h File Reference

DHAES encryption scheme. More...

#include "beecrypt/beecrypt.h"
#include "beecrypt/dldp.h"

Include dependency graph for dhaes.h:

Go to the source code of this file.

Classes

struct  dhaes_pParameters
struct  dhaes_pContext

Functions

BEECRYPTAPI int dhaes_pUsable (const dhaes_pParameters *)
BEECRYPTAPI int dhaes_pContextInit (dhaes_pContext *, const dhaes_pParameters *)
BEECRYPTAPI int dhaes_pContextInitDecrypt (dhaes_pContext *, const dhaes_pParameters *, const mpnumber *)
BEECRYPTAPI int dhaes_pContextInitEncrypt (dhaes_pContext *, const dhaes_pParameters *, const mpnumber *)
BEECRYPTAPI int dhaes_pContextFree (dhaes_pContext *)
BEECRYPTAPI memchunk * dhaes_pContextEncrypt (dhaes_pContext *, mpnumber *, mpnumber *, const memchunk *, randomGeneratorContext *)
BEECRYPTAPI memchunk * dhaes_pContextDecrypt (dhaes_pContext *, const mpnumber *, const mpnumber *, const memchunk *)


Detailed Description

DHAES encryption scheme.

This code implements the encryption scheme from the paper:

"DHAES: An Encryption Scheme Based on the Diffie-Hellman Problem" Michel Abdalla, Mihir Bellare, Phillip Rogaway September 1998

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

Function Documentation

BEECRYPTAPI memchunk* dhaes_pContextDecrypt ( dhaes_pContext *  ,
const mpnumber *  ,
const mpnumber *  ,
const memchunk *   
)

BEECRYPTAPI memchunk* dhaes_pContextEncrypt ( dhaes_pContext *  ,
mpnumber *  ,
mpnumber *  ,
const memchunk *  ,
randomGeneratorContext *   
)

BEECRYPTAPI int dhaes_pContextFree ( dhaes_pContext *   ) 

BEECRYPTAPI int dhaes_pContextInit ( dhaes_pContext *  ,
const dhaes_pParameters *   
)

BEECRYPTAPI int dhaes_pContextInitDecrypt ( dhaes_pContext *  ,
const dhaes_pParameters *  ,
const mpnumber *   
)

BEECRYPTAPI int dhaes_pContextInitEncrypt ( dhaes_pContext *  ,
const dhaes_pParameters *  ,
const mpnumber *   
)

BEECRYPTAPI int dhaes_pUsable ( const dhaes_pParameters *   ) 


Generated on Tue May 20 13:52:56 2008 for BeeCrypt by  doxygen 1.5.6