Commit Graph

62 Commits (b145f8f309d5fe6fc89d0c39f4abda9c50516f6b)

Author SHA1 Message Date
Pavol Rusnak 728db8b04c
extmod: remove unused includes
8 years ago
Pavol Rusnak 388e2dc305
apps.wallet: implement SignMessage
8 years ago
Pavol Rusnak b0fa0466dc
trezor.crypto.curve: implement verify_recover function for ecdsa
8 years ago
Pavol Rusnak c8eb2bf17b
trezor.crypto: prepend recid to ecdsa signatures
8 years ago
Pavol Rusnak 2d0675341b
trezor.crypto: use 64-byte ecdsa signatures (for now)
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 f9827666f8 modtrezorcrypto: fix last commit
8 years ago
Jan Pochyla adc3dde19e modtrezorcrypto: add HDNode.clone()
8 years ago
Pavol Rusnak 998fb9fce6
tests: added check_coverage script
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
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 9d5fe82b45
vendor: update trezor-crypto
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 4e47ae1606 modtrezorcrypto: add HDNode.address
8 years ago
Jan Pochyla 2ff937b707 modtrezorcrypto: fix ecsda_sign calls
8 years ago
Jan Pochyla cd9fca42b7 modtrezorcrypto: add bip32 deserialization
8 years ago
Pavol Rusnak 9e3102742e
modules: add missing copyright headers
8 years ago
Pavol Rusnak 3e8b025cbd
use mp_obj_new_str_of_type where it makes sense instead of mp_obj_new_str_from_vstr
8 years ago
Pavol Rusnak 2bba78bf87
fix pbkdf2.key() method
8 years ago
Pavol Rusnak 446ea33dc1
minor changes in modtrezorcrypto docu
8 years ago
Pavol Rusnak 4023b83feb
use mp_raise_ValueError and mp_raise_TypeError functions
8 years ago
Jan Pochyla 128a4b20b5 crypto: add bip32
8 years ago
Pavol Rusnak 27fb301b22
validate mp_buffer_info_t usage for cases where len==0
8 years ago
slush0 fdc14513a6
Added 'pass' where docstring is missing.
8 years ago
Jan Pochyla 5c02718c58
fix int param for crypto.random.uniform()
8 years ago
Pavol Rusnak f727cab942
rework aes module, add summary to test script
8 years ago
Pavol Rusnak dd78f83576
update docu strings in aes
8 years ago
Pavol Rusnak 8f80749870
update docu strings in native code
8 years ago
Pavol Rusnak e577e764fc
modules do not have .name field anymore
8 years ago
Pavol Rusnak d9495b12ac
trezor.crypto.aes finished (including unit tests)
8 years ago
Pavol Rusnak fc05f25255
trezor.crypto.aes work in progres
8 years ago
Pavol Rusnak 80be60c3ff
remove todo
8 years ago
Pavol Rusnak 5c3e0c9b6f
use mp_obj_new_int_from_uint when returning uint32
8 years ago
Pavol Rusnak 9f40362482
remove homebrew docu generator, use docstring syntax
8 years ago
Pavol Rusnak c0dfe2d702
fix include in ssss
8 years ago
Pavol Rusnak 154184e4e2
add unit tests for trezor.crypto.random
8 years ago
Pavol Rusnak 35b26651ba
add trezor.crypto.random
8 years ago
Pavol Rusnak 2cf75d85e7
more ssss work
8 years ago
Pavol Rusnak 9dc4813ec7
add trezor.crypto.ssss skeleton
8 years ago
Pavol Rusnak b34b8e6959
change license to TREZOR License
8 years ago
Pavol Rusnak 8f7fc96301
add trezor.crypto.bip39.seed
8 years ago
Pavol Rusnak 910926e25c
add trezor.crypto.bip39
8 years ago
Pavol Rusnak 7fb1d7247c
remove self from documentation where it should not be
8 years ago
Pavol Rusnak 67c0ecfb23
add possibility to change UDP ip+port via env variables
8 years ago
Pavol Rusnak c5b5955539
add more docu
8 years ago
Pavol Rusnak 3d8f8a659a
rework documentation, proof of concept api docu generator
8 years ago