STM32 MCUs Security

Ask questions and find answers on STM32 security frameworks and tools, including cryptographic libraries, TrustZone, and the Secure Manager.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Unable to find definition of FW_INFO_TOT_LEN

I'm trying to port the SBSFU to STM32H735. I started from the project for the NUCLEO-H753ZI.I get errors in sfu_fwimg_core.c on FW_INFO_TOT_LEN but where is this defined?A simple grep -r turns up nothing.Thanks!

Arno1 by Senior
  • 906 Views
  • 6 replies
  • 0 kudos

Endianness of 'in the air' data bytes on STM32WLE5 - I asked this question before but did not get a definitive answer. So hoping someone here can answer now. I can get no response from STM online support. HOW DOES ONE GET AN ANSWER FROM STM ??

We are evaluating if we can use the STM32WLE5, to interface to existing devices .A critical factor is the expected endianness of the data. I have seen no reference in the docs if this can be set, so I have provided an example message and would like t...

JNoci.1 by Associate II
  • 1437 Views
  • 6 replies
  • 0 kudos

Usage of STM32 crypto library (UM1924) on STM32WB

Hello,one question (or feature request):I try to use the STM32 crypto library (v1.3.1 software implementation) on STM32WB. I activated the RNG and CRC but the calculated results (encryption/decryption, cmac) are not ok. Are there other things to do?I...

PADAM.1 by Associate III
  • 917 Views
  • 3 replies
  • 0 kudos

How can I calculate CRC of image in post build?

Hello,I want to calculate the CRC (32 bit) of image at post build and insert it in a known location in the image.In order to do it I should perform the following steps:a) Definition of placeholder in linker script fileb) Post build steps: b.1) Ca...

Crypto peripheral on STM32H745

HiI want to use the Cryptographic peripheral on the above nucleo board, in the following way.Serial message from embedded board-->H745 crypto engine-->wireless transmission-->Decrypt packet on remote x86 laptopAnd the reverse direction tooSo clearly ...

CRC Generating Polynomial doesn't work

Hi!I'm triying to set the CRC-16-IBM: X16+X15+X2+1, but CUBEMx does not allow it. In fact, I cannot introduce any polynomial.Is it a CUBE issue? How can I introduce the CRC-16 IBM polynomial ?Thank you

How to do: CRYP peripheral on STM32WB

HelloIn STM32 Crypto Library, there are function "AES_CMAC_Encrypt_Init", "AES_CMAC_Encrypt_Append" and "AES_CMAC_Encrypt_Finish" to calculate the authentication code of a plain text.How can this be done on STM32WB using the CRYP peripheral (HAL driv...

PADAM.1 by Associate III
  • 790 Views
  • 3 replies
  • 0 kudos

Endianness of 'in the air' data bytes

We are evaluating if we can use the STM32 to interface to existing devices. The critical fator is the expected endianness of the data. I have seen no reference in the docs if this can be set, so I have provided an example message and would like to kn...

JNoci.1 by Associate II
  • 1111 Views
  • 4 replies
  • 0 kudos

SBSFU USB Local Loader STM32F4xx

Hi i was wondering how i should go about implementing USB instead of UART to download the firmware in the SBSFU bootloader. I have successfully managed use USB in DFU mode to install a new firmware.

Ahmed by Associate III
  • 689 Views
  • 1 replies
  • 0 kudos