lowRISC / lowRISC/ot-sca

[capture] Change PRNG for on-device test data generation (TVLA)

Open
#199 2 comments 0 reactions 1 assignee View on GitHub

@vrozic is already working on this.

Since Oct 30, 2023.

Priority:P1
Dominant language
Jupyter Notebook
Stars
43
Forks
34
PR merge metrics
No merged PRs in 30d

Description

We currently use Python `random` host-side and an implementation of the same Mersenne twister on device side.
- There is a danger of the Python class changing.
- This is not precisely in line with the definition of [TVLA](https://www.rambus.com/wp-content/uploads/2015/08/TVLA-DTR-with-AES.pdf).
- Using something like AES to generate random data is very straightforward / comprehensible.

We could replace it by a SW implementation of AES to generate the data on-device.

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.