Commit Graph

591 Commits (2d0675341b19abd7680f3039b2d410f55a485b9f)
 

Author SHA1 Message Date
Pavol Rusnak 2d0675341b
trezor.crypto: use 64-byte ecdsa signatures (for now)
8 years ago
Pavol Rusnak 9fb6e328a0
trezor.crypto: add der module
8 years ago
Pavol Rusnak 8d1109986c
trezor.crypto: curve.nist256p1 and curve.secp256k1 now sign/verify 256-bit digests, not arbitrary length messages
8 years ago
Jan Pochyla 1bb20c2521 signtx: serialize tx meta
8 years ago
Pavol Rusnak 0012883984
trezor.ui.display: fix orientation/backlight calls when NOUI=1 is used
8 years ago
Pavol Rusnak 161bb90e03
tests: add tests for trezor.msg and trezor.ui.display
8 years ago
Pavol Rusnak 33b5436dcc
tests: move to /tests to avoid freezing
8 years ago
Pavol Rusnak c95ed063db
trezor.crypto.hashlib: remove HashIO (lives as HashWriter somewhere else)
8 years ago
Jan Pochyla f9827666f8 modtrezorcrypto: fix last commit
8 years ago
Pavol Rusnak 8092be211c
trezor.messages: regenerate messages
8 years ago
Pavol Rusnak c49c4ea29e
apps.common.coins: make coins definitions more readable + adapt generator
8 years ago
Pavol Rusnak ca45689808
trezor.crypto: update trezor-crypto submodule
8 years ago
Jan Pochyla 44a3b7f9f1 signtx: fixes, refactoring
8 years ago
Jan Pochyla adc3dde19e modtrezorcrypto: add HDNode.clone()
8 years ago
Pavol Rusnak 6891c3c463
trezor.config: add wipe method
8 years ago
Pavol Rusnak 998fb9fce6
tests: added check_coverage script
8 years ago
Pavol Rusnak 955bd44684
rename unit tests to match module names
8 years ago
Pavol Rusnak 8b0d7be52a
trezor.crypto: add keccak option to Sha3_*.digest()
8 years ago
Pavol Rusnak 192fc5f1ef
trezor.crypto: add sha1, regenerate mocks
8 years ago
Jan Pochyla 3b742aa5dc signtx: WIP
8 years ago
Jan Pochyla 6a98aff8bb WIP: signing pseudocode
8 years ago
Jan Pochyla 783fddf749 messages: do not use const()
8 years ago
Pavol Rusnak 392538d7d2
vendor: update micropython
8 years ago
Pavol Rusnak 34ba0ccd72
trezor.crypto: add key option for blake2s, add unit tests for blake2s
8 years ago
Pavol Rusnak e9c328919c
trezor.crypto: add blake2s hash, update submodules
8 years ago
Pavol Rusnak 56eb351816
trezor.crypto: add hashlib.HashIO
8 years ago
Pavol Rusnak 54a045e9de
apps.common: add pseudocode for signing
8 years ago
Jan Pochyla b3c03496e4 streams: minor API change
8 years ago
Jan Pochyla 83043f7aef wire: update to latest changes in protobuf
8 years ago
Jan Pochyla a16e02a3d8 messages: regenerate
8 years ago
Jan Pochyla 20b612f8c1 pb2py: use new protobuf message format
8 years ago
Jan Pochyla 36784bf0f5 protobuf: refactoring, remove default values and required fields
8 years ago
Pavol Rusnak df5e770dec
trezor.crypto: refactor base58; allow custom digest function
8 years ago
Pavol Rusnak 9d5fe82b45
vendor: update trezor-crypto
8 years ago
Pavol Rusnak 965a6e653a
apps.common.coins: throw exceptions when coin is not found instead of returning None
8 years ago
Pavol Rusnak 2ede564cbd
trezor.crypto: regenerate documentation mocks
8 years ago
Pavol Rusnak 6e658ff2f1
trezor.messages: regenerate classes
8 years ago
Jan Pochyla 507d9bdf68 wire: add tests for v1 codec
8 years ago
Pavol Rusnak 7404a76aeb
modtrezorcrypto: add test_sign_verify_random to curve unit tests
8 years ago
Pavol Rusnak 9c921c073f
modtrezorcrypto: add generate_secret methods to curves
8 years ago
Pavol Rusnak 3c5c685b8c
add curve25519.publickey and unittest for randomized multiply
8 years ago
Pavol Rusnak 7f5fa78f35
modtrezorcrypto: add ECDH for nist256p1, secp256k1, curve25519 (multiply method)
8 years ago
Jan Pochyla 4216e6f544 tests: remove old wire_codec test example
8 years ago
Jan Pochyla d0b29d4caa wire: add tests, fix missing 0-padding
8 years ago
Pavol Rusnak e62e8dbe6f
tools: move coins-gen tool to /tools
8 years ago
Pavol Rusnak 1420ad591b
apps: add apps.common.coins (+generator)
8 years ago
Pavol Rusnak 815f0057dd
bootloader: fix build
8 years ago
Jan Pochyla 688d293b01 wire: use memoryview() asap in the parsing process
8 years ago
Jan Pochyla 67ac47f087 apps.homescreen: respond with ~correct data, handle GetFeatures
8 years ago
Jan Pochyla ad2955aaab ui: code style, make header icon optional
8 years ago