1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 05:28:40 +00:00
Commit Graph

44 Commits

Author SHA1 Message Date
jmuravsky
09ddcc7ac9 cardano: add Cardano currency support 2018-07-25 17:56:29 +02:00
Pavol Rusnak
cb9e7b5885
embed: cleanup Keccak API (drop keccak arg from digest() func) 2018-07-23 15:19:38 +02:00
Dusan Klinec
8cf0b93df7 sha3: keccak parameter in the constructor
- enable to construct keccak sha3 so keccak-sha3 digest can be used in hmac / pbkdf transparently (without need to call special digest(keccak=True) as some functions taking Digest object call digest() directly so keccak mode have to be specified before that point)
2018-07-23 15:01:46 +02:00
Yura Pakhuchiy
28bff537be Add Groestl512 to modtrezorcrypto 2018-07-09 21:30:10 +02:00
Jan Pochyla
edcc96ee09 embed: use correct string constructors
Reflects micropython commit 4601759bf59e16b860a3f082e9aa4ea78356bf92
2018-06-19 18:26:43 +02:00
Pavol Rusnak
97bb26b7f3
embed/extmod/modtrezorcrypto: use kwargs for Blake2b/Blake2s 2018-06-19 18:15:58 +02:00
Pavol Rusnak
8e9ae534c0
embed/extmod/modtrezorcrypto: fix last commit, update trezor-crypto 2018-06-15 10:35:19 +02:00
Karel Bílek
eeff66be88 zcash: use personal field in blake2b (#243) 2018-06-15 10:20:32 +02:00
Jan Pochyla
3dc1c79b1a nem: cleanup modtrezorcrypto bindings 2018-06-06 17:24:07 +02:00
Tomas Susanka
6aef64d367 nem: compute address from pubkey 2018-06-06 17:24:07 +02:00
Tomas Susanka
3fc96805dd nem: modtrezorcrypto overflow fix and err check 2018-06-06 17:24:07 +02:00
Tomas Susanka
fb15e993f1 embed/crypto: ed25519 keccak signing
to be discussed whether not to provide a hash func instead of string
2018-06-06 17:24:06 +02:00
Tomas Susanka
b5cc678caa nem: encrypt 2018-06-06 17:24:06 +02:00
Tomas Susanka
33ac5de848 wallet/nem: basic modtrezorcrypto for nem 2018-06-06 17:24:06 +02:00
Tomas Susanka
88ef4257cd wallet/nem: init, get_address 2018-06-06 17:24:06 +02:00
Jan Pochyla
bf7729ab9f embed/extmod: use trezor_obj_get_uint{8} where it makes sense 2018-05-24 17:59:03 +02:00
Jan Pochyla
39c1c85abb embed/extmod: use trezor_obj_get_uint for uint32_t 2018-05-24 17:59:03 +02:00
Pavol Rusnak
90975f6b6e
embed/extmod/modtrezorcrypto: add support to variable outlen for Blake2{b,s} 2018-05-22 19:44:52 +02:00
Tomas Susanka
2c2f2ff97b embed: private key set check simplified 2018-02-26 16:13:00 +01:00
Tomas Susanka
368ba963a6 embed: hdnode public derivation 2018-02-26 16:13:00 +01:00
Tomas Susanka
858f2583a5 embed: hdnode field length fix 2018-02-26 16:13:00 +01:00
Pavol Rusnak
14b0d4439a
embed: add GPLv3 source code headers 2018-02-26 14:07:37 +01:00
Pavol Rusnak
9aa947d2e1
embed/extmod/modtrezorcrypto: remove redundant code in bip32 2018-02-09 12:33:55 +01:00
Pavol Rusnak
593ccdafec
embed/extmod/modtrezorcrypto: use uint32_t for HDNode int attributes 2018-02-09 12:22:23 +01:00
Pavol Rusnak
08376a4a54
fix typo 2018-01-20 21:26:54 +01:00
Pavol Rusnak
e92440dfc8
introduce and use memzero instead of explicit_bzero 2018-01-18 15:30:49 +01:00
Pavol Rusnak
ea116d742a
use explicit_bzero where possible; update trezor-crypto 2018-01-16 20:44:21 +01:00
Jan Pochyla
20c4900df1 modtrezorcrypto/bip39: throw less exceptions 2018-01-16 15:46:32 +01:00
Pavol Rusnak
1530afe4ad
vendor: update trezor-crypto, adapt codebase to changes 2018-01-13 15:36:03 +01:00
Pavol Rusnak
d11bbde2e1
trezor.crypto: fix sha3-{256,512} argument handling 2018-01-12 13:50:34 +01:00
Pavol Rusnak
7efef68e97
trezor.crypto: add static keyword to crc 2018-01-12 13:43:52 +01:00
Pavol Rusnak
7537c26c83
trezor.crypto: use mp_obj_new_str_from_vstr where we already have preallocated vstr 2018-01-07 13:56:18 +01:00
Pavol Rusnak
981ec87877
trezor.crypto: put back vstr where it makes sense (= user controlled input) 2018-01-05 13:13:20 +01:00
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 2018-01-03 21:53:58 +01:00
Pavol Rusnak
fa95f0a037
trezor.crypto: implement chacha20poly1305 aka rfc7539 2018-01-02 18:57:23 +01:00
Pavol Rusnak
b9d5af8c19
modtrezorcrypto: remove ssss (different implementation will be re-added later) 2018-01-02 14:13:42 +01:00
Pavol Rusnak
d6593e710b
apps.ethereum: implement SignMessage/VerifyMessage 2017-12-23 15:12:31 +01:00
Pavol Rusnak
333c0a633a
trezor.crypto: adopt crc32 function 2017-12-19 21:54:22 +01:00
Pavol Rusnak
be302480fd
modtrezorcrypto: cleanup random 2017-12-15 16:56:08 +01:00
Pavol Rusnak
70ac202d7a
modtrezorcrypto: add trezor.crypto.hashlib.blake256 2017-12-13 20:47:12 +01:00
Pavol Rusnak
1aba175d7d
build: adapt to new trezor-crypto changes 2017-12-12 22:00:15 +01:00
Pavol Rusnak
7b9fcf98ae
drop embed/extmod/modtrezorcrypto/trezor-crypto symlink 2017-12-12 20:31:03 +01:00
Jan Pochyla
314e6a99c1 modtrezorcrypto/bip32: add HDNode.__init__ 2017-12-08 17:25:28 +01:00
Jan Pochyla
55bd4a0806 rename /micropython to /embed 2017-07-28 16:23:45 +02:00