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

dh.h File Reference

#include "common.h"
#include "session.h"

Go to the source code of this file.

Functions

DH * DHGenerateKEData (uint32_t DHGroup)
 generate a DH public key for exchange
void ComputeDHKey (BIGNUM *pubk, struct IKEv2Session *se)
 compute a DH key from own dh info + the other's public dh key


Function Documentation

void ComputeDHKey BIGNUM *  pubk,
struct IKEv2Session se
 

compute a DH key from own dh info + the other's public dh key

Parameters:
*pubk other side public key
*se session data with private key

DH* DHGenerateKEData uint32_t  DHGroup  ) 
 

generate a DH public key for exchange

Parameters:
DHGroup DH group identifier
Returns:
DH group


Project hosted by: SourceForge.net Logo