Skip to content

Sha2-256 stm32wba55#17

Closed
WilliamTakeshi wants to merge 12 commits intolake-rs:mainfrom
WilliamTakeshi:hash-stm32wba55
Closed

Sha2-256 stm32wba55#17
WilliamTakeshi wants to merge 12 commits intolake-rs:mainfrom
WilliamTakeshi:hash-stm32wba55

Conversation

@WilliamTakeshi
Copy link
Collaborator

@WilliamTakeshi WilliamTakeshi commented Dec 22, 2025

This PR implements the SHA2-256 for STM32.

There is 2 things that I want to point out that this is different from the nRF54.

  • The first block size is 64 + 4 bytes, I don't know why this happen, maybe the hardware implements a buffer of one word internally. Couldn't find anything on the documentation.
  • Padding is not needed, this hardware performs all padding automatically

@WilliamTakeshi WilliamTakeshi self-assigned this Dec 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant