OpenVPN 3 Core Library
|
#include <ovpnhmac.hpp>
Public Member Functions | |
OPENVPN_SIMPLE_EXCEPTION (ovpn_hmac_context_digest_size) | |
OPENVPN_SIMPLE_EXCEPTION (ovpn_hmac_context_bad_sizing) | |
OvpnHMAC () | |
OvpnHMAC (const CryptoAlgs::Type digest, const StaticKey &key) | |
bool | defined () const |
size_t | output_size () const |
void | init (const CryptoAlgs::Type digest, const StaticKey &key) |
void | hmac (unsigned char *out, const size_t out_size, const unsigned char *in, const size_t in_size) |
void | ovpn_hmac_gen (unsigned char *data, const size_t data_size, const size_t l1, const size_t l2, const size_t l3) |
bool | ovpn_hmac_cmp (const unsigned char *data, const size_t data_size, const size_t l1, const size_t l2, const size_t l3) |
Private Member Functions | |
bool | ovpn_hmac_pre (const unsigned char *data, const size_t data_size, const size_t l1, const size_t l2, const size_t l3) |
Private Attributes | |
CRYPTO_API::HMACContext | ctx |
Definition at line 31 of file ovpnhmac.hpp.
|
inline |
Definition at line 38 of file ovpnhmac.hpp.
|
inline |
Definition at line 42 of file ovpnhmac.hpp.
|
inline |
Definition at line 47 of file ovpnhmac.hpp.
|
inline |
Definition at line 70 of file ovpnhmac.hpp.
|
inline |
openvpn::OvpnHMAC< CRYPTO_API >::OPENVPN_SIMPLE_EXCEPTION | ( | ovpn_hmac_context_bad_sizing | ) |
openvpn::OvpnHMAC< CRYPTO_API >::OPENVPN_SIMPLE_EXCEPTION | ( | ovpn_hmac_context_digest_size | ) |
|
inline |
Definition at line 53 of file ovpnhmac.hpp.
|
inline |
Definition at line 95 of file ovpnhmac.hpp.
|
inline |
Definition at line 82 of file ovpnhmac.hpp.
|
inlineprivate |
|
private |
Definition at line 134 of file ovpnhmac.hpp.