#include <hmac.hpp>
Definition at line 28 of file hmac.hpp.
◆ anonymous enum
Enumerator |
---|
MAX_HMAC_SIZE | |
MAX_HMAC_KEY_SIZE | |
Definition at line 38 of file hmac.hpp.
◆ State
Enumerator |
---|
PRE | |
PARTIAL | |
READY | |
Definition at line 118 of file hmac.hpp.
◆ HMACContext() [1/3]
openvpn::AppleCrypto::HMACContext::HMACContext |
( |
const HMACContext & |
| ) |
|
|
privatedelete |
◆ HMACContext() [2/3]
openvpn::AppleCrypto::HMACContext::HMACContext |
( |
| ) |
|
|
inline |
◆ HMACContext() [3/3]
openvpn::AppleCrypto::HMACContext::HMACContext |
( |
const CryptoAlgs::Type |
digest, |
|
|
const unsigned char * |
key, |
|
|
const size_t |
key_size |
|
) |
| |
|
inline |
◆ ~HMACContext()
openvpn::AppleCrypto::HMACContext::~HMACContext |
( |
| ) |
|
|
inline |
◆ cond_reset()
void openvpn::AppleCrypto::HMACContext::cond_reset |
( |
const bool |
force_init | ) |
|
|
inlineprivate |
◆ final()
size_t openvpn::AppleCrypto::HMACContext::final |
( |
unsigned char * |
out | ) |
|
|
inline |
◆ init()
void openvpn::AppleCrypto::HMACContext::init |
( |
const CryptoAlgs::Type |
digest, |
|
|
const unsigned char * |
key, |
|
|
const size_t |
key_size |
|
) |
| |
|
inline |
◆ is_initialized()
bool openvpn::AppleCrypto::HMACContext::is_initialized |
( |
| ) |
const |
|
inline |
◆ OPENVPN_EXCEPTION()
openvpn::AppleCrypto::HMACContext::OPENVPN_EXCEPTION |
( |
digest_cannot_be_used_with_hmac |
| ) |
|
◆ OPENVPN_SIMPLE_EXCEPTION() [1/2]
openvpn::AppleCrypto::HMACContext::OPENVPN_SIMPLE_EXCEPTION |
( |
hmac_keysize_error |
| ) |
|
◆ OPENVPN_SIMPLE_EXCEPTION() [2/2]
openvpn::AppleCrypto::HMACContext::OPENVPN_SIMPLE_EXCEPTION |
( |
hmac_uninitialized |
| ) |
|
◆ operator=()
◆ reset()
void openvpn::AppleCrypto::HMACContext::reset |
( |
| ) |
|
|
inline |
◆ size()
size_t openvpn::AppleCrypto::HMACContext::size |
( |
| ) |
const |
|
inline |
◆ update()
void openvpn::AppleCrypto::HMACContext::update |
( |
const unsigned char * |
in, |
|
|
const size_t |
size |
|
) |
| |
|
inline |
◆ ctx
CCHmacContext openvpn::AppleCrypto::HMACContext::ctx |
|
private |
◆ digest_size_
size_t openvpn::AppleCrypto::HMACContext::digest_size_ |
|
private |
◆ hmac_alg
CCHmacAlgorithm openvpn::AppleCrypto::HMACContext::hmac_alg |
|
private |
◆ info
const DigestInfo* openvpn::AppleCrypto::HMACContext::info |
|
private |
◆ key_
◆ key_size_
size_t openvpn::AppleCrypto::HMACContext::key_size_ |
|
private |
◆ state
int openvpn::AppleCrypto::HMACContext::state |
|
private |
The documentation for this class was generated from the following file: