18#ifndef Trinity_AES_h__
19#define Trinity_AES_h__
23#include <openssl/evp.h>
30 static constexpr size_t IV_SIZE_BYTES = 12;
31 static constexpr size_t KEY_SIZE_BYTES = 16;
32 static constexpr size_t TAG_SIZE_BYTES = 12;
34 using IV = std::array<uint8, IV_SIZE_BYTES>;
35 using Key = std::array<uint8, KEY_SIZE_BYTES>;
44 bool ProcessNoIntegrityCheck(
IV const& iv,
uint8* data,
size_t partialLength);
uint8[TAG_SIZE_BYTES] Tag
std::array< uint8, IV_SIZE_BYTES > IV
std::array< uint8, KEY_SIZE_BYTES > Key
TC_COMMON_API void Init()