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

130 Commits

Author SHA1 Message Date
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
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
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
3747ba4323 Revert "add more precomputation to ecdsa signing"
This reverts commit 06dd166a82.
2014-07-03 01:18:00 +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
e588906f81 fix static usage 2014-06-09 13:51:31 +02:00
Pavol Rusnak
b16e36f10e rename aes_ctr_counter_inc to aes_ctr_cbuf_inc and move it to aes_modes.c 2014-06-07 14:16:27 +02:00
Pavol Rusnak
22b0dd2e62 fix warning in base58 2014-06-07 14:05:59 +02:00
Pavol Rusnak
b91bb29ae9 remove brg_endian.h brg_types.h 2014-06-07 13:58:44 +02:00
Pavol Rusnak
99900eb323 update AES code to support different modes of operation, add unittests 2014-06-07 13:38:56 +02:00
Pavol Rusnak
322c06bf7b add simple gui qt utility 2014-05-24 00:31:42 +02:00
Pavol Rusnak
5e9cd15527 use new base58 code for address functions, add function for obtaining wif 2014-05-22 22:29:53 +02:00
Pavol Rusnak
4b1211e0ae extract base58 functions to separate source file 2014-05-22 21:52:04 +02:00
Pavol Rusnak
612f5ab050 fix copyright headers 2014-05-22 20:54:58 +02:00
Pavol Rusnak
c1140e071e added deserialization 2014-05-21 00:22:48 +02:00
Pavol Rusnak
44116b8a74 make serialize api more friendly 2014-05-15 19:35:28 +02:00
Pavol Rusnak
c08bbfa58e fix last commit 2014-05-15 18:50:28 +02:00
Pavol Rusnak
c1dc507189 add hdnode serialization function 2014-05-15 17:36:23 +02:00
Pavol Rusnak
06dd166a82 add more precomputation to ecdsa signing 2014-05-15 17:11:26 +02:00
Pavol Rusnak
94d4a3733e fix typos 2014-04-11 15:33:29 +02:00
Pavol Rusnak
e827517591 add mnemonic_check function 2014-03-12 20:45:51 +01:00
Pavol Rusnak
393c298c35 add progress_callback to mnemonic/pbkdf2 functions 2014-03-11 20:14:06 +01:00
Pavol Rusnak
10c42633fc add function to retrieve mnemonic wordlist 2014-03-07 20:11:50 +01:00
Pavol Rusnak
b5ceb14f8d extract ecdsa_get_pubkeyhash 2014-02-21 23:33:14 +01:00
Pavol Rusnak
d5e1ff8be8 remove version_byte and address from bip32 2014-02-21 22:51:49 +01:00
Pavol Rusnak
8c47b572df new test to compare private and public branch of bip32 2014-02-21 20:30:22 +01:00
Pavol Rusnak
18dea22213 get rid of bip32 versions, it's a mess :( 2014-02-21 19:41:33 +01:00
Pavol Rusnak
b08d44d39e fix prefixes in internal functions as well 2014-02-19 21:42:14 +01:00
Pavol Rusnak
d0e152a088 replace SHA256/SHA512 prefix with sha256/sha512 (OpenSSL clash) 2014-02-19 21:26:42 +01:00
Pavol Rusnak
1034b28f90 use both private and public bip32 versions 2014-02-19 16:58:48 +01:00
slush0
e17e0590f5 Merge pull request #5 from jpochyla/master
Add CMake file with c++ compilation on MSVC
2014-02-17 18:50:49 +01:00
Jan Pochyla
166e19ba7c add cmake file with c++ compilation on MSVC 2014-02-17 18:49:01 +01:00