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

dhaes.h File Reference

DHAES encryption scheme. More...

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

Go to the source code of this file.

Data Structures

struct  dhaes_pParameters
struct  dhaes_pContext

Functions

int dhaes_pUsable (const dhaes_pParameters *)
int dhaes_pContextInit (dhaes_pContext *, const dhaes_pParameters *)
int dhaes_pContextInitDecrypt (dhaes_pContext *, const dhaes_pParameters *, const mpnumber *)
int dhaes_pContextInitEncrypt (dhaes_pContext *, const dhaes_pParameters *, const mpnumber *)
int dhaes_pContextFree (dhaes_pContext *)
memchunk * dhaes_pContextEncrypt (dhaes_pContext *, mpnumber *, mpnumber *, const memchunk *, randomGeneratorContext *)
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>

Definition in file dhaes.h.


Function Documentation

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

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

int dhaes_pContextFree (  dhaes_pContext *   ) 
 

int dhaes_pContextInit (  dhaes_pContext *  ,
const dhaes_pParameters * 
) 
 

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

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

int dhaes_pUsable (  const dhaes_pParameters *   ) 
 


Generated on Fri Feb 18 01:31:25 2005 for BeeCrypt by  doxygen 1.3.9.1