/* When this function is called, the engine is triggered to start using this context. */
void AESDataLengthSet(uint32_t ui32Base, uint64_t ui64Length)
/* When this function is called, the engine is triggered to start using this context. */
void AESDataLengthSet(uint32_t ui32Base, uint64_t ui64Length)
{
    ASSERT(ui32Base == AES_BASE);
    HWREG(ui32Base + AES_O_C_LENGTH_0) = (uint32_t)(ui64Length);
    HWREG(ui32Base + AES_O_C_LENGTH_1) = (uint32_t)(ui64Length >> 32);
}