You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trezor-firmware/storage/tests
tychovrahe ed6aa48726
feat(core): use confidential section for confidential and sensitive data
1 month ago
..
c feat(core): use confidential section for confidential and sensitive data 1 month ago
c0 test(storage): workaround clang error 1 year ago
c3 feat(storage): return enum values instead of strings, so that they are translatable 1 month ago
python feat(storage): implemented more effective pin logs for blockwise storage 3 months ago
tests test(storage): add upgrade test from version 3 3 months ago
Makefile test(storage): add upgrade test from version 3 3 months ago
README.md storage: alter README to reflect monorepo 5 years ago
test.py style(storage): apply isort 5 9 months ago

README.md

Trezor Storage tests

This repository contains all the necessary files to properly test Trezor's internal storage.

This repository consists of:

  • c: The actual C version is implemented in the main storage folder, however we need some other accompanying files to build it on computer.
  • c0: This is the older version of Trezor storage. It is used to test upgrades from the older format to the newer one.
  • python: Python version. Serves as a reference implementation and is implemented purely for the goal of properly testing the C version.
  • tests: Most of the tests run the two implementations against each other. Uses Pytest and hypothesis for random tests.