Pavol Rusnak
5430c82b2b
use the latest ubuntu lts in docker build
2016-05-08 14:26:21 +02:00
Pavol Rusnak
7097d1aed6
update setup.py to also accept protobuf 3.x
2016-05-05 20:33:49 +02:00
Jochen Hoenicke
5b62fe32da
Test program that signs big transaction
2016-05-02 21:03:01 +02:00
Jochen Hoenicke
aa3392fa7c
SegWit support
2016-05-01 14:21:20 +02:00
Jochen Hoenicke
ead2781aff
added --curve argument for get_public_node
2016-05-01 14:19:30 +02:00
Pavol Rusnak
242a5de275
simplify pbkdf2 (support only klen == hashlen) and split it
2016-05-01 01:18:50 +02:00
slush0
0341e6f724
Removed unused imports
2016-04-30 02:37:46 +02:00
slush0
413ed2259a
Added UDP Socket transport
2016-04-30 02:37:18 +02:00
Pavol Rusnak
5580305b9f
Merge pull request #84 from jhoenicke/master
...
fix compilation
2016-04-29 22:44:10 +02:00
Jochen Hoenicke
8be6956ce9
fix compilation
...
updated coins datastructure to include the new fields
2016-04-29 22:36:43 +02:00
Pavol Rusnak
a5feab0175
update submodules
2016-04-29 17:52:16 +02:00
Pavol Rusnak
b8ec5567ba
undef align for ed25519-donna
2016-04-29 17:50:20 +02:00
Pavol Rusnak
f5ea14a85f
fix bugs in debug
2016-04-29 17:06:21 +02:00
Jochen Hoenicke
6218770e26
Script to generate key and certificate
2016-04-29 16:20:54 +02:00
Jochen Hoenicke
c1ff9e1ec7
Use more sensible hid descriptor.
2016-04-29 16:20:54 +02:00
Jochen Hoenicke
2abe5d477e
Clean-up. Better checks for buffer overflow.
2016-04-29 16:20:54 +02:00
Jochen Hoenicke
5c13e78deb
Added support for known appid.
2016-04-29 16:20:54 +02:00
Jochen Hoenicke
b3bfc64d2f
Use hmac for checking key integrity
2016-04-29 16:20:54 +02:00
Jochen Hoenicke
01ddb3ff66
Reduced buffer sizes, moved static info to flash
2016-04-29 16:20:54 +02:00
Jochen Hoenicke
1b8bd1852e
Adapted U2F to new hdnode API
2016-04-29 16:20:54 +02:00
Jochen Hoenicke
cf38291ca4
Updated branch u2f
2016-04-29 16:19:54 +02:00
Pavol Rusnak
1f3369788a
use __asm__ instead of asm
2016-04-29 16:10:41 +02:00
Pavol Rusnak
b3aabec565
add -std=c99 to Makefile
2016-04-28 14:37:05 +02:00
Pavol Rusnak
406022acb4
remove tools/Makefile
2016-04-28 14:36:04 +02:00
Pavol Rusnak
f7e8c9442d
Merge pull request #58 from jhoenicke/master
...
Handle b58 address with shorter lengths
2016-04-27 23:40:45 +02:00
Pavol Rusnak
d9ec4344fc
use std=c99
2016-04-27 23:37:15 +02:00
Pavol Rusnak
8c6401bdef
Merge pull request #10 from jhoenicke/master
...
new address types for segwit
2016-04-27 23:23:16 +02:00
Jochen Hoenicke
81132bb1d4
new address types for segwit
2016-04-27 23:17:56 +02:00
Jochen Hoenicke
c6e7d376b7
Handle b58 address with shorter lengths
2016-04-27 23:15:53 +02:00
Jochen Hoenicke
630e26dd20
use less stack memory in storage_commit
2016-04-27 19:23:02 +02:00
Jochen Hoenicke
da98a3a6fd
Don't reflash storage after each PIN entry
...
Instead of reflashing the whole storage, we use a designated area
in the second storage block, where we mark each PIN failure by a
single zero bit. This is because one can set bits in flash to zero but
not to one. If the PIN was entered successfully the whole word is
set to zero and the next word stores the new PIN failure counter.
2016-04-27 18:39:04 +02:00
Pavol Rusnak
d41e46f842
Merge pull request #81 from jhoenicke/master
...
Move public key recovery (verify) to trezor-crypto
2016-04-27 18:22:11 +02:00
Jochen Hoenicke
e0539f8f8b
Move public key recovery (verify) to trezor-crypto
2016-04-27 18:10:21 +02:00
Pavol Rusnak
489f09a843
fix sizeof usage
2016-04-26 19:51:49 +02:00
Pavol Rusnak
08219ea77a
pbkdf2 now uses new hmac api
2016-04-26 17:43:13 +02:00
Pavol Rusnak
445e859450
split hmac into init/update/final
2016-04-26 17:19:00 +02:00
Pavol Rusnak
5e5138066a
adapt the reorder of hash_final functions
2016-04-26 11:53:58 +02:00
Pavol Rusnak
ed6debf8c4
reorder parameters of hash_final methods
2016-04-26 11:50:04 +02:00
Pavol Rusnak
c01be339f5
add sha3 from rhash
2016-04-26 11:09:29 +02:00
Pavol Rusnak
76142522e9
mention Ed25519 in the readme
2016-04-26 02:15:43 +02:00
Pavol Rusnak
5c4e131ada
add speed benchmark (secp256k1 vs ed25519)
2016-04-26 02:15:07 +02:00
Pavol Rusnak
91c64858d0
Merge pull request #57 from jhoenicke/master
...
Added Unit test, fixed one corner case.
2016-04-26 01:03:46 +02:00
Pavol Rusnak
0054893b60
add test speed for nist256p1 curve as well
2016-04-26 00:17:45 +02:00
Pavol Rusnak
b8539a6972
fix wording
2016-04-25 23:46:36 +02:00
Pavol Rusnak
035a6e754f
fix last commit
2016-04-25 23:40:24 +02:00
Pavol Rusnak
9e8c369f93
show address in verifymessage layout
2016-04-25 23:03:57 +02:00
Jochen Hoenicke
7b07dff25c
Added Unit test, fixed one corner case.
2016-04-25 22:55:30 +02:00
Pavol Rusnak
2002c815ff
Merge pull request #56 from jhoenicke/master
...
New function ecdsa_verify_recover
2016-04-25 18:39:13 +02:00
Jochen Hoenicke
409783ba64
New function ecdsa_verify_recover
...
Moved the code from Trezor firmware to here for recovering the public key
when verifying a bitcoin message. Fixed the signing and verification for
the unlikely case the r value overflows.
2016-04-25 18:02:24 +02:00
Jochen Hoenicke
a90257c422
Updated mktable to new api
2016-04-25 17:51:10 +02:00