2012-04-26 16:27:27 -07:00
|
|
|
/* dh.h for openSSL */
|
2011-02-05 11:14:47 -08:00
|
|
|
|
2012-04-26 16:27:27 -07:00
|
|
|
|
|
|
|
|
#ifndef CYASSL_DH_H_
|
|
|
|
|
#define CYASSL_DH_H_
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include <cyassl/openssl/ssl.h>
|
|
|
|
|
#include <cyassl/openssl/bn.h>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct CYASSL_DH {
|
|
|
|
|
BIGNUM* p;
|
|
|
|
|
BIGNUM* g;
|
|
|
|
|
} CYASSL_DH;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef CYASSL_DH DH;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
} /* extern "C" */
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif /* header */
|