1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 13:38:12 +00:00
Commit Graph

7 Commits

Author SHA1 Message Date
Tomas Susanka
1105ba2039 Revert "style"
This reverts commit e52ec86846.
2019-02-18 20:43:08 +01:00
Tomas Susanka
e52ec86846 style 2019-02-18 17:27:10 +01:00
matejcik
f236eb9cf2 flake8: add typing imports where missing
also remove autoflake workarounds from some files, apparently newer
autoflake can recognize them properly
2019-01-31 15:41:25 +01:00
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
matejcik
3d3e9b67b4 style: apply black/isort 2018-08-13 18:22:19 +02:00
matejcik
0e8fe9e743 ed25519: type hints 2018-05-28 14:17:11 +02:00
matejcik
886e269e2f trezorlib: mark ed25519 impl as private 2018-05-25 13:07:02 +02:00