1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-26 16:18:22 +00:00

storage: alter README to reflect monorepo

This commit is contained in:
Tomas Susanka 2019-04-25 16:45:58 +02:00
parent 3854fa38cc
commit 6657134bd8
2 changed files with 3 additions and 5 deletions

View File

@ -2,7 +2,7 @@
This repository contains the implementation of Trezor's internal storage, which is common for both trezor-mcu (Trezor One) and trezor-core (Trezor T). This README also contains a detailed description of the cryptographic design.
All tests are located in the [trezor-storage-test](https://github.com/trezor/trezor-storage-test) repository, which also includes a Python implementation to run tests against this C production version and the Python one.
All tests are located in the `tests` subdirectory, which also includes a Python implementation to run tests against this C production version and the Python one.
## Summary

View File

@ -1,12 +1,10 @@
# Trezor Storage tests
This repository contains all the necessary files to properly test Trezor's internal storage, which is implemented in the [trezor-storage](https://github.com/trezor/trezor-storage) repository.
The CI is available on the internal GitLab.
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 [trezor-storage](https://github.com/trezor/trezor-storage), however we need some other accompanying files to build it on PC.
- `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](https://hypothesis.works) for random tests.