1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-29 01:28:10 +00:00
Commit Graph

619 Commits

Author SHA1 Message Date
Saleem Rashid
764cc4c6e8 bip32: Add secp256k1-decred 2017-12-10 20:07:13 +01:00
Saleem Rashid
136c62e970 bip32: Add curve to hdnode_deserialize 2017-12-10 20:07:13 +01:00
Saleem Rashid
b41f5407cc test_check: Attribute test vectors to Monero 2017-12-10 20:07:13 +01:00
Saleem Rashid
8e725f4d3e test_openssl: Fix SHA2 name conflict 2017-12-10 20:07:13 +01:00
Peter Banik
173c62f0f3 Fixed test suite to use generic hasher functions 2017-12-10 20:07:13 +01:00
Saleem Rashid
6b813bc473 hasher: Add HASHER_BLAKE 2017-12-10 20:07:13 +01:00
Saleem Rashid
7cdbec2d11 blake256: Initial commit 2017-12-10 20:07:13 +01:00
Saleem Rashid
b41a51805f Use hasher_Raw instead of sha256_Raw 2017-12-10 20:07:13 +01:00
Saleem Rashid
a70caa3dbc hasher: Initial commit 2017-12-10 20:07:13 +01:00
Pavol Rusnak
95a522bf1a
fix typo 2017-11-03 18:52:23 +01:00
Jochen Hoenicke
f366fb81c5 Updated to latest from bech32 repository.
hrp is ASCII character, not 5 bit words
2017-11-03 18:49:19 +01:00
Jochen Hoenicke
a5653dafe7 Increased length of addresses 2017-11-03 18:49:19 +01:00
Jochen Hoenicke
506167e3f2 Bech32 (BIP173) address support 2017-11-03 18:49:19 +01:00
Saleem Rashid
56114cc0a6 nem: Add nem_transaction_create_importance_transfer 2017-10-09 00:00:02 +02:00
Saleem Rashid
9c91985674 test_check: Add nem_transaction test case 2017-09-02 01:39:09 +02:00
Saleem Rashid
3808a30381 test_check: Add test_nem_cipher 2017-09-02 01:39:09 +02:00
Saleem Rashid
ce0f3919e3 bip32: Add hdnode_nem_{en,de}crypt 2017-09-02 01:39:09 +02:00
Saleem Rashid
e1818468c7 test_check: Add test_nem_derive 2017-09-02 01:39:09 +02:00
Saleem Rashid
abda0f6504 bip32: Add hdnode_nem_get_shared_key 2017-09-02 01:39:09 +02:00
Saleem Rashid
e1a511092a nem: Add transaction serialization methods 2017-09-02 01:39:09 +02:00
Saleem Rashid
9888aab352 nem: Add nem_validate_address 2017-09-02 01:39:09 +02:00
Saleem Rashid
fd0952621e nem: Add nem_network_name 2017-09-02 01:39:09 +02:00
Saleem Rashid
501c778812 test_check: Add test_nem_address 2017-09-02 01:39:09 +02:00
Saleem Rashid
8edc0c58d3 bip32: Add hdnode_get_nem_address 2017-09-02 01:39:09 +02:00
Saleem Rashid
7c3b2d5209 options: Add NEM support 2017-09-02 01:39:09 +02:00
Jochen Hoenicke
9dfc6a4477
introduce confidential macro, mark confidential items 2017-08-16 13:38:49 +02:00
Saleem Rashid
e223861848 Makefile: Add aes/aestst to default goal 2017-08-15 12:42:14 +02:00
Saleem Rashid
c7be1c4694 gitignore: Add aestst 2017-08-15 11:15:18 +02:00
Saleem Rashid
8503bec352 Makefile: Remove obsolete comment 2017-08-14 14:39:47 +02:00
Saleem Rashid
5f6c49aebc Travis CI: Run aestst 2017-08-14 14:39:47 +02:00
Saleem Rashid
2b25724f13 aestst: Allow compilation with stricter warnings 2017-08-14 14:39:47 +02:00
Saleem Rashid
ae126e5ae8 aestst: Remove #if defined(STATIC_TABLES)
This looks like an upstream bug because aes_init() is a no-op when
STATIC_TABLES is defined.
2017-08-14 14:39:47 +02:00
Saleem Rashid
90d84ea173
test_check: Add RC4 tests 2017-08-14 00:11:48 +02:00
Saleem Rashid
cb30b58055
rc4: Initial commit 2017-08-14 00:11:43 +02:00
Saleem Rashid
cc3ab71197 CMakeLists: Copy SOURCES from Makefile 2017-08-14 00:08:48 +02:00
Saleem Rashid
3983f330cf ed25519-donna: Remove duplicate static code 2017-08-14 00:08:48 +02:00
Saleem Rashid
1caade58b3 ed25519-donna: Add ed25519_scalarmult 2017-08-14 00:08:48 +02:00
Saleem Rashid
6e51be6fe2 Add ge25519_scalarmult to ed25519-donna
This reverts commit b1bee409e7.
2017-08-14 00:08:48 +02:00
Saleem Rashid
b472f64c61 aes: Add aestst
Removed all the Windows and C++ specific parts. Fixed bug when
-DAES_N_BLOCK (changed length from 1 to AES_BLOCK_SIZE) and use new
name aes_init instead of gen_tabs when -DSTATIC_TABLES
2017-08-14 00:08:28 +02:00
Saleem Rashid
f9ab9f828b aes: Fix sequence point warning 2017-08-14 00:08:28 +02:00
Pavol Rusnak
ea30ebe393
cleanup context in ripemd160/sha3 2017-08-10 15:49:28 +02:00
Saleem Rashid
6580044196 test_check: Clean up test_bignum tests
This also tests zero
2017-07-27 21:20:43 +02:00
Saleem Rashid
85cb0b4f2c bignum: Fix bn_digitcount
bn_digitcount used to use bn_bitcount. This would give the maximum
digits, which would often be higher than the actual number. This would
result in leading zeroes in bn_format.
2017-07-27 21:20:43 +02:00
Saleem Rashid
43ea1392f2 bignum: rename bn_maxdigitcount to bn_digitcount
This reverts commit 5dbdf18b6c.
2017-07-27 21:20:43 +02:00
Pavol Rusnak
5e1a3ad6e0
tests: add more tests for bn_format{,_uint64} 2017-07-27 19:57:04 +02:00
Pavol Rusnak
ea7e1b860d
test: reorder function in source 2017-07-27 19:28:00 +02:00
Pavol Rusnak
5dbdf18b6c
bignum: rename bn_digitcount to bn_maxdigitcount (can return value one higher than the real result) 2017-07-27 19:21:56 +02:00
Pavol Rusnak
fd78df0e57
test: add more tests for bitcount and digitcount 2017-07-27 18:43:26 +02:00
Saleem Rashid
66993f9e92 bignum: Add bn_format_uint64 2017-07-27 17:55:33 +02:00
Saleem Rashid
da586bb37a test_check: Add more bn_format tests 2017-07-27 17:55:33 +02:00