Commit 8f1a429
[crypto] Check LOAD_CHECKSUM when writing into DMEM
OTBN offers the feature to read back the checksum when writing
data into memory.
This commit extends the `otbn_dmem_write` function such that
we compare the checksum computed by OTBN after writing to its
memory to an expected checksum we compute on the fly.
Signed-off-by: Pascal Nasahl <[email protected]>
(cherry picked from commit 98c92ec)1 parent 039368b commit 8f1a429
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
134 | 133 | | |
135 | 134 | | |
136 | 135 | | |
| |||
143 | 142 | | |
144 | 143 | | |
145 | 144 | | |
146 | | - | |
| 145 | + | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
| 167 | + | |
167 | 168 | | |
168 | 169 | | |
169 | 170 | | |
| |||
0 commit comments