1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-30 03:18:20 +00:00
trezor-firmware/storage/tests
2024-07-09 16:52:50 +02:00
..
c feat(core): Account for Optiga throttling delay in PIN countdown. 2024-07-09 16:52:50 +02:00
c0
c3 refactor(core): optimize assert/fatal_error for reduced flash footprint 2024-06-17 16:57:33 +02:00
python feat(storage): Do not lock freshly initialized storage. 2024-07-09 16:52:50 +02:00
tests feat(storage): Do not lock freshly initialized storage. 2024-07-09 16:52:50 +02:00
Makefile
README.md
test.py

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.