Skip to content

Commit 1b6ab01

Browse files
Merge pull request #6407 from dgarske/stm32_cleanup
Remove STM AES always true check
2 parents 9cca571 + dfbd61c commit 1b6ab01

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wolfcrypt/src/port/st/stm32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ int wc_Stm32_Hash_Update(STM32_HASH_Context* stmCtx, word32 algo,
318318
}
319319
#endif
320320

321-
if (len >= 0 && stmCtx->buffLen == chunkSz) {
321+
if (stmCtx->buffLen == chunkSz) {
322322
wc_Stm32_Hash_Data(stmCtx, stmCtx->buffLen);
323323
wroteToFifo = 1;
324324
#ifdef STM32_HASH_FIFO_WORKAROUND

0 commit comments

Comments
 (0)