Commit Graph

53 Commits (de7125fb698798c89827a9697d9be92b4d7b59a5)

Author SHA1 Message Date
Pavol Rusnak 03c681ec49
embed/extmod/modtrezorcrypto: introduce CANONICAL_SIG_ETHEREUM constant
6 years ago
Dusan Klinec 29ee5dc80c mock: fixes error in generated trezorcrypto mock
6 years ago
Pavol Rusnak 11bf37b17c
vendor: update trezor-crypto
6 years ago
Pavol Rusnak d0f2905542
embed/extmod/modtrezorcrypto: refactor pbkdf2 prf
6 years ago
Pavol Rusnak 5efab07b23
cardano: remove GetPublicKey.root_hd_passphrase, style changes
6 years ago
Dušan Plavák 060a8cbdfd cardano: replace derivation scheme v1 for v2 (#342)
6 years ago
Pavol Rusnak 1013cc9185
vendor: update trezor-crypto
6 years ago
Pavol Rusnak 1bf1a76973
src/apps/ethereum: implement Ethereum canonical signatures, fix max_chain_id
6 years ago
Pavol Rusnak 1a6e0f053a
embed/extmod/modtrezorcrypto: refactor AES API, use test from NIST SP 800-38A
6 years ago
jmuravsky 09ddcc7ac9 cardano: add Cardano currency support
6 years ago
Pavol Rusnak cb9e7b5885
embed: cleanup Keccak API (drop keccak arg from digest() func)
6 years ago
Dusan Klinec 8cf0b93df7 sha3: keccak parameter in the constructor
6 years ago
Yura Pakhuchiy 28bff537be Add Groestl512 to modtrezorcrypto
6 years ago
Jan Pochyla edcc96ee09 embed: use correct string constructors
6 years ago
Pavol Rusnak 97bb26b7f3
embed/extmod/modtrezorcrypto: use kwargs for Blake2b/Blake2s
6 years ago
Pavol Rusnak 8e9ae534c0
embed/extmod/modtrezorcrypto: fix last commit, update trezor-crypto
6 years ago
Karel Bílek eeff66be88 zcash: use personal field in blake2b (#243)
6 years ago
Jan Pochyla 3dc1c79b1a nem: cleanup modtrezorcrypto bindings
6 years ago
Tomas Susanka 6aef64d367 nem: compute address from pubkey
6 years ago
Tomas Susanka 3fc96805dd nem: modtrezorcrypto overflow fix and err check
6 years ago
Tomas Susanka fb15e993f1 embed/crypto: ed25519 keccak signing
6 years ago
Tomas Susanka b5cc678caa nem: encrypt
6 years ago
Tomas Susanka 33ac5de848 wallet/nem: basic modtrezorcrypto for nem
6 years ago
Tomas Susanka 88ef4257cd wallet/nem: init, get_address
6 years ago
Jan Pochyla bf7729ab9f embed/extmod: use trezor_obj_get_uint{8} where it makes sense
6 years ago
Jan Pochyla 39c1c85abb embed/extmod: use trezor_obj_get_uint for uint32_t
6 years ago
Pavol Rusnak 90975f6b6e
embed/extmod/modtrezorcrypto: add support to variable outlen for Blake2{b,s}
6 years ago
Tomas Susanka 2c2f2ff97b embed: private key set check simplified
6 years ago
Tomas Susanka 368ba963a6 embed: hdnode public derivation
6 years ago
Tomas Susanka 858f2583a5 embed: hdnode field length fix
6 years ago
Pavol Rusnak 14b0d4439a
embed: add GPLv3 source code headers
6 years ago
Pavol Rusnak 9aa947d2e1
embed/extmod/modtrezorcrypto: remove redundant code in bip32
7 years ago
Pavol Rusnak 593ccdafec
embed/extmod/modtrezorcrypto: use uint32_t for HDNode int attributes
7 years ago
Pavol Rusnak 08376a4a54
fix typo
7 years ago
Pavol Rusnak e92440dfc8
introduce and use memzero instead of explicit_bzero
7 years ago
Pavol Rusnak ea116d742a
use explicit_bzero where possible; update trezor-crypto
7 years ago
Jan Pochyla 20c4900df1 modtrezorcrypto/bip39: throw less exceptions
7 years ago
Pavol Rusnak 1530afe4ad
vendor: update trezor-crypto, adapt codebase to changes
7 years ago
Pavol Rusnak d11bbde2e1
trezor.crypto: fix sha3-{256,512} argument handling
7 years ago
Pavol Rusnak 7efef68e97
trezor.crypto: add static keyword to crc
7 years ago
Pavol Rusnak 7537c26c83
trezor.crypto: use mp_obj_new_str_from_vstr where we already have preallocated vstr
7 years ago
Pavol Rusnak 981ec87877
trezor.crypto: put back vstr where it makes sense (= user controlled input)
7 years ago
Pavol Rusnak 4a7592d470
trezor.crypto: remove vstr usage, refactor mp_obj_new_str_from_vstr into mp_obj_new_bytes and mp_obj_new_str
7 years ago
Pavol Rusnak fa95f0a037
trezor.crypto: implement chacha20poly1305 aka rfc7539
7 years ago
Pavol Rusnak b9d5af8c19
modtrezorcrypto: remove ssss (different implementation will be re-added later)
7 years ago
Pavol Rusnak d6593e710b
apps.ethereum: implement SignMessage/VerifyMessage
7 years ago
Pavol Rusnak 333c0a633a
trezor.crypto: adopt crc32 function
7 years ago
Pavol Rusnak be302480fd
modtrezorcrypto: cleanup random
7 years ago
Pavol Rusnak 70ac202d7a
modtrezorcrypto: add trezor.crypto.hashlib.blake256
7 years ago
Pavol Rusnak 1aba175d7d
build: adapt to new trezor-crypto changes
7 years ago