#include <cipher.hpp>
|
EVP_CIPHER_CTX * | ctx = nullptr |
|
Definition at line 31 of file cipher.hpp.
◆ CIPHER_unique_ptr
◆ evp_cipher_type
◆ anonymous enum
Enumerator |
---|
MODE_UNDEF | |
ENCRYPT | |
DECRYPT | |
Definition at line 53 of file cipher.hpp.
◆ anonymous enum
Enumerator |
---|
MAX_IV_LENGTH | |
CIPH_CBC_MODE | |
Definition at line 61 of file cipher.hpp.
◆ CipherContext() [1/2]
openvpn::OpenSSLCrypto::CipherContext::CipherContext |
( |
const CipherContext & |
| ) |
|
|
privatedelete |
◆ CipherContext() [2/2]
openvpn::OpenSSLCrypto::CipherContext::CipherContext |
( |
| ) |
|
|
default |
◆ ~CipherContext()
openvpn::OpenSSLCrypto::CipherContext::~CipherContext |
( |
| ) |
|
|
inline |
◆ block_size()
size_t openvpn::OpenSSLCrypto::CipherContext::block_size |
( |
| ) |
const |
|
inline |
◆ check_initialized()
void openvpn::OpenSSLCrypto::CipherContext::check_initialized |
( |
| ) |
const |
|
inlineprivate |
◆ cipher_mode()
int openvpn::OpenSSLCrypto::CipherContext::cipher_mode |
( |
| ) |
const |
|
inline |
◆ cipher_type()
◆ final()
bool openvpn::OpenSSLCrypto::CipherContext::final |
( |
unsigned char * |
out, |
|
|
const size_t |
max_out_size, |
|
|
size_t & |
out_acc |
|
) |
| |
|
inline |
◆ free_cipher_context()
void openvpn::OpenSSLCrypto::CipherContext::free_cipher_context |
( |
| ) |
|
|
inlineprivate |
◆ init()
void openvpn::OpenSSLCrypto::CipherContext::init |
( |
SSLLib::Ctx |
libctx, |
|
|
const CryptoAlgs::Type |
alg, |
|
|
const unsigned char * |
key, |
|
|
const int |
mode |
|
) |
| |
|
inline |
◆ is_initialized()
bool openvpn::OpenSSLCrypto::CipherContext::is_initialized |
( |
| ) |
const |
|
inline |
◆ is_supported()
◆ iv_length()
size_t openvpn::OpenSSLCrypto::CipherContext::iv_length |
( |
| ) |
const |
|
inline |
◆ OPENVPN_EXCEPTION()
openvpn::OpenSSLCrypto::CipherContext::OPENVPN_EXCEPTION |
( |
openssl_cipher_error |
| ) |
|
◆ OPENVPN_SIMPLE_EXCEPTION() [1/2]
openvpn::OpenSSLCrypto::CipherContext::OPENVPN_SIMPLE_EXCEPTION |
( |
openssl_cipher_mode_error |
| ) |
|
◆ OPENVPN_SIMPLE_EXCEPTION() [2/2]
openvpn::OpenSSLCrypto::CipherContext::OPENVPN_SIMPLE_EXCEPTION |
( |
openssl_cipher_uninitialized |
| ) |
|
◆ operator=()
◆ reset()
void openvpn::OpenSSLCrypto::CipherContext::reset |
( |
const unsigned char * |
iv | ) |
|
|
inline |
◆ update()
bool openvpn::OpenSSLCrypto::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 |
◆ ctx
EVP_CIPHER_CTX* openvpn::OpenSSLCrypto::CipherContext::ctx = nullptr |
|
private |
The documentation for this class was generated from the following file: