Commit Graph

40 Commits (6e13a1475b51bd1ff308fc60d95b13aa721c9637)

Author SHA1 Message Date
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
6 years ago
Pavol Rusnak 593ccdafec
embed/extmod/modtrezorcrypto: use uint32_t for HDNode int attributes
6 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
Pavol Rusnak 7b9fcf98ae
drop embed/extmod/modtrezorcrypto/trezor-crypto symlink
7 years ago
Jan Pochyla 314e6a99c1 modtrezorcrypto/bip32: add HDNode.__init__
7 years ago
Jan Pochyla 55bd4a0806 rename /micropython to /embed
7 years ago