Skip to main content
ABern
Associate II
July 1, 2019
Question

AES HW Timeout Crypto Lib

  • July 1, 2019
  • 2 replies
  • 787 views

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

This topic has been closed for replies.

2 replies

After Forever
Senior III
July 1, 2019

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
ABernAuthor
Associate II
July 1, 2019

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.