OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
dh_key.c File Reference
#include <stdio.h>
#include "cryptlib.h"
#include <openssl/bn.h>
#include <openssl/rand.h>
#include <openssl/dh.h>

Go to the source code of this file.

Functions

int DH_generate_key (DH *dh)
 
int DH_compute_key (unsigned char *key, const BIGNUM *pub_key, DH *dh)
 
const DH_METHODDH_OpenSSL (void)
 

Function Documentation

int DH_compute_key ( unsigned char *  key,
const BIGNUM pub_key,
DH dh 
)

Definition at line 87 of file dh_key.c.

int DH_generate_key ( DH dh)

Definition at line 74 of file dh_key.c.

const DH_METHOD* DH_OpenSSL ( void  )

Definition at line 112 of file dh_key.c.