cancel
Showing results for 
Search instead for 
Did you mean: 

AES HW Timeout Crypto Lib

ABern
Associate II

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

2 REPLIES 2

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.

ABern
Associate II

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.