2014-01-31 02:17 PM
I have a question about the HW crypto acceleration in the STM32F4 family. According to Note 2 on p.12 in the STM document ''STM32 Cryptographic Library Package Presentation'' (see here: http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/CD00208802.pdf ) ''HW acceleration is only available for STM32F1x and STM32F41x devices''
Is this in fact true? What about the other devices with HW crypto acceleration (e.g., STM32F42x, STM32F43x) ????? Can someone please clarify? Thank you. #stm32f4-cryptographic-library2014-01-31 05:37 PM
Pretty sure none of the F42x devices have the CRYP unit
The F21x, F41x, and F43x devices should have the CRYP and HASH, this can be readily detected with the following.RCC->AHB2ENR |= 0xFFFFFFFF;if (RCC->AHB2ENR & RCC_AHB2Periph_CRYP) puts(''CRYP'');if (RCC->AHB2ENR & RCC_AHB2Periph_HASH) puts(''HASH'');if (RCC->AHB2ENR & RCC_AHB2Periph_RNG) puts(''RNG'');