#include <cipher.hpp>
Definition at line 28 of file cipher.hpp.
◆ anonymous enum
Enumerator |
---|
MODE_UNDEF | |
ENCRYPT | |
DECRYPT | |
Definition at line 35 of file cipher.hpp.
◆ CipherContextCommon() [1/3]
openvpn::MbedTLSCrypto::CipherContextCommon::CipherContextCommon |
( |
| ) |
|
|
protecteddefault |
◆ ~CipherContextCommon()
virtual openvpn::MbedTLSCrypto::CipherContextCommon::~CipherContextCommon |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ CipherContextCommon() [2/3]
openvpn::MbedTLSCrypto::CipherContextCommon::CipherContextCommon |
( |
const CipherContextCommon & |
other | ) |
|
|
protecteddelete |
◆ CipherContextCommon() [3/3]
openvpn::MbedTLSCrypto::CipherContextCommon::CipherContextCommon |
( |
CipherContextCommon && |
other | ) |
|
|
inlineprotectednoexcept |
◆ check_initialized()
void openvpn::MbedTLSCrypto::CipherContextCommon::check_initialized |
( |
| ) |
const |
|
inlineprotected |
◆ check_mode()
static void openvpn::MbedTLSCrypto::CipherContextCommon::check_mode |
( |
int |
mode | ) |
|
|
inlinestaticprotected |
◆ erase()
void openvpn::MbedTLSCrypto::CipherContextCommon::erase |
( |
| ) |
|
|
inlineprotected |
◆ OPENVPN_SIMPLE_EXCEPTION() [1/2]
openvpn::MbedTLSCrypto::CipherContextCommon::OPENVPN_SIMPLE_EXCEPTION |
( |
mbedtls_cipher_mode_error |
| ) |
|
◆ OPENVPN_SIMPLE_EXCEPTION() [2/2]
openvpn::MbedTLSCrypto::CipherContextCommon::OPENVPN_SIMPLE_EXCEPTION |
( |
mbedtls_cipher_uninitialized |
| ) |
|
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ requires_authtag_at_end()
bool constexpr openvpn::MbedTLSCrypto::CipherContextCommon::requires_authtag_at_end |
( |
| ) |
|
|
inlineconstexpr |
This crypto library requires the auth tag to be at the end for encryption and decryption
- Returns
Definition at line 47 of file cipher.hpp.
◆ ctx
mbedtls_cipher_context_t openvpn::MbedTLSCrypto::CipherContextCommon::ctx |
|
protected |
◆ initialized
bool openvpn::MbedTLSCrypto::CipherContextCommon::initialized = false |
|
protected |
The documentation for this class was generated from the following file: