1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-30 03:18:20 +00:00
Commit Graph

7270 Commits

Author SHA1 Message Date
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
Pavol Rusnak
7305a77f3e make test_255_outputs more general and rename to test_lots_of_outputs
new test test_lots_of_inputs
2014-06-18 17:14:04 +02:00
Pavol Rusnak
add928373f detect absolute path to Makefile.include automagically 2014-06-18 11:54:54 +02:00
Pavol Rusnak
19f6540a44 Merge pull request #3 from timthelion/patch-1
Delete repeated heading in readme
2014-06-18 01:10:56 +02:00
Timothy Hobbs
8b7575eeb3 Delete repeated heading in readme 2014-06-17 21:47:25 +00:00
Pavol Rusnak
441bb3b513 implement ClearSession 2014-06-17 16:03:07 +02:00
Pavol Rusnak
d46bdf2f6e reenable TestDebugLink.test_layout 2014-06-17 16:02:21 +02:00
Pavol Rusnak
260a4322a6 add ClearSession message with unit test 2014-06-17 15:31:10 +02:00
Pavol Rusnak
bf7b99fd28 add ClearSession message 2014-06-17 13:32:42 +02:00
Pavol Rusnak
a3d22dc56e add tests for EncryptMessage/DecryptMessage 2014-06-16 17:16:15 +02:00