1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 21:48:13 +00:00
trezor-firmware/storage/tests
2019-11-11 19:47:48 +01:00
..
c all: let's use -Wno-missing-braces because clang does not respect 2019-10-11 09:59:32 +02:00
c0 storage: Add external salt parameter to unlock() and change_pin(). 2019-09-18 18:53:42 +02:00
python storage: make FLAG_PUBLIC and FLAGS_WRITE part of public API 2019-11-11 19:47:48 +01:00
tests storage: add tests 2019-04-25 16:50:56 +02:00
Makefile storage: add tests 2019-04-25 16:50:56 +02:00
README.md storage: alter README to reflect monorepo 2019-04-25 16:50:56 +02:00
test.py storage: style 2019-04-25 16:50:56 +02:00

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.