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 *)
memchunkdhaes_pContextEncrypt (dhaes_pContext *, mpnumber *, mpnumber *, const memchunk *, randomGeneratorContext *)
memchunkdhaes_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 Wed Mar 24 13:56:53 2004 for BeeCrypt by doxygen 1.3.6