wolfSSL now has support for STM32G4 microcontrollers. With new features that enable better performance and flexibility for cryptographic operations on STM32G4 hardware. Below is a summary of the key changes and updates that were made in PR #7997:
Key Changes and Features
- User Settings Synchronization:
The `user_settings_stm32.h` configuration file has been synchronized with the STM32Cube IDE’s `default_conf.ftl`. This ensures that the configurations are up to date and consistent with the STM32G4 environment. - New Configuration Options:
WOLF_CONF_IO: This option allows the user to select the network stack to use.
Options include:- 1 = User IO (custom)
- 2 = LWIP (POSIX)
- 3 = LWIP (native )
WOLF_CONF_RESUMPTION: This option controls session caching and session ticket functionality.
- 0 = No session cache
- 1 = Session cache / Session tickets
WOLF_CONF_TPM: Enables TPM support, which adds Crypto Callbacks, Public MP, and AES CFB support.
WOLF_CONF_PK: TLS Key Callbacks fir better key management in cryptographic operations.
WOLF_CONF_AESGCM: Support for AES GCM encryption modes with:- 1 = GCM_SMALL
- 2 = GCM_TABLE_4BIT
Testing
The code was compiled in STM32CubeIDE for STM32G491x, but no hardware was available for testing at the time. Tests have been run with essential hardware features, including:
- – RTC
- – RNG
- – LPUART1
- – ARM ASM
Conclusion
wolfSSL now supports STM32G4 microcontrollers, which has custom IO, session caching, TPM support, and AES GCM support. If you have any further questions about any of the above, please contact us at facts@wolfSSL.com or +1 425 245 8247.
Download wolfSSL Now