Pay attention to return values from aes key functions.