include/beecrypt/dhies.h File Reference

DHIES (formerly known as DHAES or DHES) encryption scheme. More...

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

Include dependency graph for dhies.h:

Go to the source code of this file.

Data Structures

struct  dhies_pParameters
struct  dhies_pContext

Functions

BEECRYPTAPI int dhies_pUsable (const dhies_pParameters *)
BEECRYPTAPI int dhies_pContextInit (dhies_pContext *, const dhies_pParameters *)
BEECRYPTAPI int dhies_pContextInitDecrypt (dhies_pContext *, const dhies_pParameters *, const mpnumber *)
BEECRYPTAPI int dhies_pContextInitEncrypt (dhies_pContext *, const dhies_pParameters *, const mpnumber *)
BEECRYPTAPI int dhies_pContextFree (dhies_pContext *)
BEECRYPTAPI memchunkdhies_pContextEncrypt (dhies_pContext *, mpnumber *, mpnumber *, const memchunk *, randomGeneratorContext *)
BEECRYPTAPI memchunkdhies_pContextDecrypt (dhies_pContext *, const mpnumber *, const mpnumber *, const memchunk *)


Detailed Description

DHIES (formerly known as DHAES or DHES) encryption scheme.

This code implements the encryption scheme from the paper:

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

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

Function Documentation

BEECRYPTAPI memchunk* dhies_pContextDecrypt ( dhies_pContext ,
const mpnumber ,
const mpnumber ,
const memchunk  
)

BEECRYPTAPI memchunk* dhies_pContextEncrypt ( dhies_pContext ,
mpnumber ,
mpnumber ,
const memchunk ,
randomGeneratorContext  
)

BEECRYPTAPI int dhies_pContextFree ( dhies_pContext  ) 

BEECRYPTAPI int dhies_pContextInit ( dhies_pContext ,
const dhies_pParameters  
)

BEECRYPTAPI int dhies_pContextInitDecrypt ( dhies_pContext ,
const dhies_pParameters ,
const mpnumber  
)

BEECRYPTAPI int dhies_pContextInitEncrypt ( dhies_pContext ,
const dhies_pParameters ,
const mpnumber  
)

BEECRYPTAPI int dhies_pUsable ( const dhies_pParameters  ) 


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