1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 05:28:40 +00:00
Commit Graph

7179 Commits

Author SHA1 Message Date
Pavol Rusnak
a0d73b25fe change logic of recovery 2014-07-10 18:07:38 +02:00
slush0
aec4908fd7 HidTransport raises ConnectionException when disconnected during HID session 2014-07-10 00:44:46 +02:00
slush0
706807e0b6 Removed debugging print 2014-07-10 00:02:34 +02:00
slush0
0106e6b6fb Added '?' to pinmatrix 2014-07-09 23:41:17 +02:00
Pavol Rusnak
bb73936959 use more warnings from trezor-mcu 2014-07-07 21:34:54 +02:00
Pavol Rusnak
03a8925e0f rename BN_PRINT define to USE_BN_PRINT 2014-07-07 21:24:10 +02:00
Pavol Rusnak
0fe1857513 normalize y^2 in pubkey validation
fix last commit
2014-07-07 21:11:25 +02:00
Pavol Rusnak
b9d5896174 make pubkey validation optional, extract options to separate header 2014-07-07 20:14:36 +02:00
Pavol Rusnak
0c2f9fd6f9 Merge pull request #9 from hiviah/ecdsa_pubkey_validation
ECDSA public key validation
2014-07-07 19:50:14 +02:00
Pavol Rusnak
35d0aef0d4 simplify firmware-docker-build.sh 2014-07-07 16:59:37 +02:00
Ondrej Mikle
b34516bc49 Removed unnessary point copy. 2014-07-07 16:35:53 +02:00
Ondrej Mikle
02048f88b5 Tests for public key validity check. 2014-07-07 15:13:36 +02:00
Ondrej Mikle
03fee34550 Validating of public key curve point. 2014-07-07 15:11:40 +02:00
Pavol Rusnak
2707e8aff6 move APPVER guards from includes to app code 2014-07-07 15:03:34 +02:00
Pavol Rusnak
aa27534856 Merge pull request #8 from dllaurence/linux-build
Linux build
2014-07-06 22:36:16 +02:00
Pavol Rusnak
d3505ecb46 Merge pull request #7 from hiviah/ecdsa_arithmetic_fix
Handling of special cases in ECDSA point arithmetic
2014-07-06 22:34:15 +02:00
Ondrej Mikle
7fd81a1e0c Removed superfluous bn_mod, it's done now in point_add and point_double. 2014-07-06 14:50:12 +02:00
Ondrej Mikle
323da2d434 Keep results after point_add() and point_double() inside the finite field. Simplified point_is_negative_of(). 2014-07-05 22:07:03 +02:00
Dustin Laurence
6f7bb6fb6b Add Makefile comments 2014-07-04 14:53:32 -05:00
Dustin Laurence
70da2c6be3 Add required libraries to build on Linux 2014-07-04 14:11:27 -05:00
Ondrej Mikle
d827b2c862 Account for case when point.y == 0 when doubling. 2014-07-04 17:40:35 +02:00
Ondrej Mikle
6d61cefdb3 Removed test for point equality in ecdsa_verify_digest, point_add() already handles that. 2014-07-04 15:50:29 +02:00
Ondrej Mikle
da6a09880d Handling of special cases in EC arithmetic. 2014-07-04 15:30:15 +02:00
Pavol Rusnak
82ed3f31db fix comparison of points 2014-07-04 15:07:02 +02:00
Pavol Rusnak
abf7178319 add "small" switch to makefile 2014-07-03 16:59:41 +02:00
Pavol Rusnak
eec5f7df15 fix bug in unoptimized branch of code 2014-07-03 10:16:19 +02:00
Pavol Rusnak
019d779a94 Revert "Revert "add more precomputation to ecdsa signing""
This reverts commit 3747ba4323.
2014-07-03 10:09:45 +02:00
Pavol Rusnak
df524b9f35 prepare 1.2.0 release 2014-07-03 01:20:34 +02:00
Pavol Rusnak
3747ba4323 Revert "add more precomputation to ecdsa signing"
This reverts commit 06dd166a82.
2014-07-03 01:18:00 +02:00
Pavol Rusnak
c31157fea1 print firmware fingerprint on upload 2014-07-02 22:59:12 +02:00
Pavol Rusnak
fc98712da5 add ButtonRequest_FirmwareCheck 2014-07-02 17:54:48 +02:00
Pavol Rusnak
8ee9d50eb6 leave GPIO9 floating 2014-07-01 20:29:44 +02:00
Pavol Rusnak
9ca3854146 use estimate instead of real size of tx when calculating fee warning 2014-07-01 19:48:54 +02:00
Pavol Rusnak
3308cc62a6 Merge pull request #6 from hiviah/point_at_infinity
Hashing of secp256k1 pubkey recognizes point at infinity.
2014-07-01 17:13:53 +02:00
Ondrej Mikle
0ad302ea4e Hashing of secp256k1 pubkey recognizes point at infinity. 2014-07-01 16:16:06 +02:00
Pavol Rusnak
2d2e31fa50 refactor pprint (add new inspection fields, but comment them) 2014-06-27 17:04:10 +02:00
Pavol Rusnak
849e758eb4 double the delay before buttonupdate 2014-06-26 00:26:47 +02:00
Pavol Rusnak
62e07befeb Merge pull request #1 from hiviah/docker_gpg_fix
Pin GPG key of ARM GCC repo by full fingerprint in Docker build
2014-06-25 14:33:38 +02:00
Ondrej Mikle
098ec05c5f Pin GPG key of ARM GCC repo by full fingerprint in Docker build 2014-06-25 14:25:30 +02:00
Pavol Rusnak
f59500510a pin used revisions in Dockerfile 2014-06-23 00:49:25 +02:00
slush0
62ac6593f8 Fixed docker build howto 2014-06-22 19:29:28 +02:00
Pavol Rusnak
e9fd756daa better UI for layoutSignMessage, layoutVerifyMessage and layoutCipherKeyValue 2014-06-21 00:31:44 +02:00
Pavol Rusnak
69dda6c61c fix decrypt_keyvalue 2014-06-21 00:31:16 +02:00
slush0
a6105fbcb8 Howto for deterministic builds 2014-06-20 00:19:02 +02:00
Pavol Rusnak
c97b9348ff add repo key to Dockerfile 2014-06-19 19:01:41 +02:00
Pavol Rusnak
b6b49a20f5 small changes to scripts for deterministic builds 2014-06-19 02:31:07 +02:00
Pavol Rusnak
e3d7687b7d add CFLAGS optimizations 2014-06-19 02:19:48 +02:00
slush0
92b6b8caf1 Tools for deterministic builds and firmware comparing 2014-06-19 02:09:39 +02:00
Pavol Rusnak
23bae6ec9d add Dockerfile 2014-06-19 00:31:40 +02:00
Pavol Rusnak
ea42f6af4e adapt to new opencm3 include structure 2014-06-19 00:12:31 +02:00