Skip to content

Improved fix for STM32 hashing on U5#6362

Merged
JacobBarthelmeh merged 1 commit intowolfSSL:masterfrom
dgarske:stm32_hash
May 1, 2023
Merged

Improved fix for STM32 hashing on U5#6362
JacobBarthelmeh merged 1 commit intowolfSSL:masterfrom
dgarske:stm32_hash

Conversation

@dgarske
Copy link
Copy Markdown
Member

@dgarske dgarske commented May 1, 2023

Description

Improved fix for STM32 hashing on U5.

The FIFO (16 * 4) cannot be left full on a save/restore. Solution is to only write to FIFO when it can be flushed. Requires hash buffer cache to hold one more word.

Fixes ZD 16033

Testing

On STM32U585 with additional customer supplied tests covering updates with full block, 4 byte and 1 byte.

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

@dgarske dgarske assigned dgarske and JacobBarthelmeh and unassigned dgarske May 1, 2023
@dgarske dgarske requested a review from JacobBarthelmeh May 1, 2023 22:05
@JacobBarthelmeh JacobBarthelmeh merged commit 06d5897 into wolfSSL:master May 1, 2023
@dgarske dgarske deleted the stm32_hash branch June 12, 2023 20:39
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.

2 participants