#include <cipher.hpp>
Definition at line 32 of file cipher.hpp.
◆ anonymous enum
Enumerator |
---|
MODE_UNDEF | |
ENCRYPT | |
DECRYPT | |
Definition at line 43 of file cipher.hpp.
◆ anonymous enum
Enumerator |
---|
MAX_IV_LENGTH | |
CIPH_CBC_MODE | |
Definition at line 50 of file cipher.hpp.
◆ CipherContext() [1/2]
openvpn::AppleCrypto::CipherContext::CipherContext |
( |
const CipherContext & |
| ) |
|
|
privatedelete |
◆ CipherContext() [2/2]
openvpn::AppleCrypto::CipherContext::CipherContext |
( |
| ) |
|
|
inline |
◆ ~CipherContext()
openvpn::AppleCrypto::CipherContext::~CipherContext |
( |
| ) |
|
|
inline |
◆ block_size()
size_t openvpn::AppleCrypto::CipherContext::block_size |
( |
| ) |
const |
|
inline |
◆ check_initialized()
void openvpn::AppleCrypto::CipherContext::check_initialized |
( |
| ) |
const |
|
inlineprivate |
◆ cipher_mode()
int openvpn::AppleCrypto::CipherContext::cipher_mode |
( |
| ) |
const |
|
inline |
◆ cipher_type()
static CCAlgorithm openvpn::AppleCrypto::CipherContext::cipher_type |
( |
const CryptoAlgs::Type |
alg | ) |
|
|
inlinestaticprivate |
◆ erase()
void openvpn::AppleCrypto::CipherContext::erase |
( |
| ) |
|
|
inlineprivate |
◆ final()
bool openvpn::AppleCrypto::CipherContext::final |
( |
unsigned char * |
out, |
|
|
const size_t |
max_out_size, |
|
|
size_t & |
out_acc |
|
) |
| |
|
inline |
◆ init()
void openvpn::AppleCrypto::CipherContext::init |
( |
const CryptoAlgs::Type |
alg, |
|
|
const unsigned char * |
key, |
|
|
const int |
mode |
|
) |
| |
|
inline |
◆ is_initialized()
bool openvpn::AppleCrypto::CipherContext::is_initialized |
( |
| ) |
const |
|
inline |
◆ iv_length()
size_t openvpn::AppleCrypto::CipherContext::iv_length |
( |
| ) |
const |
|
inline |
◆ OPENVPN_EXCEPTION()
openvpn::AppleCrypto::CipherContext::OPENVPN_EXCEPTION |
( |
apple_cipher_error |
| ) |
|
◆ OPENVPN_SIMPLE_EXCEPTION() [1/2]
openvpn::AppleCrypto::CipherContext::OPENVPN_SIMPLE_EXCEPTION |
( |
apple_cipher_mode_error |
| ) |
|
◆ OPENVPN_SIMPLE_EXCEPTION() [2/2]
openvpn::AppleCrypto::CipherContext::OPENVPN_SIMPLE_EXCEPTION |
( |
apple_cipher_uninitialized |
| ) |
|
◆ operator=()
◆ reset()
void openvpn::AppleCrypto::CipherContext::reset |
( |
const unsigned char * |
iv | ) |
|
|
inline |
◆ update()
bool openvpn::AppleCrypto::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 |
◆ cinfo
◆ cref
CCCryptorRef openvpn::AppleCrypto::CipherContext::cref |
|
private |
The documentation for this class was generated from the following file: