lowRISC / lowRISC/opentitan

[sw] Flash secure erase and guidance

Open
#17,031 6 comments 0 reactions 2 assignees View on GitHub

@moidx is already working on this.

Since Jan 12, 2023.

Component:Doc Component:Security SW:cryptolib
Dominant language
SystemVerilog
Stars
3.6k
Forks
1.1k
Avg merge
2d 22h
Merged PRs (30d)
141

Description

### Description

There may be a software need to implement a "secure" erase.
This is an erase that is multi-pass where after the data is erased a random value is then written.

It should also be well defined when such an erase should be used, since uncontrolled usage of such a feature may degrade flash endurance.

Some examples of when we would use this is when sensitive data is wiped, such as keys, owners data during ownership transfers.

There is no hardware change request with this, but it does need to be documented somewhere as guidance.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.