We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d07f6e1 commit 8b7b2bfCopy full SHA for 8b7b2bf
enc_bootloader/aes.S
@@ -18,6 +18,7 @@ pointer is overwritten.
18
#include "hardware/regs/clocks.h"
19
#include "hardware/regs/sha256.h"
20
#include "hardware/regs/resets.h"
21
+#include "hardware/regs/rosc.h"
22
#include "hardware/regs/trng.h"
23
#include "hardware/rcp.h"
24
@@ -291,6 +292,8 @@ init_rstate:
291
292
mov r1,r5 @ give up and use the address of rstate_sha (which is non-zero); this can't really happen (2^{-96} probability)
293
1:
294
str r1,[r5,#rstate_lfsr-rstate_sha]
295
+ ldr r2,=ROSC_RANDOM_OFFSET+ROSC_BASE
296
+ str r1,[r2,#0]
297
CHK_COUNT 27,6
298
.if GEN_RAND_SHA
299
.if SH_JITTER
0 commit comments