22 #include <openssl/ossl_typ.h> 23 #include <openssl/evp.h> 24 #include <openssl/rand.h> 42 void locking_fn(
int mode,
int n,
const char* file,
int line);
44 unsigned long id_fn();
64 void GetBytes(
unsigned char* buffer,
size_t bufferSize)
override;
177 void Reset()
override;
183 virtual void InitEncryptor_Internal() = 0;
188 virtual void InitDecryptor_Internal() = 0;
190 virtual size_t GetBlockSizeBytes()
const = 0;
192 virtual size_t GetKeyLengthBits()
const = 0;
198 void CheckInitEncryptor();
199 void CheckInitDecryptor();
202 bool m_encDecInitialized;
203 bool m_encryptionMode;
204 bool m_decryptionMode;
235 void InitEncryptor_Internal()
override;
237 void InitDecryptor_Internal()
override;
239 size_t GetBlockSizeBytes()
const override;
241 size_t GetKeyLengthBits()
const override;
244 static size_t BlockSizeBytes;
245 static size_t KeyLengthBits;
277 void InitEncryptor_Internal()
override;
279 void InitDecryptor_Internal()
override;
281 size_t GetBlockSizeBytes()
const override;
283 size_t GetKeyLengthBits()
const override;
286 static size_t BlockSizeBytes;
287 static size_t KeyLengthBits;
329 void InitEncryptor_Internal()
override;
331 void InitDecryptor_Internal()
override;
333 size_t GetBlockSizeBytes()
const override;
335 size_t GetKeyLengthBits()
const override;
337 size_t GetTagLengthBytes()
const;
340 static size_t BlockSizeBytes;
341 static size_t IVLengthBytes;
342 static size_t KeyLengthBits;
343 static size_t TagLengthBytes;
GetTheLights getTheLights
void locking_fn(int mode, int n, const char *file, int line)
std::basic_istream< char, std::char_traits< char > > IStream
void cleanup_static_state()
SecureRandomBytes_OpenSSLImpl()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
JSON (JavaScript Object Notation).