1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-27 00:28:10 +00:00
Commit Graph

10941 Commits

Author SHA1 Message Date
John Dvorak
85cebfe968 Change return value of ecdsa_sign_digest
Error codes were not being propagated, always returned as 0.
2015-06-18 09:55:12 -04:00
Pavol Rusnak
e14363eb99 add CipherKeyValue.iv field (optional initialization vector) 2015-06-17 13:57:19 +02:00
Pavol Rusnak
d8f3a47eaf cleanup and release 0.6.5 2015-06-03 16:47:01 +02:00
Pavol Rusnak
05bdc56a8b release 0.6.4 2015-06-03 14:54:13 +02:00
Pavol Rusnak
16c07561b5 don't assign tx_api when not needed 2015-06-03 14:53:53 +02:00
Pavol Rusnak
b4728e6cf9 Merge pull request #27 from jhoenicke/master
New usbDelay that delays and handles USB requests
2015-05-25 10:57:40 +02:00
Pavol Rusnak
02040421cb fix param order in memset 2015-05-18 13:37:44 +02:00
Pavol Rusnak
83b1b86f95 Update hashbang to use /usr/bin/env python 2015-05-13 10:23:02 +02:00
Pavol Rusnak
99f58ac25d Merge pull request #37 from mdance/master
Update hashbang to use /usr/bin/env python
2015-05-13 10:22:02 +02:00
Michael Dance
d995059656 Update hashbang to use /usr/bin/env python 2015-05-13 11:55:39 +12:00
slush0
591ac01b75 Merge pull request #36 from mdance/patch-2
Update hashbang to use /usr/bin/env python in helloworld.py
2015-05-12 17:48:50 +02:00
Pavol Rusnak
7dc8b6aa8f Merge pull request #35 from mdance/patch-1
Update hashbang to use /usr/bin/env python
2015-05-12 16:37:25 +02:00
Michael Dance
c28bf68740 Update hashbang to use /usr/bin/env python
Please use the /usr/bin/env python hashbang in order to properly detect alternative python installations (like those installed through homebrew on a mac).
2015-05-13 02:36:56 +12:00
Michael Dance
dae4424fca Update hashbang to use /usr/bin/env python
Please use the /usr/bin/env python hashbang in order to properly detect alternative python installations (like those installed through homebrew on a mac).
2015-05-13 02:35:48 +12:00
Pavol Rusnak
c58d4e03c5 add proof of concept bip39 bruteforce benchmark 2015-05-11 14:24:45 +02:00
Pavol Rusnak
90678eec73 use 51 prefix for udev (same as trezord) 2015-05-11 09:16:45 +02:00
Pavol Rusnak
04bc56e048 Merge pull request #34 from jhoenicke/master
insight api: use hex code
2015-05-10 16:41:12 +02:00
Jochen Hoenicke
337fe029fd insight api: use hex code
The insight api transaction parser used to look at the assembly to
reconstruct the input and output scripts.  This patch changes it to
use the hex input directly.  This fixes parsing some instructions with
unknown opcodes (e.g. multisig inputs with "0" opcode).
2015-05-10 16:11:03 +02:00
Pavol Rusnak
bf539f0b47 split xprv unit test into two 2015-05-07 21:16:43 +02:00
Pavol Rusnak
72f2f5ced6 Merge pull request #29 from dstanchfield/master
fixed salt passing to pbkdf2_hmac_sha512
2015-05-07 18:41:32 +02:00
Pavol Rusnak
fdbdb527dc add test for encrypted xprv 2015-05-07 18:29:38 +02:00
Pavol Rusnak
e2a8f08581 add local version of filecache (used just for unittests), cache globally (to tmpdir) 2015-05-07 18:29:38 +02:00
Pavol Rusnak
17f3942f77 remove images 2015-05-07 18:29:38 +02:00
Pavol Rusnak
9954514c76 Merge pull request #33 from jhoenicke/master
Don't spam the usb.
2015-05-07 17:51:53 +02:00
Darin Stanchfield
e99aafd949 fixed salt passing to pbkdf2_hmac_sha512 2015-05-05 12:01:34 -07:00
Pavol Rusnak
00954da5fe fix /dev/urandom problem 2015-05-04 19:53:06 +02:00
Pavol Rusnak
ffedf8a4d0 suppress warning when debug is disabled 2015-05-04 19:40:15 +02:00
Pavol Rusnak
7af050febb no need for bignum.small.o as there is no difference anymore 2015-04-30 01:35:49 +02:00
Jochen Hoenicke
6cedf149d2 Don't spam the usb.
The connected logic was flawed.  After 10 s it would continuously
check if the device is still connected.  Now, we reset the timer
after every check.
2015-04-29 19:31:48 +02:00
Jochen Hoenicke
218b9984bb New usbDelay that delays and handles USB requests
Added usbDelay that polls usb port (for system requests) while delaying.
This is called instead of delay in the button and pin delay functions.
Experimental evaluation gave that the cycle count should be roughly divided
by 28.5.
2015-04-29 19:10:48 +02:00
Pavol Rusnak
b56cf9246b fix last commit 2015-04-28 21:20:51 +02:00
Pavol Rusnak
ae5bd43702 Merge pull request #26 from hno/patches/versioned_output
Put firmware files in output/ and name them with the tag built
2015-04-28 21:17:20 +02:00
Karel Bilek
55fa04c247 moving number back to 51 2015-04-27 19:40:45 +02:00
Karel Bilek
186a4dfdc6 Adding udev packaging 2015-04-27 19:15:56 +02:00
Henrik Nordstrom
6c40522291 Put firmware files in output/ and name them with the tag built 2015-04-17 09:02:18 +02:00
Pavol Rusnak
7d8fb375f0 seconds counter during pin lockdown 2015-04-16 18:16:30 +02:00
slush0
47fa2c0741 Added Coinprism, Bitex.la 2015-04-16 11:17:19 +02:00
Pavol Rusnak
2abe8d9879 fix udev rule location in description 2015-04-14 15:45:35 +02:00
Pavol Rusnak
d03f618c2f make udev rules filename consistent with the trezord package 2015-04-14 15:38:25 +02:00
Pavol Rusnak
1501ca2f67 activate screensaver on ClearSession message 2015-04-13 19:52:38 +02:00
Pavol Rusnak
ea7e92f5dd make gears turn faster when signing 2015-04-13 18:53:58 +02:00
Pavol Rusnak
21d0bb437a cleanup coding style 2015-04-13 18:19:33 +02:00
Pavol Rusnak
6ec585fcee Merge pull request #29 from netanelkl/master
Code Security change
2015-04-13 17:56:32 +02:00
Pavol Rusnak
f1b8f55d92 use curly braces in if block 2015-04-11 20:01:45 +02:00
Pavol Rusnak
99f01a9391 Merge pull request #30 from jhoenicke/master
Added more tests for new multiplications
2015-04-11 19:59:31 +02:00
Jochen Hoenicke
c90f79bce2 Added new tests for point multiplication 2015-04-11 13:12:03 +02:00
Jochen Hoenicke
e432d772c7 Program to precompute the table for scalar_mult
This program pre-computes the table and prints then in the form
that can be included in secp256k1.c
2015-04-11 13:12:03 +02:00
slush0
2f2ffd5239 Minor fixes of firmware_update 2015-04-09 21:13:35 +02:00
netanelkl
3fd32df8ed More of the same. 2015-04-09 15:05:28 -04:00
netanelkl
70dc71c87e Some more stack memory wipe before leaving functions.
Note that I preferred to change the multiple returns to multiple checks
of a boolean to concentrate the erase into the last part of the
functions.
2015-04-09 14:17:47 -04:00