static const mbedtls_md_info_t * digest_type(const CryptoAlgs::Type alg)
HMACContext(const HMACContext &)=delete
bool is_initialized() const
void check_initialized() const
OPENVPN_EXCEPTION(mbedtls_hmac_error)
void update(const unsigned char *in, const size_t size)
HMACContext(const CryptoAlgs::Type digest, const unsigned char *key, const size_t key_size)
OPENVPN_SIMPLE_EXCEPTION(mbedtls_hmac_uninitialized)
HMACContext & operator=(const HMACContext &)=delete
void init(const CryptoAlgs::Type digest, const unsigned char *key, const size_t key_size)