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;
196 void CheckInitEncryptor();
197 void CheckInitDecryptor();
203 bool m_encDecInitialized;
204 bool m_encryptionMode;
205 bool m_decryptionMode;
236 void InitEncryptor_Internal()
override;
238 void InitDecryptor_Internal()
override;
240 size_t GetBlockSizeBytes()
const override;
242 size_t GetKeyLengthBits()
const override;
245 static size_t BlockSizeBytes;
246 static size_t KeyLengthBits;
278 void InitEncryptor_Internal()
override;
280 void InitDecryptor_Internal()
override;
282 size_t GetBlockSizeBytes()
const override;
284 size_t GetKeyLengthBits()
const override;
287 static size_t BlockSizeBytes;
288 static size_t KeyLengthBits;
330 void InitEncryptor_Internal()
override;
332 void InitDecryptor_Internal()
override;
334 size_t GetBlockSizeBytes()
const override;
336 size_t GetKeyLengthBits()
const override;
338 size_t GetTagLengthBytes()
const;
341 static size_t BlockSizeBytes;
342 static size_t IVLengthBytes;
343 static size_t KeyLengthBits;
344 static size_t TagLengthBytes;
373 void InitEncryptor_Internal()
override;
375 void InitDecryptor_Internal()
override;
382 static size_t BlockSizeBytes;
383 static size_t KeyLengthBits;
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()
size_t GetBlockSizeBytes() const override
SecureRandomBytes_OpenSSLImpl()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
size_t GetKeyLengthBits() const override
JSON (JavaScript Object Notation).