12#ifndef OPENVPN_CRYPTO_CRYPTO_AEAD_USAGE_LIMIT_H
13#define OPENVPN_CRYPTO_CRYPTO_AEAD_USAGE_LIMIT_H
43 void update(
const std::size_t outlen)
AEADUsageLimit(openvpn::CryptoAlgs::Type type)
void update(const std::size_t outlen)
uint64_t plaintext_blocks
bool usage_limit_warn() const
bool usage_limit_reached() const
static constexpr size_t aead_blocksize
static constexpr uint64_t gcm_limit