Commit 039368b
[crypto] Harden
As secret information is written by this function into DMEM,
randomize the write order using `random_order` to mitigate SCA.
Harden the loop against FI by checking the loop counter afterwards.
Signed-off-by: Pascal Nasahl <[email protected]>
(cherry picked from commit 3be9202)otbn_write function1 parent 72e301b commit 039368b
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
133 | 134 | | |
134 | 135 | | |
135 | 136 | | |
| |||
0 commit comments