Skip to content

Commit 9bc0e31

Browse files
author
Lealem Amedie
committed
Fix for AES CTR on STM32
1 parent 08b42b7 commit 9bc0e31

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wolfcrypt/src/aes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6151,7 +6151,7 @@ int wc_AesCbcEncrypt(Aes* aes, byte* out, const byte* in, word32 sz)
61516151
return BAD_FUNC_ARG;
61526152
}
61536153

6154-
return wc_AesSetKeyLocal(aes, key, len, iv, dir, 0);
6154+
return wc_AesSetKey(aes, key, len, iv, dir);
61556155
}
61566156

61576157
#endif /* NEED_AES_CTR_SOFT */

0 commit comments

Comments
 (0)