Ondřej Vejpustek
|
15bb085509
|
refactor(core,crypto): make public key derivation functions return
status
|
2021-10-25 14:41:28 +02:00 |
|
Ondřej Vejpustek
|
172f399b29
|
style(core): fix style
|
2021-10-25 14:41:28 +02:00 |
|
Ondřej Vejpustek
|
7ac0bdd215
|
feat(core): make core use Schnorr signatures
|
2021-10-25 14:41:28 +02:00 |
|
Ondřej Vejpustek
|
26463eb3ce
|
feat(core): make core use ecdsa from secp256k1_zkp wherever possible
|
2021-10-25 14:41:28 +02:00 |
|
Ondřej Vejpustek
|
61143edb4d
|
test(crypto): add tests for Schnorr signatures
|
2021-10-25 14:41:28 +02:00 |
|
Ondřej Vejpustek
|
1dad7fe7c5
|
feat(crypto): add wrapers for BIP-340 compatible Schnorr signatures from secp256k1_zkp
|
2021-10-25 14:41:28 +02:00 |
|
Ondřej Vejpustek
|
f2459e335d
|
test(crypto): add tests for get_public_key{33,65}
|
2021-10-25 14:41:28 +02:00 |
|
Ondřej Vejpustek
|
79153135b7
|
test(crypto): add ecdsa tests for secp256k1_zkp
|
2021-10-25 14:41:28 +02:00 |
|
Ondřej Vejpustek
|
aca37e5eb2
|
refactor(crypto): make helper function for ecdsa_recover_pub_from_sig and
ecdsa_verify_digest
|
2021-10-25 14:41:28 +02:00 |
|
Ondřej Vejpustek
|
3cd2e89fbc
|
refactor(crypto): split test_ecdsa_signature into two tests
|
2021-10-25 14:41:28 +02:00 |
|
Ondřej Vejpustek
|
d2f8f4b021
|
feat(crypto): add wrappers for ecdsa from secp256k1_zkp
|
2021-10-25 14:41:28 +02:00 |
|
Ondřej Vejpustek
|
75e61da70b
|
feat(crypto): implement randomizable secp256k1_zkp context
|
2021-10-25 14:41:28 +02:00 |
|
Ondřej Vejpustek
|
6bee78af19
|
feat(crypto): compile crypto with secp256k1_zkp
|
2021-10-25 14:41:28 +02:00 |
|
Pavol Rusnak
|
9e0cfa6783
|
fix(core): we don't need separate linker script for zkp
|
2021-10-25 14:41:28 +02:00 |
|
Pavol Rusnak
|
d505edaaa0
|
fix(core): set ECMULT_GEN_PREC_BITS = 4 for secp256k1_zkp
the setting configures size of precomputed static context
size = 64 * (1 << ECMULT_GEN_PREC_BITS) * (256 / ECMULT_GEN_PREC_BITS)
for ECMULT_GEN_PREC_BITS == 2 the size is 64 * 512 == 32 KB
for ECMULT_GEN_PREC_BITS == 4 the size is 64 * 1024 == 64 KB
for ECMULT_GEN_PREC_BITS == 8 the size is 64 * 8192 == 512 KB
|
2021-10-25 14:41:28 +02:00 |
|
Pavol Rusnak
|
0d6bc43fd5
|
feat(core): enable secp256k1-zkp
|
2021-10-25 14:41:28 +02:00 |
|
Pavol Rusnak
|
47e17aab4d
|
fix(core): fix build on aarch64
by adding nlraarch64.c to SConscript.unix
|
2021-10-22 14:15:21 +02:00 |
|
Martin Milata
|
3882b89be9
|
fix(core/ethereum): ask before showing paginated data field
|
2021-10-19 17:13:28 +02:00 |
|
Martin Milata
|
e6c42b7fa6
|
fix(core/ui): fix off-by-one in in_area
|
2021-10-19 17:13:28 +02:00 |
|
Martin Milata
|
8eb4bcff29
|
feat(core/ui): allow text without header
|
2021-10-19 17:13:28 +02:00 |
|
David Misiak
|
13c4fb97df
|
fix(cardano): forbid multisig pool registration [no changelog]
|
2021-10-19 15:25:39 +02:00 |
|
Andrew Kozlik
|
13cbb59082
|
feat(common): Add script_pubkey field to TxInput message.
|
2021-10-18 19:58:56 +02:00 |
|
Andrew Kozlik
|
926365b64e
|
fix(legacy): Fix compile-time check of maximum protobuf message size.
|
2021-10-18 16:31:40 +02:00 |
|
Andrew Kozlik
|
dfd98c5164
|
feat(tests): Test send to taproot.
|
2021-10-18 13:36:05 +02:00 |
|
Andrew Kozlik
|
9d03112846
|
feat(core): Implement sending to taproot addresses.
|
2021-10-18 13:36:05 +02:00 |
|
Pavol Rusnak
|
ea0fb08fed
|
feat(core): add witness version to encode_bech32_address()
|
2021-10-18 13:36:05 +02:00 |
|
Pavol Rusnak
|
dbc464750b
|
feat(common): enable Taproot on Bitcoin
|
2021-10-18 13:36:05 +02:00 |
|
Pavol Rusnak
|
7e64ccbaf9
|
feat(core): add BIP-350 test cases to test_trezor.crypto.bech32
|
2021-10-18 13:36:05 +02:00 |
|
Pavol Rusnak
|
d34b1636ee
|
feat(crypto): add BIP-350 test cases to test_check_segwit
|
2021-10-18 13:36:05 +02:00 |
|
Pavol Rusnak
|
a45e103875
|
fix(core): remove 3 BIP-173 test cases from test_trezor.crypto.bech32
because they encode segwit program > 0 and these should no longer
be encoded with Bech32 but rather with Bech32m
|
2021-10-18 13:36:05 +02:00 |
|
Pavol Rusnak
|
9aa07c7f96
|
feat(core): update bech32.py to support Bech32m
|
2021-10-18 13:36:05 +02:00 |
|
Pavol Rusnak
|
86ea94d06b
|
fix(crypto): remove 3 BIP-173 test cases from segwit_addr
because they encode segwit program > 0 and these should no longer
be encoded with Bech32 but rather with Bech32m
|
2021-10-18 13:36:05 +02:00 |
|
Pavol Rusnak
|
60bd59fbad
|
feat(crypto): update segwit_addr to support Bech32m
|
2021-10-18 13:36:05 +02:00 |
|
Pavol Rusnak
|
ac4cb88184
|
feat(common): add taproot field to coin definitions
enable for Bitcoin Testnet and Bitcoin Regtest
|
2021-10-18 13:36:05 +02:00 |
|
Pavol Rusnak
|
27dcef056f
|
feat(tests): add tests for Taproot descriptors support
|
2021-10-18 13:36:05 +02:00 |
|
Pavol Rusnak
|
ba0879961c
|
feat(python): add support for Taproot descriptors
|
2021-10-18 13:36:05 +02:00 |
|
Pavol Rusnak
|
2035ff4569
|
feat(legacy): add support for Taproot descriptors
|
2021-10-18 13:36:05 +02:00 |
|
Pavol Rusnak
|
fea240ed40
|
feat(core): add support for Taproot descriptors
|
2021-10-18 13:36:05 +02:00 |
|
Pavol Rusnak
|
4ed9f00c73
|
feat(common): add support for Taproot input and output scripts
|
2021-10-18 13:36:05 +02:00 |
|
Pavol Rusnak
|
c0c2718c1e
|
chore(CODEOWNERS): remove me from some components
[skip_ci]
|
2021-10-17 10:45:14 +02:00 |
|
matejcik
|
b6837d19b7
|
fix(core/nem): fix NEM usage of format_amount
[no changelog]
|
2021-10-13 11:53:17 +02:00 |
|
amadejpapez
|
85ba7c12ba
|
style(all): use f-strings for formatting
[no changelog]
|
2021-10-13 11:53:17 +02:00 |
|
matejcik
|
32be2c09b9
|
feat(core): enable f-strings for micropython
[no changelog]
|
2021-10-13 11:53:17 +02:00 |
|
gabrielkerekes
|
b957dfbddb
|
chore(cardano): improve get_native_script_hash tests and update ui fixtures
|
2021-10-11 15:16:24 +02:00 |
|
gabrielkerekes
|
4aaf6db9a2
|
chore(cardano): update docs, changelog and ui test fixtures
|
2021-10-11 15:16:24 +02:00 |
|
gabrielkerekes
|
1f33ab420d
|
feat(cardano): update transaction signing for multisig
|
2021-10-11 15:16:24 +02:00 |
|
gabrielkerekes
|
21281d7cf4
|
feat(cardano): add support for script addresses derivation
|
2021-10-11 15:16:24 +02:00 |
|
gabrielkerekes
|
dd9652cd07
|
feat(cardano): add get-native-script-hash call
|
2021-10-11 15:16:24 +02:00 |
|
gabrielkerekes
|
54909681a8
|
feat(cardano): add support for 1854 and 1855 path roots
|
2021-10-11 15:16:24 +02:00 |
|
Martin Milata
|
2687fd4ade
|
ci: hw: don't skip memory-intensive tests
|
2021-10-07 18:30:43 +02:00 |
|