OpenVPN 3 Core Library
Loading...
Searching...
No Matches
compat.hpp File Reference
#include <cassert>
#include <cstring>
#include <openssl/evp.h>
#include <openssl/ec.h>
#include <openssl/objects.h>
Include dependency graph for compat.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define EVP_PKEY_get_bits   EVP_PKEY_bits
 

Functions

static int EVP_PKEY_get_group_name (EVP_PKEY *pkey, char *gname, size_t gname_sz, size_t *gname_len)
 
static const EVP_CIPHER * EVP_CIPHER_fetch (void *ctx, const char *algorithm, const char *properties)
 
static EVP_PKEY * PEM_read_bio_PrivateKey_ex (BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u, void *libctx, const char *propq)
 
static void EVP_CIPHER_free (const EVP_CIPHER *cipher)
 
static SSL_CTX * SSL_CTX_new_ex (void *libctx, const char *propq, const SSL_METHOD *meth)
 
static void OSSL_LIB_CTX_free (void *libctx)
 
static const EVP_MD * EVP_MD_fetch (void *, const char *algorithm, const char *)
 
static void EVP_MD_free (const EVP_MD *md)
 

Macro Definition Documentation

◆ EVP_PKEY_get_bits

#define EVP_PKEY_get_bits   EVP_PKEY_bits

Definition at line 99 of file compat.hpp.

Function Documentation

◆ EVP_CIPHER_fetch()

static const EVP_CIPHER * EVP_CIPHER_fetch ( void *  ctx,
const char *  algorithm,
const char *  properties 
)
inlinestatic

Definition at line 54 of file compat.hpp.

Here is the caller graph for this function:

◆ EVP_CIPHER_free()

static void EVP_CIPHER_free ( const EVP_CIPHER *  cipher)
inlinestatic

Definition at line 83 of file compat.hpp.

Here is the caller graph for this function:

◆ EVP_MD_fetch()

static const EVP_MD * EVP_MD_fetch ( void *  ,
const char *  algorithm,
const char *   
)
inlinestatic

Definition at line 102 of file compat.hpp.

Here is the caller graph for this function:

◆ EVP_MD_free()

static void EVP_MD_free ( const EVP_MD *  md)
inlinestatic

Definition at line 108 of file compat.hpp.

◆ EVP_PKEY_get_group_name()

static int EVP_PKEY_get_group_name ( EVP_PKEY *  pkey,
char *  gname,
size_t  gname_sz,
size_t *  gname_len 
)
inlinestatic

Definition at line 26 of file compat.hpp.

Here is the caller graph for this function:

◆ OSSL_LIB_CTX_free()

static void OSSL_LIB_CTX_free ( void *  libctx)
inlinestatic

Definition at line 96 of file compat.hpp.

Here is the caller graph for this function:

◆ PEM_read_bio_PrivateKey_ex()

static EVP_PKEY * PEM_read_bio_PrivateKey_ex ( BIO *  bp,
EVP_PKEY **  x,
pem_password_cb *  cb,
void *  u,
void *  libctx,
const char *  propq 
)
inlinestatic

Definition at line 72 of file compat.hpp.

Here is the caller graph for this function:

◆ SSL_CTX_new_ex()

static SSL_CTX * SSL_CTX_new_ex ( void *  libctx,
const char *  propq,
const SSL_METHOD *  meth 
)
inlinestatic

Definition at line 90 of file compat.hpp.

Here is the caller graph for this function: