This repository was archived by the owner on Mar 5, 2024. It is now read-only.
Commit 4fb05d5
Fix innocuous memset size bug in ECC test method
In one of the ECC auxiliary test methods, a buffer 'd' was being
erased with memset using a wrong buffer size (NUM_ECC_WORDS instead
of 4*NUM_ECC_WORDS). This bug was not affecting the correctness of
ECC nor any other crypto primtive. In fact, it was not affecting even
the ECC test itself since the content of such buffer was being
overwritten rigth after the erasure procedure.
This fix removes a warning triggered when compiling the code.1 parent 6a22712 commit 4fb05d5
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | | - | |
| 244 | + | |
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| |||
0 commit comments