proxygen
fizz::AESOCB128 Struct Reference

#include <AESOCB128.h>

Static Public Member Functions

static const EVP_CIPHER * Cipher ()
 

Static Public Attributes

static const size_t kKeyLength {16}
 
static const size_t kIVLength {12}
 
static const size_t kTagLength {16}
 
static const bool kOperatesInBlocks {true}
 
static const bool kRequiresPresetTagLen {true}
 

Detailed Description

Definition at line 17 of file AESOCB128.h.

Member Function Documentation

static const EVP_CIPHER* fizz::AESOCB128::Cipher ( )
inlinestatic

Definition at line 18 of file AESOCB128.h.

18  {
19 #if FOLLY_OPENSSL_IS_110 && !defined(OPENSSL_NO_OCB)
20  return EVP_aes_128_ocb();
21 #else
22  throw std::runtime_error(
23  "aes-ocb support requires OpenSSL 1.1.0 with ocb enabled");
24 #endif
25  }

Member Data Documentation

const size_t fizz::AESOCB128::kIVLength {12}
static

Definition at line 28 of file AESOCB128.h.

const size_t fizz::AESOCB128::kKeyLength {16}
static

Definition at line 27 of file AESOCB128.h.

const bool fizz::AESOCB128::kOperatesInBlocks {true}
static

Definition at line 30 of file AESOCB128.h.

const bool fizz::AESOCB128::kRequiresPresetTagLen {true}
static

Definition at line 31 of file AESOCB128.h.

const size_t fizz::AESOCB128::kTagLength {16}
static

Definition at line 29 of file AESOCB128.h.


The documentation for this struct was generated from the following file: