Guardtime KSI c SDK
Loading...
Searching...
No Matches
openssl_compatibility.h File Reference
#include <openssl/opensslv.h>
#include <openssl/evp.h>
#include <stddef.h>

Go to the source code of this file.

Data Structures

struct  openssl_compatibility_functions_st

Macros

#define KSI_EVP_MD_CTX_create()
#define KSI_EVP_MD_CTX_destroy(md)
#define KSI_EVP_MD_CTX_cleanup(md)

Variables

struct openssl_compatibility_functions_st KSI_openssl

Macro Definition Documentation

◆ KSI_EVP_MD_CTX_cleanup

#define KSI_EVP_MD_CTX_cleanup ( md)
Value:
EVP_MD_CTX_cleanup((md))

◆ KSI_EVP_MD_CTX_create

#define KSI_EVP_MD_CTX_create ( )
Value:
EVP_MD_CTX_create()

These macros are needed to support both OpenSSL 1.0 and 1.1.

"If you think good design is expensive, you should look at the cost of bad design." -— Ralf Speth

◆ KSI_EVP_MD_CTX_destroy

#define KSI_EVP_MD_CTX_destroy ( md)
Value:
EVP_MD_CTX_destroy((md))

Variable Documentation

◆ KSI_openssl

struct openssl_compatibility_functions_st KSI_openssl
extern