Skip to main content
Wowa
Associate III
February 5, 2019
Solved

HW Cryptoprocessor in STM32F746NG does not work in AES CCM mode (Examples\CRYP example from 756-Eval board)

  • February 5, 2019
  • 1 reply
  • 1442 views

I'm trying to run AES CCM encryption on STM32F746G-Disco board in hw-accelerated mode. Tried to use CryptoLib 3.1.2 and low level Examples from 756-Eval board. For some reason there is no working example supplied by ST that implements this mode with HW acceleration on 746. CryptoLib works good, but only in FW mode (unaccelerated). Having tried to adapt HAL example (\Examples\CRYP\CRYP_AES_CCM) from 756 board, I encounter timeout in HAL_CRYPEx_AESCCM_Encrypt() call.

Is CRYP supposed to work in this mode in 746NG at all? Ref man does not tell it shouldn't. Can anybody point me to what should be adjusted for it to work, compared to 756?

Thank you!

Vladimir

This topic has been closed for replies.
Best answer by Tesla DeLorean

The F746 doesn't provide HW CRYPTO ​

Without, With

F746, F756

F769, F779

H743, H753

F429, F439

L152, L162

1 reply

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
February 5, 2019

The F746 doesn't provide HW CRYPTO ​

Without, With

F746, F756

F769, F779

H743, H753

F429, F439

L152, L162

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Wowa
WowaAuthor
Associate III
February 5, 2019

Oops! Thank you for this info, pity that it's not obvious from ref man. And what about 723? I saw in ref man that it has some AES accelerator, but from cycle counts that are listed there, seems that it's much slower than in 756, and there are no usage examples for 723 from ST yet. Is this correct?

Wowa
WowaAuthor
Associate III
February 5, 2019

Or should I say 733? They also have the same manual, do those differ the same way - 723 without vs 733 with?