Commit Graph

93 Commits (4e5146b9bf6048b3d6fed03bccc425e51e6149e9)

Author SHA1 Message Date
Ondřej Vejpustek 548e329f9d fix(core): prevent negative-length array
6 months ago
Andrew Kozlik 15e02be4e4 fix(core): Clean up when constructor fails to reduce memory fragmentation.
6 months ago
Andrew Kozlik 703ea32ceb feat(core): Add aesgcm class to trezor.crypto Python module.
6 months ago
tychovrahe c937f21447 refactor(core): change the way USE_OPTIGA is added to build
12 months ago
Andrew Kozlik dee559f4f9 feat(core): Integrate Optiga into PIN verification.
1 year ago
Andrew Kozlik 686aa78aa7 feat(core): Use Optiga as a source of randomness.
1 year ago
grdddj 76c6e9cd9d feat(all): implement support information for T2B1
1 year ago
matejcik afa6f84174 feat(core): custom exception types for Optiga
1 year ago
Andrew Kozlik db6630a5a3 feat(core): Support Optiga in Trezor firmware.
1 year ago
Andrew Kozlik 21f4aec8de refactor: Unify secp256k1_zkp usage.
1 year ago
Martin Milata 3fb3f108cc chore(vendor): bump micropython to 1.19.1
1 year ago
grdddj 571bb79e33 chore(core): delete unused bip39/slip39 micropython/C bindings
2 years ago
Dusan Klinec 26711857e8 refactor(xmr): remove old BP code
2 years ago
Andrew Kozlik d815a7d6de chore(core): Use C implementation of Bech32 decode.
2 years ago
Andrew Kozlik fa5e7feda6 fix(crypto): Fix nonce bias in CoSi signing.
2 years ago
Christian Reitter c5d22b4395 fix(core): correct range in error message
2 years ago
Andrew Kozlik 892f3e348d fix(crypto): Remove public key from the ed25519 signing API.
2 years ago
Dusan Klinec 14e08ca9db fix(xmr): remove 8192B from firmware image so it can fit to the memory
2 years ago
Dusan Klinec 25d32a8144 feat(xmr): implement bp+, refactor, code cleanup
2 years ago
Dusan Klinec 33c174491f refactor(core/monero): Monero code cleanup
2 years ago
Pavol Rusnak 6052e71bbb fix(core): fix build with FEATURE_FLAGS.SECP256K1_ZKP=False
3 years ago
Pavol Rusnak c6667fa0c2 feat(core): verify bip340 pubkeys used in p2tr addresses
3 years ago
Pavol Rusnak 4a71d15b1d chore(core/embed): refactor trezor_obj_get_uint64 into trezorobj.h
3 years ago
matejcik 45787307ca style(core): support AnyStr in all hash function arguments
3 years ago
Ondřej Vejpustek f918cf9a27 fix(core): fix typos in modtrezorcrypto-bip340.h
3 years ago
Andrew Kozlik aaceb5bcc6 chore(core): Remove USE_SECP256K1_ZKP_BIP340 build option.
3 years ago
Andrew Kozlik ae41f7dec8 fix(core): Fix bip340 module build.
3 years ago
Andrew Kozlik 59c0f4383d feat(core): Add key tweaking functions to trezorcrypto.bip340.
3 years ago
matejcik f6f52445bd feat(core/cardano): support Icarus, Icarus-Trezor, and Ledger derivations
3 years ago
matejcik 387466e073 refactor(core): separate Cardano cryptography into its own module
3 years ago
Andrew Kozlik eb90efd914 chore(crypto,core,legacy): Add return code to hdnode_fill_public_key().
3 years ago
Andrew Kozlik 34621a6b6d fix(crypto,core,legacy): Check private key validity when deriving public key.
3 years ago
Ondřej Vejpustek 29ce860d46 refactor(core,crypto): rename schnorr to BIP340
3 years ago
Ondřej Vejpustek 15bb085509 refactor(core,crypto): make public key derivation functions return
3 years ago
Ondřej Vejpustek 172f399b29 style(core): fix style
3 years ago
Ondřej Vejpustek 7ac0bdd215 feat(core): make core use Schnorr signatures
3 years ago
Ondřej Vejpustek 26463eb3ce feat(core): make core use ecdsa from secp256k1_zkp wherever possible
3 years ago
matejcik fe6c131b14 feat(core/emulator): build emulator with -DSTATIC=
3 years ago
Martin Milata ac711fb8ee style(core): use more recent type annotation syntax
4 years ago
Martin Milata 8b3ac659a0 style(core): mypy: disable implicit Optional for function arguments
4 years ago
Pavol Rusnak 4649b80b44
feat(core): allow secp256k1-zkp for bitcoin-only build
4 years ago
matejcik ccd241fe55 feat(core/cardano): enable typing for Cardano app
4 years ago
Pavol Rusnak f3d5de15ef refactor(core): turn SECP256K1_ZKP into a firmware feature flag
4 years ago
Rafael Korbas edf9b4ee85 Refactor mnemonic_to_entropy to not (misleadingly) return checksum
4 years ago
Andrew Kozlik aeb021b159 chore(core): Improve naming of SLIP39's T9 mask lookup.
4 years ago
Andrew Kozlik 7fc1851279 fix(crypto): Improve naming and robustness of SLIP39's T9 mask lookup.
4 years ago
Andrew Kozlik c67ecb984b chore(crypto): Move XPUB_MAXLEN and ADDRESS_MAXLEN from modtrezorcrypto to bip32.h.
4 years ago
Andrew Kozlik c21ca81a1e fix(core): Prevent sensitive data from being left on the call stack in modtrezorcrypto.
4 years ago
Pavol Rusnak d8534b5ee6
perf(core/extmod): replace HMAC Python implementation with C
4 years ago
matejcik 5385617eda core: increase address length limit to accomodate CRW (fixes #1139)
4 years ago