Finished converting aes.c and aes.h. Converted more of crypto.c. [Ticket #6877]