Skip to content

arch/arm/src/stm32h7: Extend crypto interface to support HW CRC32#19460

Merged
acassis merged 1 commit into
apache:masterfrom
pbarada:test/stm32h7-hash-crypt8
Jul 16, 2026
Merged

arch/arm/src/stm32h7: Extend crypto interface to support HW CRC32#19460
acassis merged 1 commit into
apache:masterfrom
pbarada:test/stm32h7-hash-crypt8

Conversation

@pbarada

@pbarada pbarada commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Add stm32h7 support for CRC32 HW accelerator.

Summary

Extend stm32_crypto.c to add CRYPTO_CRC32 HW acceleration.
Update nucleo-h753zi:crypto defconfig to enable HW CRC and enable crc32 testing utility.

Impact

  • User experience: No adaptation required. This fix extends existing behavior.
  • Build: No impact.
  • Hardware: Affects nucleo-h753zi board (and other stm32h7 based boards)
  • Documentation: No impact.
  • Security: No impact.
  • Compatibility: Backward compatible - adds functionality.

Testing

Build Host:

  • OS: Ubuntu 24.04.4 LTS
  • Compiler: arm-none-eabi-gcc 13.2.1

Target:

  • Architecture: ARM (STM32H753ZI)
  • Board: Nucleo-h753zi
  • Configuration: nucleo-h753zi:crypto

Testing performed:

  • Booted board and ran crc32 test utility; verify test used HW acceleration

Runtime testing:

From target console:

NuttShell (NSH) NuttX-13.0.0
nsh> uname -a
NuttX 13.0.0 bed32ec994 Jul 16 2026 11:06:39 arm nucleo-h753zi
nsh> crc32
crc32 test case 1 success
crc32 test case 2 success
crc32 test case 3 success
crc32 test case 4 success
crc32 test case 5 success
crc32 test case 6 success
crc32 test case 7 success
crc32 test case 8 success
nsh>

@github-actions github-actions Bot added Arch: arm Issues related to ARM (32-bit) architecture Size: L The size of the change in this PR is large Board: arm labels Jul 16, 2026
@github-actions

github-actions Bot commented Jul 16, 2026

Copy link
Copy Markdown

MemBrowse Memory Report

No memory changes detected for:

acassis
acassis previously approved these changes Jul 16, 2026
Add stm32h7 support for CRC32 HW accelerator.

Signed-off-by: Peter Barada <peter.barada@gmail.com>
@linguini1 linguini1 requested a review from acassis July 16, 2026 21:11
@acassis acassis merged commit f81705e into apache:master Jul 16, 2026
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Arch: arm Issues related to ARM (32-bit) architecture Board: arm Size: L The size of the change in this PR is large

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants