1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-26 00:08:10 +00:00
trezor-firmware/trezorlib/tests/unit_tests
matejcik ba365b5486 cosi: replace slow djb implementation of ed25519 with an optimized one
from https://github.com/pyca/ed25519

This makes the calculations several orders of magnitude faster, which
allows us to run the CoSi test in Travis. It also doesn't stop firmware
update for several seconds while we validate the CoSi signatures.

It's still essentially the same insecure implementation, fallible to all
the same timing attacks, and it shouldn't be used for anything except
validating public signatures of public data. But now it also takes about
as much time as it should on modern hardware.
2018-10-12 12:58:44 +02:00
..
__init__.py tests: Move to trezorlib.tests 2017-12-19 13:16:22 +01:00
test_ckd_public.py style: apply black/isort 2018-08-13 18:22:19 +02:00
test_cosi.py cosi: replace slow djb implementation of ed25519 with an optimized one 2018-10-12 12:58:44 +02:00
test_nem.py tests: remove usage of binascii 2018-09-27 16:52:28 +02:00
test_protobuf.py style: uppercase hex constants to conform with black 18.9b0 style 2018-10-01 14:01:33 +02:00
test_stellar.py style: apply black/isort 2018-08-13 18:22:19 +02:00
test_transport.py tests: use stdlib mock instead of the third-party one 2018-10-10 13:15:28 +02:00
test_tx_api.py tests: remove usage of binascii 2018-09-27 16:52:28 +02:00