For STM32 hashing to wait for hash done on block size + 1 word. Updated the STM32U5 benchmarks. Added note about new GCM_TABLE_4BIT.

This commit is contained in:
David Garske
2022-06-17 09:07:45 -07:00
parent 2f6b5a97a4
commit 9c5821569f
4 changed files with 107 additions and 4 deletions
+2
View File
@@ -312,6 +312,8 @@ int wc_Stm32_Hash_Update(STM32_HASH_Context* stmCtx, word32 algo,
wc_Stm32_Hash_Data(stmCtx, 4);
stmCtx->fifoBytes += 4;
(void)wc_Stm32_Hash_WaitDone(stmCtx);
/* save hash state for next operation */
wc_Stm32_Hash_SaveContext(stmCtx);
}