1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-24 23:38:09 +00:00
Commit Graph

26 Commits

Author SHA1 Message Date
Saleem Rashid
6580044196 test_check: Clean up test_bignum tests
This also tests zero
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
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
Pavol Rusnak
af06a997cb
refactor ecdsa_get_address_segwit_p2sh{,_raw} 2017-07-25 17:59:26 +02:00
Pavol Rusnak
c950342063
refactor hdnode_public_ckd_address_optimized 2017-07-24 22:57:20 +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
3806c6fcd3 test_check: Add Base32 lowercase RFC4648 tests 2017-06-08 22:00:32 +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
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
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
1df57c3de2 tests: Add test_base32_rfc4648 2017-06-05 12:32:48 +02:00
Saleem Rashid
3d6c726bc4 test_check: Move UNMARK_SECRET_DATA in test_ed25519_cosi 2017-06-05 12:16:54 +02:00
Saleem Rashid
5f7d34a506 test_check: Document UNMARK_SECRET_DATA further 2017-06-05 12:16:54 +02:00
Saleem Rashid
9da2e2440a test_check: Add MARK_SECRET_DATA to test_ed25519{,_cosi} 2017-06-05 12:16:54 +02:00
Pavol Rusnak
edb31b89a8
remove test_{sign,verify}_speed from tests.c, rename tests to test_check.c, rework test_speed 2017-06-04 00:35:19 +02:00