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]>
(cherry picked from commit 0b13417)
  • Loading branch information
nasahlpa authored and vogelpi committed Feb 13, 2025
1 parent 6f8400e commit 8519f2c
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 @@ -576,11 +576,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 8519f2c

Please sign in to comment.