2017-05-29 12:16 PM
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 commandRCC_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?
#aes #steval-idb006v12017-08-04 12:40 AM
ME TOO! ...and no idea
2017-08-04 03:03 AM
STM32L151CBU6 doesn't have a hardware crypto module. You'll have to use software cryptography using ST's
http://www.st.com/en/embedded-software/x-cube-cryptolib.html
or a 3-rd party crypto library like , or something lighter like .