12 #include <openssl/evp.h> 18 #if FOLLY_OPENSSL_IS_110 19 return EVP_chacha20_poly1305();
21 throw std::runtime_error(
22 "chacha20-poly1305 support requires OpenSSL 1.1.0");
23 #endif // FOLLY_OPENSSL_IS_110 static const size_t kTagLength
static const bool kRequiresPresetTagLen
static const size_t kIVLength
static const EVP_CIPHER * Cipher()
static const bool kOperatesInBlocks
static const size_t kKeyLength