/* Writes key 3 configuration registers, which are used for encryption or decryption. */
void AESKey3Set(uint32_t ui32Base, uint8_t *pui8Key)
/* Writes key 3 configuration registers, which are used for encryption or decryption. */
void AESKey3Set(uint32_t ui32Base, uint8_t *pui8Key)
{
    ASSERT(ui32Base == AES_BASE);
    HWREG(ui32Base + AES_O_KEY2_4) = * ((uint32_t *)(pui8Key + 0));
    HWREG(ui32Base + AES_O_KEY2_5) = * ((uint32_t *)(pui8Key + 4));
    HWREG(ui32Base + AES_O_KEY2_6) = * ((uint32_t *)(pui8Key + 8));
    HWREG(ui32Base + AES_O_KEY2_7) = * ((uint32_t *)(pui8Key + 12));
}