Commit Graph

62 Commits

Author SHA1 Message Date
Jan Pochyla 31e3aaa23b signtx: add UI instructions, SigningError type 2016-11-10 15:37:55 +01:00
Jan Pochyla 25ab4dd2ea signtx: clean up test 2016-11-09 12:36:44 +01:00
Pavol Rusnak b0fa0466dc
trezor.crypto.curve: implement verify_recover function for ecdsa 2016-11-08 23:52:04 +01:00
Pavol Rusnak c8eb2bf17b
trezor.crypto: prepend recid to ecdsa signatures 2016-11-08 23:10:31 +01:00
Pavol Rusnak a31dba225e
test: add test for trezor.config.wipe 2016-11-08 21:34:52 +01:00
Pavol Rusnak 32e699efdb
trezor.crypto.der: convert -> encode
small cleanup to new unit test
2016-11-08 20:25:55 +01:00
Pavol Rusnak b3bc71c481
tests: extract micropython binary to variable in run_tests.sh 2016-11-08 19:05:20 +01:00
Jan Pochyla d2c71b3a58 signtx: add first test, make it all work 2016-11-08 18:50:13 +01:00
Pavol Rusnak 9fb6e328a0
trezor.crypto: add der module 2016-11-08 16:59:08 +01:00
Pavol Rusnak 8d1109986c
trezor.crypto: curve.nist256p1 and curve.secp256k1 now sign/verify 256-bit digests, not arbitrary length messages 2016-11-08 15:38:45 +01:00
Pavol Rusnak 161bb90e03
tests: add tests for trezor.msg and trezor.ui.display 2016-11-06 17:39:30 +01:00
Pavol Rusnak 33b5436dcc
tests: move to /tests to avoid freezing 2016-11-06 17:04:25 +01:00