Skip to content

Commit

Permalink
[pentest] Add otbn_busy_wait
Browse files Browse the repository at this point in the history
For english breakfast targets, we are not waiting for the otbn to be
finished. However, for the other targets, we should do this.

Signed-off-by: Pascal Nasahl <[email protected]>
  • Loading branch information
nasahlpa committed Dec 12, 2024
1 parent 2398794 commit f7840cd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions sw/device/tests/penetrationtests/firmware/lib/pentest_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -577,11 +577,11 @@ void pentest_call_and_sleep(sca_callee callee, uint32_t sleep_cycles,

wait_for_interrupt();

// #if !OT_IS_ENGLISH_BREAKFAST
// if (otbn) {
// otbn_busy_wait_for_done();
// }
// #endif
#if !OT_IS_ENGLISH_BREAKFAST
if (otbn) {
otbn_busy_wait_for_done();
}
#endif

if (sw_trigger) {
pentest_set_trigger_low();
Expand Down

0 comments on commit f7840cd

Please sign in to comment.