Skip to content

arch/risc-v/espressif: Add SHA512 and SHA224 support#19227

Merged
xiaoxiang781216 merged 3 commits into
apache:masterfrom
eren-terzioglu:feature/esp_add_sha_modes
Jun 27, 2026
Merged

arch/risc-v/espressif: Add SHA512 and SHA224 support#19227
xiaoxiang781216 merged 3 commits into
apache:masterfrom
eren-terzioglu:feature/esp_add_sha_modes

Conversation

@eren-terzioglu

@eren-terzioglu eren-terzioglu commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Docs/platforms/esp32p4: Add crypto docs for esp32p4

Add missing crypto accelerator docs for esp32p4

  • boards/risc-v/espressif: Add SHA512 and SHA224 board support

Add SHA224 board support for esp32[-c3|-c6|-h2|-p4]
Add SHA512 support for esp32p4

  • arch/risc-v/espressif: Add SHA512 and SHA224 support

Add SHA512 and SHA224 support for supported devices

Impact

Impact on user: Yes, SHA512 and SHA224 modes supported for ESP32P4, SHA224 supported for ESP32C3, ESP32C6 and ESP32H2

Impact on build: No

Impact on hardware: Yes, SHA512 and SHA224 modes supported for related devices

Impact on documentation: Yes, related docs added

Impact on security: No

Impact on compatibility: No

Testing

These configs used:

esp32c3-devkit:crypto
esp32c6-devkitc:crypto
esp32h2-devkit:crypto
esp32p4-function-ev-board:crypto

Building

Command to build:

make distclean && ./tools/configure.sh esp32p4-function-ev-board:crypto && make -j && make download ESPTOOL_PORT=/dev/ttyUSB0

Running

hash command used

Results

nsh> hash
hash sha1 success
hash sha1 success
hash sha1 success
hash sha224 success
hash sha224 success
hash sha224 success
hash sha256 success
hash sha256 success
hash sha256 success
hash sha512 success
hash sha512 success
hash sha512 success

Add SHA512 and SHA224 support for supported devices

Signed-off-by: Eren Terzioglu <eren.terzioglu@espressif.com>
@github-actions github-actions Bot added Area: Documentation Improvements or additions to documentation Arch: risc-v Issues related to the RISC-V (32-bit or 64-bit) architecture Size: M The size of the change in this PR is medium Board: risc-v labels Jun 26, 2026
Add SHA224 board support for esp32[-c3|-c6|-h2|-p4]
Add SHA512 support for esp32p4

Signed-off-by: Eren Terzioglu <eren.terzioglu@espressif.com>
Add missing crypto accelerator docs for esp32p4

Signed-off-by: Eren Terzioglu <eren.terzioglu@espressif.com>
@github-actions

Copy link
Copy Markdown

MemBrowse Memory Report

No memory changes detected for:

@xiaoxiang781216 xiaoxiang781216 merged commit 5e1b109 into apache:master Jun 27, 2026
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Arch: risc-v Issues related to the RISC-V (32-bit or 64-bit) architecture Area: Documentation Improvements or additions to documentation Board: risc-v Size: M The size of the change in this PR is medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants