2019-07-01 05:55 AM
Hi,
In my company we are currenlty looking at integrate the crypto lib.
I have created a small STM32 IDE project to test the crypto lib provided by ST. I am using the Nucleo STM32413. The whole project compiles and I can succesfully call AccHw_AES_CFB_Encrypt_Init() that returns AES_SUCCESS but when I call AccHw_AES_CFB_Encrypt_Append() it returns error_status = 2002 (HW Timeout).
Did someone has the same issue?
Is the STM32413 compatible with this library?
Can I get some help from ST?
Thanks in advance.
Regards,
Anthony
2019-07-01 06:45 AM
STM32F413 doesn't have hardware crypto accelerator, so drop the "AccHW_" prefix when calling the x-cube-cryptolib functions in order to use the software version.
2019-07-01 06:50 AM
Hi After Forever,
Thanks for the response. I am surprised that I can still compile and do an AccHw_AES_CFB_Encrypt_Init() without any problem.