static evp_md_type * digest_type(const CryptoAlgs::Type alg, SSLLib::Ctx libctx)
HMACContext(const CryptoAlgs::Type digest, const unsigned char *key, const size_t key_size)
HMACContext(const HMACContext &)=delete
OPENVPN_EXCEPTION(openssl_hmac_error)
void update(const unsigned char *in, const size_t size)
void check_initialized() const
void init(const CryptoAlgs::Type digest, const unsigned char *key, const size_t key_size)
OPENVPN_SIMPLE_EXCEPTION(openssl_hmac_uninitialized)
bool is_initialized() const
HMACContext & operator=(HMACContext &&rhs)
HMACContext & operator=(const HMACContext &)=delete