1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 05:28:40 +00:00
trezor-firmware/trezorlib
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
..
messages build: remove prebuilt protobuf files 2018-07-09 13:46:18 +02:00
qt Fix Qt5/4 import strategy. 2018-10-04 17:42:59 +02:00
tests cosi: replace slow djb implementation of ed25519 with an optimized one 2018-10-12 12:58:44 +02:00
transport bridge: perform HTTP request in read, not write 2018-10-10 13:15:28 +02:00
__init__.py build: do not import trezorlib in setup.py, parse out __version__ by hand 2018-07-09 13:46:18 +02:00
_ed25519.py cosi: replace slow djb implementation of ed25519 with an optimized one 2018-10-12 12:58:44 +02:00
btc.py btc: add script_type to get_public_node 2018-09-05 15:21:11 +02:00
cardano.py trezorlib+tools: remove usage of binascii 2018-09-27 16:52:28 +02:00
ckd_public.py style: apply black/isort 2018-08-13 18:22:19 +02:00
client.py style: isort & autopep 2018-10-10 13:15:28 +02:00
coins.py decred: Return tree and version in insight api (#319) 2018-10-10 12:44:54 +02:00
cosi.py cosi: replace slow djb implementation of ed25519 with an optimized one 2018-10-12 12:58:44 +02:00
debuglink.py debuglink: allow with-block without expected_responses 2018-10-10 13:15:28 +02:00
device.py style: isort & autopep 2018-10-10 13:15:28 +02:00
ethereum.py tests: fix eip155 test 2018-09-03 14:53:53 +02:00
exceptions.py trezorlib: get rid of TextUIMixin 2018-10-10 13:15:28 +02:00
firmware.py style: uppercase hex constants to conform with black 18.9b0 style 2018-10-01 14:01:33 +02:00
lisk.py style: uppercase hex constants to conform with black 18.9b0 style 2018-10-01 14:01:33 +02:00
log.py style: apply black/isort 2018-08-13 18:22:19 +02:00
mapping.py style: apply black/isort 2018-08-13 18:22:19 +02:00
misc.py style: apply black/isort 2018-08-13 18:22:19 +02:00
nem.py trezorlib+tools: remove usage of binascii 2018-09-27 16:52:28 +02:00
ontology.py add Ontology support (#301) 2018-09-06 15:36:44 +02:00
protobuf.py style: uppercase hex constants to conform with black 18.9b0 style 2018-10-01 14:01:33 +02:00
protocol_v1.py style: apply black/isort 2018-08-13 18:22:19 +02:00
protocol_v2.py style: apply black/isort 2018-08-13 18:22:19 +02:00
ripple.py tests: ripple fix 2018-09-05 10:42:32 +02:00
stellar.py style: uppercase hex constants to conform with black 18.9b0 style 2018-10-01 14:01:33 +02:00
tezos.py added Tezos support (#302) 2018-09-10 16:40:31 +02:00
tools.py debug: improve infrastructure and expected message reporting 2018-10-10 13:15:28 +02:00
tx_api.py decred: Return tree and version in insight api (#319) 2018-10-10 12:44:54 +02:00
ui.py switch to click 7.0 2018-10-10 13:15:28 +02:00