Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
openssl.hpp File Reference
#include <openssl/ec.h>
#include <openssl/crypto.h>
#include <openssl/evp.h>
#include <openssl/conf.h>
#include <openssl/err.h>
#include <openssl/ecdsa.h>
#include <openssl/ecdh.h>
#include <openssl/sha.h>
#include <openssl/obj_mac.h>
#include <openssl/bn.h>
Include dependency graph for openssl.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fc::ssl_wrapper< ssl_type >
 
struct  fc::ssl_bignum
 

Namespaces

namespace  fc
 namespace sysio::chain
 

Macros

#define SSL_TYPE(name, ssl_type, free_func)
 

Detailed Description

Provides common utility calls for wrapping openssl c api.

Definition in file openssl.hpp.

Macro Definition Documentation

◆ SSL_TYPE

#define SSL_TYPE ( name,
ssl_type,
free_func )
Value:
struct name : public ssl_wrapper<ssl_type> \
{ \
name(ssl_type* obj=nullptr) \
: ssl_wrapper(obj) {} \
~name() \
{ \
if( obj != nullptr ) \
free_func(obj); \
} \
};
std::string name

Definition at line 34 of file openssl.hpp.

34 #define SSL_TYPE(name, ssl_type, free_func) \
35 struct name : public ssl_wrapper<ssl_type> \
36 { \
37 name(ssl_type* obj=nullptr) \
38 : ssl_wrapper(obj) {} \
39 ~name() \
40 { \
41 if( obj != nullptr ) \
42 free_func(obj); \
43 } \
44 };