OpenDDS  Snapshot(2023/04/28-20:55)
Macros | Functions
OpenSSL_legacy.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define OPENSSL_V_1_0
 
#define EVP_MD_CTX_new   EVP_MD_CTX_create
 
#define EVP_MD_CTX_free   EVP_MD_CTX_destroy
 
#define EVP_CTRL_AEAD_GET_TAG   EVP_CTRL_CCM_GET_TAG
 

Functions

int RSA_bits (const RSA *r)
 
void DH_get0_key (const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key)
 

Macro Definition Documentation

◆ EVP_CTRL_AEAD_GET_TAG

#define EVP_CTRL_AEAD_GET_TAG   EVP_CTRL_CCM_GET_TAG

◆ EVP_MD_CTX_free

#define EVP_MD_CTX_free   EVP_MD_CTX_destroy

◆ EVP_MD_CTX_new

#define EVP_MD_CTX_new   EVP_MD_CTX_create

◆ OPENSSL_V_1_0

#define OPENSSL_V_1_0

Macros and other helpers to allow OpenDDS Security library to work with OpenSSL 1.0, as it was written to use OpenSSL 1.1.

Definition at line 16 of file OpenSSL_legacy.h.

Function Documentation

◆ DH_get0_key()

void DH_get0_key ( const DH *  dh,
const BIGNUM **  pub_key,
const BIGNUM **  priv_key 
)
inline

Definition at line 27 of file OpenSSL_legacy.h.

Referenced by OpenDDS::Security::SSL::DH_2048_MODP_256_PRIME::pub_key().

28 {
29  if (pub_key) {
30  *pub_key = dh->pub_key;
31  }
32  if (priv_key) {
33  *priv_key = dh->priv_key;
34  }
35 }

◆ RSA_bits()

int RSA_bits ( const RSA *  r)
inline

Definition at line 22 of file OpenSSL_legacy.h.

23 {
24  return BN_num_bits(r->n);
25 }