#include "beecrypt/beecrypt.h"
#include "beecrypt/dldp.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 memchunk * | dhies_pContextEncrypt (dhies_pContext *, mpnumber *, mpnumber *, const memchunk *, randomGeneratorContext *) |
BEECRYPTAPI memchunk * | dhies_pContextDecrypt (dhies_pContext *, const mpnumber *, const mpnumber *, const memchunk *) |
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
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 * | ) |