1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-25 07:48:10 +00:00
trezor-firmware/trezorlib/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
..
device_tests tests: refactor test_msg_resetdevice_skipbackup 2018-10-11 17:26:20 +02:00
support style: apply black/isort 2018-08-13 18:22:19 +02:00
txcache tx_api: update to assume "/api" path again, let blockHash request be 2018-09-03 14:59:29 +02:00
unit_tests cosi: replace slow djb implementation of ed25519 with an optimized one 2018-10-12 12:58:44 +02:00
__init__.py tests: Move to trezorlib.tests 2017-12-19 13:16:22 +01:00