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

684 Commits

Author SHA1 Message Date
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
Saleem Rashid
88527dde7a bignum: Add exponent and trailing to bn_format 2017-07-27 17:55:33 +02:00
Saleem Rashid
22ebd62b85 test_check: Update bn_format tests 2017-07-27 17:55:33 +02:00
Saleem Rashid
558bc429ec bignum: Add bn_digitcount 2017-07-27 17:55:33 +02:00
Saleem Rashid
dfdb4d2d76 bip32: Fix NULL dereference for EdDSA 2017-07-25 18:33:57 +02:00
Pavol Rusnak
af06a997cb
refactor ecdsa_get_address_segwit_p2sh{,_raw} 2017-07-25 17:59:26 +02:00
Pavol Rusnak
0f471bfd61
gitignore: add attic+vscode 2017-07-25 00:14:35 +02:00
Pavol Rusnak
8d0852403c
move emscripten build to separate repository (hd-wallet/fastxpub) 2017-07-24 23:43:30 +02:00
Pavol Rusnak
c950342063
refactor hdnode_public_ckd_address_optimized 2017-07-24 22:57:20 +02:00
Pavol Rusnak
cfe8f39cd4
include options.h in address.h 2017-07-11 21:34:47 +02:00
Pavol Rusnak
f49fe75e15
fix ethereum_address_checksum implementation 2017-07-11 21:17:22 +02:00
Pavol Rusnak
ce81cc61df
add ethereum_address_checksum 2017-07-11 19:24:45 +02:00
Saleem Rashid
5331935626 ed25519-donna: Remove duplicate basepoint tables 2017-06-25 12:14:35 +02:00
Pavol Rusnak
4ad30592af
update travis notification url 2017-06-12 14:41:24 +02:00
Saleem Rashid
ba206056e7 README: Add Base32 custom alphabet support 2017-06-08 22:00:32 +02:00
Saleem Rashid
3806c6fcd3 test_check: Add Base32 lowercase RFC4648 tests 2017-06-08 22:00:32 +02:00
Saleem Rashid
a07a89a421 GCC 7.1.1 -Wimplicit-fallthrough comments
Use //-fallthrough rather than __attribute__((fallthrough))
2017-06-08 22:00:32 +02:00
Pavol Rusnak
e92f5ad907
add more info to readme 2017-06-05 17:04:11 +02:00
Pavol Rusnak
4e3ae3d69b
test_openssl: test for NIST curve too 2017-06-05 17:02:21 +02:00
Saleem Rashid
d4b5e64ba2
test_check: Add MARK_SECRET_DATA to test_ed25519_keccak 2017-06-05 16:34:52 +02:00
Saleem Rashid
d1f97d07f8
nem_test_vectors: Handle empty header column 2017-06-05 16:34:52 +02:00
Saleem Rashid
ce25dcc9fc
tests: Import NEM test vectors for ed25519_keccak 2017-06-05 16:34:52 +02:00
Saleem Rashid
dc397ff0ed
tests: Import NEM test vectors for keccak_256 2017-06-05 16:34:52 +02:00
Saleem Rashid
7fb886440e
nem_test_vectors: Initial commit 2017-06-05 16:34:52 +02:00
Saleem Rashid
accae3e7d1
bip32: Add ed25519-sha3 & ed25519-keccak 2017-06-05 16:34:52 +02:00
Saleem Rashid
4cb090169c
curves: Add ed25519-sha3 & ed25519-keccak 2017-06-05 16:34:51 +02:00
Saleem Rashid
a7947fec9b
ed25519-donna: Add ed25519-keccak 2017-06-05 16:34:51 +02:00
Saleem Rashid
e808d405a1
ed25519-donna: Add ed25519-sha3 2017-06-05 16:34:15 +02:00
Saleem Rashid
36e8ef48f1
ed25519-donna: Add ED25519_SUFFIX 2017-06-05 16:33:40 +02:00
Pavol Rusnak
406c926caa
add base32 to readme 2017-06-05 12:33:42 +02:00
Saleem Rashid
2edd17ab54 base32: Handle when char is unsigned 2017-06-05 12:32:48 +02:00
Saleem Rashid
0afb53fba2 base32: Return char* from base32_encode 2017-06-05 12:32:48 +02:00
Saleem Rashid
0912c4d215 base32: Add base32_decode family of functions 2017-06-05 12:32:48 +02:00
Saleem Rashid
c4db240e70 base32: Add base32_decoded_length 2017-06-05 12:32:48 +02:00
Saleem Rashid
b26a44a205 base32: Optimize base32_encode_character 2017-06-05 12:32:48 +02:00
Saleem Rashid
1df57c3de2 tests: Add test_base32_rfc4648 2017-06-05 12:32:48 +02:00