#include "gdef.h"
#include "gssl_mbedtls_headers.h"
#include "gstrmacros.h"
#include <cstddef>
Go to the source code of this file.
|
namespace | GSsl |
| TLS/SSL transport layer security classes.
|
|
namespace | GSsl::MbedTls |
| A namespace for implementing the GSsl interface using the mbedtls library.
|
|
|
#define | FN(fn) nullptr,(#fn),(fn) |
|
#define | FN_RET(fn) nullptr,(#fn),(fn) |
|
#define | FN_OK(ok, fn) int(ok),(#fn),(fn) |
|
|
using | GSsl::MbedTls::old_fn = int(*)(mbedtls_pk_context *c, const unsigned char *k, std::size_t ks, const unsigned char *p, std::size_t ps) |
|
using | GSsl::MbedTls::new_fn = int(*)(mbedtls_pk_context *c, const unsigned char *k, std::size_t ks, const unsigned char *p, std::size_t ps, int(*r)(void *, unsigned char *, std::size_t), void *rp) |
|
|
template<typename F , typename... Args> |
void | GSsl::MbedTls::call (int ok, const char *fname, F fn, Args &&... args) |
|
template<typename F , typename... Args> |
void | GSsl::MbedTls::call (std::nullptr_t, const char *, F fn, Args &&... args) |
|
int | GSsl::MbedTls::call_fn (old_fn fn, mbedtls_pk_context *c, const unsigned char *k, std::size_t ks, const unsigned char *p, std::size_t ps, int(*)(void *, unsigned char *, std::size_t), void *) |
|
int | GSsl::MbedTls::call_fn (new_fn fn, mbedtls_pk_context *c, const unsigned char *k, std::size_t ks, const unsigned char *p, std::size_t ps, int(*r)(void *, unsigned char *, std::size_t), void *rp) |
|
◆ FN
#define FN |
( |
|
fn | ) |
nullptr,(#fn),(fn) |
◆ FN_OK
#define FN_OK |
( |
|
ok, |
|
|
|
fn |
|
) |
| int(ok),(#fn),(fn) |
◆ FN_RET
#define FN_RET |
( |
|
fn | ) |
nullptr,(#fn),(fn) |