Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
johannheyszl opened this issue Oct 23, 2023 · 2 comments
Open
Assignees

Comments

@johannheyszl
Copy link
Collaborator

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.
  • 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.

@vrozic vrozic self-assigned this Oct 30, 2023
@vrozic
Copy link
Contributor

vrozic commented Nov 14, 2023

OT PR #20238 partially addressed this issue.
It adds AES SW implementation and changes the batch-capture commands to use AES generated data as defined in TVLA Derived Test Requirements.

After merging this, my plan to update the binaries and modify the capture scripts.

@m-temp
Copy link
Collaborator

m-temp commented Nov 27, 2023

The kmac script also depends on the random function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants