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

9008 Commits

Author SHA1 Message Date
Pavol Rusnak
e4d86a49ab rework SignIdentity signing 2015-07-04 23:40:55 +02:00
Roman Zeyde
104369d97b firmware-docker-build: revert branch and repository 2015-07-04 14:49:30 +03:00
Pavol Rusnak
eaf209d999 implement CipherKeyValue.iv field 2015-06-29 16:36:50 +02:00
Pavol Rusnak
551741c67a update submodules 2015-06-28 21:28:00 +02:00
Pavol Rusnak
d488366e36 Merge branch 'master' of git://github.com/romanz/trezor-mcu into romanz-master
Conflicts:
	firmware/crypto.c
2015-06-28 21:26:15 +02:00
Pavol Rusnak
71c24673ce Merge branch 'ssh-agent' of git://github.com/romanz/trezor-crypto into romanz-ssh-agent
Conflicts:
	ecdsa.c
2015-06-28 21:22:50 +02:00
Pavol Rusnak
82a66c2764 Merge pull request #32 from romanz/ssh-agent
enable Trezor to perform SSH public key authentication
2015-06-28 21:15:58 +02:00
Pavol Rusnak
6f975532c0 Merge pull request #38 from romanz/ssh-agent
update protobuf with ECDSA curve selection
2015-06-28 21:09:33 +02:00
Pavol Rusnak
d334bbf740 Merge pull request #6 from romanz/ssh-agent
add ECDSA curve name specification (for SSH authentication)
2015-06-28 21:08:01 +02:00
Pavol Rusnak
36caf5b33a Merge pull request #35 from romanz/master
ecdsa: generate_k_rfc6979() should cleanup its stack before exit
2015-06-28 21:01:57 +02:00
Roman Zeyde
381f90b38a cryptoMessageSign() should check the return value of ecdsa_sign_digest() 2015-06-27 10:20:19 +03:00
Roman Zeyde
36847ac0d7 ecdsa: generate_k_rfc6979() should cleanup its stack before exit 2015-06-27 10:08:18 +03:00
Roman Zeyde
0ac032917b enable Trezor to perform SSH public key authentication
support both NIST256P1 and SECP256K1 ECDSA curves.
2015-06-26 10:43:39 +03:00
Roman Zeyde
7c58fc11a4 Add support for NIST256P1 elliptic curve
This enables SSH ECDSA public key authentication.
2015-06-26 10:33:14 +03:00
Roman Zeyde
b155b83ca5 update protobuf with ECDSA curve selection 2015-06-23 17:26:31 +03:00
Roman Zeyde
12288143f5 add ECDSA curve name specification (for SSH authentication) 2015-06-23 14:40:58 +03:00
Pavol Rusnak
0983c6c456 Merge pull request #34 from JohnDvorak/patch-1
Change return value of ecdsa_sign_digest
2015-06-18 15:58:12 +02:00
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