OpenVPN 3 Core Library
Loading...
Searching...
No Matches
mbedtls_compat.hpp File Reference
#include <mbedtls/ctr_drbg.h>
#include <mbedtls/version.h>
#include <mbedtls/pem.h>
Include dependency graph for mbedtls_compat.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MBEDTLS_ERR_SSL_BAD_PROTOCOL_VERSION   MBEDTLS_ERR_SSL_BAD_HS_PROTOCOL_VERSION
 
#define MBEDTLS_OID_X509_EXT_EXTENDED_KEY_USAGE   MBEDTLS_X509_EXT_KEY_USAGE
 

Functions

static const mbedtls_md_info_t * mbedtls_md_info_from_ctx (const mbedtls_md_context_t *ctx)
 
static int mbedtls_x509_crt_has_ext_type (const mbedtls_x509_crt *crt, int ext_type)
 
static const unsigned char * mbedtls_pem_get_buffer (const mbedtls_pem_context *ctx, size_t *buf_size)
 

Macro Definition Documentation

◆ MBEDTLS_ERR_SSL_BAD_PROTOCOL_VERSION

#define MBEDTLS_ERR_SSL_BAD_PROTOCOL_VERSION   MBEDTLS_ERR_SSL_BAD_HS_PROTOCOL_VERSION

Definition at line 21 of file mbedtls_compat.hpp.

◆ MBEDTLS_OID_X509_EXT_EXTENDED_KEY_USAGE

#define MBEDTLS_OID_X509_EXT_EXTENDED_KEY_USAGE   MBEDTLS_X509_EXT_KEY_USAGE

Definition at line 25 of file mbedtls_compat.hpp.

Function Documentation

◆ mbedtls_md_info_from_ctx()

static const mbedtls_md_info_t * mbedtls_md_info_from_ctx ( const mbedtls_md_context_t *  ctx)
inlinestatic

Definition at line 30 of file mbedtls_compat.hpp.

Here is the caller graph for this function:

◆ mbedtls_pem_get_buffer()

static const unsigned char * mbedtls_pem_get_buffer ( const mbedtls_pem_context *  ctx,
size_t *  buf_size 
)
inlinestatic

Definition at line 46 of file mbedtls_compat.hpp.

Here is the caller graph for this function:

◆ mbedtls_x509_crt_has_ext_type()

static int mbedtls_x509_crt_has_ext_type ( const mbedtls_x509_crt *  crt,
int  ext_type 
)
inlinestatic

Definition at line 40 of file mbedtls_compat.hpp.

Here is the caller graph for this function: