Test badrand in start.c
This commit is contained in:
parent
2223a42488
commit
65d7cfe584
1 changed files with 4 additions and 0 deletions
|
|
@ -93,6 +93,10 @@ void start() {
|
||||||
astatus = rtc_alarm_status();
|
astatus = rtc_alarm_status();
|
||||||
assert(astatus == 1);
|
assert(astatus == 1);
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
uint64_t rn = badrand();
|
||||||
|
assert(rn != badrand());
|
||||||
|
}
|
||||||
{
|
{
|
||||||
char buffer[128];
|
char buffer[128];
|
||||||
badrand_buf(buffer, 128);
|
badrand_buf(buffer, 128);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue