1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 20:38:10 +00:00
Commit Graph

52 Commits

Author SHA1 Message Date
Pavol Rusnak
192fc5f1ef
trezor.crypto: add sha1, regenerate mocks 2016-11-05 15:26:28 +01:00
Pavol Rusnak
34ba0ccd72
trezor.crypto: add key option for blake2s, add unit tests for blake2s 2016-11-01 18:22:29 +01:00
Pavol Rusnak
e9c328919c
trezor.crypto: add blake2s hash, update submodules 2016-11-01 17:31:24 +01:00
Pavol Rusnak
9d5fe82b45
vendor: update trezor-crypto 2016-10-24 21:00:21 +02:00
Pavol Rusnak
9c921c073f
modtrezorcrypto: add generate_secret methods to curves 2016-10-24 13:23:10 +02:00
Pavol Rusnak
3c5c685b8c
add curve25519.publickey and unittest for randomized multiply 2016-10-23 22:39:11 +02:00
Pavol Rusnak
7f5fa78f35
modtrezorcrypto: add ECDH for nist256p1, secp256k1, curve25519 (multiply method) 2016-10-22 00:51:52 +02:00
Jan Pochyla
4e47ae1606 modtrezorcrypto: add HDNode.address
TODO: tests
2016-10-20 15:13:47 +02:00
Jan Pochyla
2ff937b707 modtrezorcrypto: fix ecsda_sign calls
TODO: allow the caller to provide the is_canonical parameter: trezor/trezor-crypto@133c068f37
2016-10-14 15:46:09 +02:00
Jan Pochyla
cd9fca42b7 modtrezorcrypto: add bip32 deserialization 2016-10-14 15:12:17 +02:00
Pavol Rusnak
9e3102742e
modules: add missing copyright headers 2016-10-11 14:05:55 +02:00
Pavol Rusnak
3e8b025cbd
use mp_obj_new_str_of_type where it makes sense instead of mp_obj_new_str_from_vstr 2016-10-07 13:57:21 +02:00
Pavol Rusnak
2bba78bf87
fix pbkdf2.key() method 2016-10-07 13:41:25 +02:00
Pavol Rusnak
446ea33dc1
minor changes in modtrezorcrypto docu 2016-10-07 13:27:43 +02:00
Pavol Rusnak
4023b83feb
use mp_raise_ValueError and mp_raise_TypeError functions 2016-10-07 12:09:05 +02:00
Jan Pochyla
128a4b20b5 crypto: add bip32 2016-10-06 15:05:14 +02:00
Pavol Rusnak
27fb301b22
validate mp_buffer_info_t usage for cases where len==0 2016-10-04 19:22:48 +02:00
slush0
fdc14513a6
Added 'pass' where docstring is missing. 2016-09-27 17:26:15 +02:00
Jan Pochyla
5c02718c58
fix int param for crypto.random.uniform() 2016-09-27 17:26:10 +02:00
Pavol Rusnak
f727cab942
rework aes module, add summary to test script 2016-09-27 17:26:09 +02:00
Pavol Rusnak
dd78f83576
update docu strings in aes 2016-09-27 17:26:09 +02:00
Pavol Rusnak
8f80749870
update docu strings in native code 2016-09-27 17:26:09 +02:00
Pavol Rusnak
e577e764fc
modules do not have .name field anymore 2016-09-27 17:26:08 +02:00
Pavol Rusnak
d9495b12ac
trezor.crypto.aes finished (including unit tests) 2016-09-27 17:26:07 +02:00
Pavol Rusnak
fc05f25255
trezor.crypto.aes work in progres 2016-09-27 17:26:07 +02:00
Pavol Rusnak
80be60c3ff
remove todo 2016-09-27 17:26:07 +02:00
Pavol Rusnak
5c3e0c9b6f
use mp_obj_new_int_from_uint when returning uint32 2016-09-27 17:26:07 +02:00
Pavol Rusnak
9f40362482
remove homebrew docu generator, use docstring syntax 2016-09-27 17:25:50 +02:00
Pavol Rusnak
c0dfe2d702
fix include in ssss 2016-09-27 17:25:50 +02:00
Pavol Rusnak
154184e4e2
add unit tests for trezor.crypto.random 2016-09-27 17:25:48 +02:00
Pavol Rusnak
35b26651ba
add trezor.crypto.random 2016-09-27 17:25:47 +02:00
Pavol Rusnak
2cf75d85e7
more ssss work 2016-09-27 17:25:46 +02:00
Pavol Rusnak
9dc4813ec7
add trezor.crypto.ssss skeleton 2016-09-27 17:25:45 +02:00
Pavol Rusnak
b34b8e6959
change license to TREZOR License 2016-09-27 17:25:39 +02:00
Pavol Rusnak
8f7fc96301
add trezor.crypto.bip39.seed 2016-09-27 17:24:17 +02:00
Pavol Rusnak
910926e25c
add trezor.crypto.bip39 2016-09-27 17:24:17 +02:00
Pavol Rusnak
7fb1d7247c
remove self from documentation where it should not be 2016-09-27 17:24:11 +02:00
Pavol Rusnak
67c0ecfb23
add possibility to change UDP ip+port via env variables 2016-09-27 17:24:11 +02:00
Pavol Rusnak
c5b5955539
add more docu 2016-09-27 17:24:10 +02:00
Pavol Rusnak
3d8f8a659a
rework documentation, proof of concept api docu generator 2016-09-27 17:24:10 +02:00
Pavol Rusnak
d2f65d67cd
rename buffer variables, add const where possible 2016-09-27 17:24:07 +02:00
Pavol Rusnak
b7b57ae53e
new pbkdf2 api with update 2016-09-27 17:24:05 +02:00
Pavol Rusnak
bc7cb88cdf
use little endian for toif, fix random 2016-09-27 17:23:22 +02:00
Pavol Rusnak
b7013437ee
add nist256p1 and secp256k1 to trezor.crypto.curve 2016-09-27 17:23:22 +02:00
Pavol Rusnak
f3f44b408d
add trezor.crypto.ed25519 2016-09-27 17:23:22 +02:00
Pavol Rusnak
33f3566f61
adapt to new trezor-crypto 2016-09-27 17:23:21 +02:00
Pavol Rusnak
dd93b1a0cf
remove mbedtls 2016-09-27 17:23:21 +02:00
Pavol Rusnak
f8713bad4d
add sha3 2016-09-27 17:22:53 +02:00
Pavol Rusnak
3d3d8e89a5
don't use native base58 2016-09-27 17:22:53 +02:00
Pavol Rusnak
b29ece66ef
use pbkdf2_hmac from mbedtls 2016-09-27 17:22:53 +02:00