I'm trying to use AES with STEVAL-IDB006V1. I'm using some utilities from stm32l1xx_aes_util.c file.
I have enabled RCC_AHBPeriph_AES with the command RCC_AHBPeriphClockCmd(RCC_AHBPeriph_AES, ENABLE);
but when the application tries to execute AES_Init it stops. Taking a look inside AES_Init in stm32l1xx_aes.c file, I have found out the command that stops the app: tmpreg = AES->CR;
It seems that AES register is not accessible. Should I enable anything else? What's the problem?