David Garske 5699afe63d Fix for minor typos in OPENSTM32 README.md. 6 years ago
..
Inc dcab2f47ee Fixes for STM32 hardware acceleration. Adds CubeMX HAL hashing support for MD5, SHA1, SHA224 and SHA256. Adds support for STM32F7 (`WOLFSSL_STM32F7`). Fixes issue with AES-GCM and STM32F2. Cleanup of the STM32 macros (adds `NO_STM32_HASH`, `NO_STM32_CRYPTO` and `NO_STM32_RNG` to optionally disable hardware acceleration). 7 years ago
Src a616513860 Added support for AES GCM with STM32F2/STM32F4 using Standard Peripheral Library and CubeMX. Added AES ECB Decrypt for Standard Peripheral Library. Fixes for wolfCrypt test with STM32 crypto hardware for unsupported tests (AES CTR plus 9 and AES GCM with IV != 12). Improve AES CBC for STM32 to handle block aligned only. Added IDE example for SystemWorkbench for STM32 (Open STM32 tools) IDE. 7 years ago
.cproject a616513860 Added support for AES GCM with STM32F2/STM32F4 using Standard Peripheral Library and CubeMX. Added AES ECB Decrypt for Standard Peripheral Library. Fixes for wolfCrypt test with STM32 crypto hardware for unsupported tests (AES CTR plus 9 and AES GCM with IV != 12). Improve AES CBC for STM32 to handle block aligned only. Added IDE example for SystemWorkbench for STM32 (Open STM32 tools) IDE. 7 years ago
.project 3763b88397 rename the file io.h to wolfio.h 7 years ago
README.md 5699afe63d Fix for minor typos in OPENSTM32 README.md. 6 years ago
include.am a616513860 Added support for AES GCM with STM32F2/STM32F4 using Standard Peripheral Library and CubeMX. Added AES ECB Decrypt for Standard Peripheral Library. Fixes for wolfCrypt test with STM32 crypto hardware for unsupported tests (AES CTR plus 9 and AES GCM with IV != 12). Improve AES CBC for STM32 to handle block aligned only. Added IDE example for SystemWorkbench for STM32 (Open STM32 tools) IDE. 7 years ago
wolfSTM32.cfg a616513860 Added support for AES GCM with STM32F2/STM32F4 using Standard Peripheral Library and CubeMX. Added AES ECB Decrypt for Standard Peripheral Library. Fixes for wolfCrypt test with STM32 crypto hardware for unsupported tests (AES CTR plus 9 and AES GCM with IV != 12). Improve AES CBC for STM32 to handle block aligned only. Added IDE example for SystemWorkbench for STM32 (Open STM32 tools) IDE. 7 years ago
wolfSTM32.ioc a616513860 Added support for AES GCM with STM32F2/STM32F4 using Standard Peripheral Library and CubeMX. Added AES ECB Decrypt for Standard Peripheral Library. Fixes for wolfCrypt test with STM32 crypto hardware for unsupported tests (AES CTR plus 9 and AES GCM with IV != 12). Improve AES CBC for STM32 to handle block aligned only. Added IDE example for SystemWorkbench for STM32 (Open STM32 tools) IDE. 7 years ago
wolfSTM32.xml a616513860 Added support for AES GCM with STM32F2/STM32F4 using Standard Peripheral Library and CubeMX. Added AES ECB Decrypt for Standard Peripheral Library. Fixes for wolfCrypt test with STM32 crypto hardware for unsupported tests (AES CTR plus 9 and AES GCM with IV != 12). Improve AES CBC for STM32 to handle block aligned only. Added IDE example for SystemWorkbench for STM32 (Open STM32 tools) IDE. 7 years ago

README.md

wolfSSL STM32F2/F4 Example for Open STM32 Tools System Workbench

Requirements

Setup

  1. Using the STM32CubeMX tool, load the <wolfssl-root>/IDE/OPENSTM32/wolfSTM32.ioc file.
  2. Adjust the HAL options based on your specific micro-controller.
  3. Generate source code.
  4. Run SystemWorkbench and choose a new workspace location for this project.
  5. Import wolfSTM32 project from <wolfssl-root>/IDE/OPENSTM32/.
  6. Adjust the micro-controller define in Project Settings -> C/C++ General -> Paths and Symbols -> Symbols -> GNU C. Example uses STM32F437xx, but should be changed to reflect your micro-controller type.
  7. Build and Run

Note: You may need to manually copy over the CubeMX HAL files for stm32f4xx_hal_cryp.c, stm32f4xx_hal_cryp_ex.c, stm32f4xx_hal_cryp.h, stm32f4xx_hal_cryp_ex.h. Also uncomment the #define HAL_CRYP_MODULE_ENABLED line in stm32f4xx_hal_conf.h.

Configuration

The settings for the wolfSTM32 project are located in <wolfssl-root>/IDE/OPENSTM32/Inc/user_settings.h.

Support

For questions please email support@wolfssl.com