12 #include "mbedtls/aes.h"
30 void ProcessData(std::byte * a_PlainIn,
size_t a_Length);
Encrypts data using the AES / CFB (128) algorithm.
void ProcessData(std::byte *a_PlainIn, size_t a_Length)
Encrypts a_Length bytes of the plain data in-place; produces a_Length output bytes.
mbedtls_aes_context m_Aes
bool m_IsValid
Indicates whether the object has been initialized with the Key / IV.
Byte m_IV[16]
The InitialVector, used by the CFB mode encryption.
cAesCfb128Encryptor(void)
void Init(const Byte a_Key[16], const Byte a_IV[16])
Initializes the decryptor with the specified Key / IV.
bool IsValid(void) const
Returns true if the object has been initialized with the Key / IV.