1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-04 21:48:17 +00:00
Commit Graph

14091 Commits

Author SHA1 Message Date
Pavol Rusnak
6414765316 expand gitignore 2014-07-21 17:54:15 +02:00
Pavol Rusnak
f167569e1d sample.key is now "correct horse battery staple" key 2014-07-18 17:15:12 +02:00
Pavol Rusnak
5315f490a0 don't use AES_NI nor VIA_ACE 2014-07-17 20:15:14 +02:00
Pavol Rusnak
cb39ab7b6d new trezor-crypto, uint32_t -> size_t 2014-07-17 19:58:19 +02:00
Pavol Rusnak
ffd2d69dd6 Merge pull request #12 from dllaurence/optional-tests
Make test build optional in CMake
2014-07-17 19:56:36 +02:00
Dustin Laurence
6cd85668a3 Make test build optional in CMake 2014-07-17 12:51:00 -05:00
Pavol Rusnak
7570ea8c0c update CMakeLists.txt 2014-07-17 16:59:14 +02:00
Pavol Rusnak
24beac2cc0 Merge pull request #11 from dllaurence/cmake-tests
Make CMakeLists.txt build tests
2014-07-17 16:38:39 +02:00
Pavol Rusnak
8f38acd48f Merge pull request #10 from dllaurence/fread-return
Test fread return value
2014-07-17 16:37:42 +02:00
Dustin Laurence
e0b083a0b0 Make CMakeLists.txt build tests 2014-07-16 13:41:29 -05:00
Dustin Laurence
3329b6b6aa Test fread return value 2014-07-16 08:06:15 -05:00
Pavol Rusnak
ea4d99cfee change recovery logic 2014-07-10 18:11:44 +02:00
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