syslog-ng source
openssl_support.h File Reference
#include "compat/compat.h"
#include <openssl/ssl.h>
#include <openssl/dh.h>
#include <glib.h>
#include <stdint.h>
Include dependency graph for openssl_support.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DECLARE_EVP_MD_CTX(md_ctx)   EVP_MD_CTX _##md_ctx; EVP_MD_CTX * md_ctx = & _##md_ctx
 
#define EVP_MD_CTX_destroy(md_ctx)   EVP_MD_CTX_cleanup(md_ctx)
 
#define ASN1_STRING_get0_data   ASN1_STRING_data
 
#define SYSLOG_NG_HAVE_DECL_DIGEST_MD4   1
 

Functions

X509_VERIFY_PARAM * SSL_CTX_get0_param (SSL_CTX *ctx)
 
X509 * X509_STORE_CTX_get0_cert (X509_STORE_CTX *ctx)
 
uint32_t X509_get_extension_flags (X509 *x)
 
int DH_set0_pqg (DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g)
 
BIGNUM * BN_get_rfc3526_prime_2048 (BIGNUM *bn)
 
void openssl_ctx_setup_session_tickets (SSL_CTX *ctx)
 
void openssl_ctx_setup_ecdh (SSL_CTX *ctx)
 
gboolean openssl_ctx_setup_dh (SSL_CTX *ctx)
 
gboolean openssl_ctx_load_dh_from_file (SSL_CTX *ctx, const gchar *dhparam_file)
 
void openssl_init (void)
 
void openssl_crypto_init_threading (void)
 
void openssl_crypto_deinit_threading (void)
 

Macro Definition Documentation

◆ ASN1_STRING_get0_data

#define ASN1_STRING_get0_data   ASN1_STRING_data

◆ DECLARE_EVP_MD_CTX

#define DECLARE_EVP_MD_CTX (   md_ctx)    EVP_MD_CTX _##md_ctx; EVP_MD_CTX * md_ctx = & _##md_ctx

◆ EVP_MD_CTX_destroy

#define EVP_MD_CTX_destroy (   md_ctx)    EVP_MD_CTX_cleanup(md_ctx)

◆ SYSLOG_NG_HAVE_DECL_DIGEST_MD4

#define SYSLOG_NG_HAVE_DECL_DIGEST_MD4   1

Function Documentation

◆ BN_get_rfc3526_prime_2048()

BIGNUM* BN_get_rfc3526_prime_2048 ( BIGNUM *  bn)

◆ DH_set0_pqg()

int DH_set0_pqg ( DH *  dh,
BIGNUM *  p,
BIGNUM *  q,
BIGNUM *  g 
)

◆ openssl_crypto_deinit_threading()

void openssl_crypto_deinit_threading ( void  )

◆ openssl_crypto_init_threading()

void openssl_crypto_init_threading ( void  )

◆ openssl_ctx_load_dh_from_file()

gboolean openssl_ctx_load_dh_from_file ( SSL_CTX *  ctx,
const gchar *  dhparam_file 
)

◆ openssl_ctx_setup_dh()

gboolean openssl_ctx_setup_dh ( SSL_CTX *  ctx)

◆ openssl_ctx_setup_ecdh()

void openssl_ctx_setup_ecdh ( SSL_CTX *  ctx)

◆ openssl_ctx_setup_session_tickets()

void openssl_ctx_setup_session_tickets ( SSL_CTX *  ctx)

◆ openssl_init()

void openssl_init ( void  )

◆ SSL_CTX_get0_param()

X509_VERIFY_PARAM* SSL_CTX_get0_param ( SSL_CTX *  ctx)

◆ X509_get_extension_flags()

uint32_t X509_get_extension_flags ( X509 *  x)

◆ X509_STORE_CTX_get0_cert()

X509* X509_STORE_CTX_get0_cert ( X509_STORE_CTX *  ctx)