#include <cipher.hpp>
Definition at line 107 of file cipher.hpp.
◆ anonymous enum
Enumerator |
---|
MODE_UNDEF | |
ENCRYPT | |
DECRYPT | |
Definition at line 117 of file cipher.hpp.
◆ anonymous enum
Enumerator |
---|
MAX_IV_LENGTH | |
CIPH_CBC_MODE | |
Definition at line 125 of file cipher.hpp.
◆ CipherContext() [1/2]
openvpn::MbedTLSCrypto::CipherContext::CipherContext |
( |
const CipherContext & |
| ) |
|
|
privatedelete |
◆ CipherContext() [2/2]
openvpn::MbedTLSCrypto::CipherContext::CipherContext |
( |
| ) |
|
|
default |
◆ ~CipherContext()
openvpn::MbedTLSCrypto::CipherContext::~CipherContext |
( |
| ) |
|
|
inline |
◆ block_size()
size_t openvpn::MbedTLSCrypto::CipherContext::block_size |
( |
| ) |
const |
|
inline |
◆ cipher_mode()
int openvpn::MbedTLSCrypto::CipherContext::cipher_mode |
( |
| ) |
const |
|
inline |
◆ cipher_type()
static const mbedtls_cipher_info_t * openvpn::MbedTLSCrypto::CipherContext::cipher_type |
( |
const CryptoAlgs::Type |
alg | ) |
|
|
inlinestaticprivate |
◆ final()
bool openvpn::MbedTLSCrypto::CipherContext::final |
( |
unsigned char * |
out, |
|
|
const size_t |
max_out_size, |
|
|
size_t & |
out_acc |
|
) |
| |
|
inline |
◆ init()
void openvpn::MbedTLSCrypto::CipherContext::init |
( |
SSLLib::Ctx |
libctx, |
|
|
const CryptoAlgs::Type |
alg, |
|
|
const unsigned char * |
key, |
|
|
const int |
mode |
|
) |
| |
|
inline |
◆ is_initialized()
bool openvpn::MbedTLSCrypto::CipherContext::is_initialized |
( |
| ) |
const |
|
inline |
◆ is_supported()
◆ iv_length()
size_t openvpn::MbedTLSCrypto::CipherContext::iv_length |
( |
| ) |
const |
|
inline |
◆ OPENVPN_EXCEPTION()
openvpn::MbedTLSCrypto::CipherContext::OPENVPN_EXCEPTION |
( |
mbedtls_cipher_error |
| ) |
|
◆ operator=()
◆ reset()
void openvpn::MbedTLSCrypto::CipherContext::reset |
( |
const unsigned char * |
iv | ) |
|
|
inline |
◆ update()
bool openvpn::MbedTLSCrypto::CipherContext::update |
( |
unsigned char * |
out, |
|
|
const size_t |
max_out_size, |
|
|
const unsigned char * |
in, |
|
|
const size_t |
in_size, |
|
|
size_t & |
out_acc |
|
) |
| |
|
inline |
The documentation for this class was generated from the following file: