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_pContext
struct  dhaes_pParameters

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 Tue Feb 24 03:08:43 2004 for BeeCrypt by doxygen1.2.18