ot-sca icon indicating copy to clipboard operation
ot-sca copied to clipboard

[fi/otp] Add OTP data read test to FI framework

Open wettermo opened this issue 1 year ago • 0 comments

This PR adds code for FI pen-testing the OTP module.

The test sequence can be summarized in the following way:

  1. Read content from a selected OTP partition for comparison values
  2. Perform fault injection on nop instructions
  3. Read content from the same OTP partition again
  4. Compare output with previous output and check if values differ

The OTP partition to read can be selected through the "which_test" parameter in the config file. The corresponding PR in lowRISC/opentitan is https://github.com/lowRISC/opentitan/pull/23156

wettermo avatar May 16 '24 13:05 wettermo