Pavol Rusnak
|
70ac202d7a
|
modtrezorcrypto: add trezor.crypto.hashlib.blake256
|
2017-12-13 20:47:12 +01:00 |
|
Pavol Rusnak
|
16bc1c6cb6
|
src: fix flake8 style
|
2017-12-09 18:38:36 +01:00 |
|
Tomas Susanka
|
2ebf1cd9f4
|
trezor/crypto: bech32
taken from https://github.com/sipa/bech32/tree/master/ref/python
|
2017-11-23 16:30:11 +01:00 |
|
Jan Pochyla
|
49cc4651c2
|
bunch of api cleanups
|
2017-09-19 23:47:35 +02:00 |
|
Pavol Rusnak
|
886c3a0a11
|
modtrezorcrypto: use lowercase QSTRs so we don't have to 'import as'
|
2017-06-23 17:50:45 +02:00 |
|
Jan Pochyla
|
afd65833cb
|
trezor.crypto: rework for new structure
|
2017-06-20 17:45:34 +02:00 |
|
Jan Pochyla
|
803c47dca8
|
extmod: use lowercase names
|
2017-06-14 18:51:55 +02:00 |
|
Pavol Rusnak
|
73b2ea6c85
|
travis: add make style (using flake8)
|
2017-06-13 19:35:34 +02:00 |
|
Jan Pochyla
|
98e82e3cd5
|
code style
|
2017-06-12 18:16:06 +02:00 |
|
Jan Pochyla
|
c6545b9b6d
|
trezor: code style
|
2017-05-31 19:32:40 +02:00 |
|
Pavol Rusnak
|
eef147d810
|
modtrezorcrypto: add crypto.rfc6979 class
|
2017-04-03 21:29:52 +02:00 |
|
Pavol Rusnak
|
9c3c19959b
|
modtrezorcrypto: add Blake2b
|
2017-02-28 18:47:27 +01:00 |
|
Pavol Rusnak
|
f615e5f97f
|
trezor.crypto: more type annotations
|
2016-11-19 15:00:18 +01:00 |
|
Pavol Rusnak
|
88e46ca66f
|
trezor.crypto.rlp: add type annotations
|
2016-11-18 19:05:40 +01:00 |
|
Pavol Rusnak
|
ddd46f6f53
|
trezor.crypto: add RLP
|
2016-11-18 18:13:24 +01:00 |
|
Pavol Rusnak
|
32e699efdb
|
trezor.crypto.der: convert -> encode
small cleanup to new unit test
|
2016-11-08 20:25:55 +01:00 |
|
Pavol Rusnak
|
9fb6e328a0
|
trezor.crypto: add der module
|
2016-11-08 16:59:08 +01:00 |
|
Pavol Rusnak
|
c95ed063db
|
trezor.crypto.hashlib: remove HashIO (lives as HashWriter somewhere else)
|
2016-11-06 16:19:25 +01:00 |
|
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
|
56eb351816
|
trezor.crypto: add hashlib.HashIO
|
2016-11-01 15:23:37 +01:00 |
|
Pavol Rusnak
|
df5e770dec
|
trezor.crypto: refactor base58; allow custom digest function
|
2016-10-25 14:22:35 +02:00 |
|
Pavol Rusnak
|
7f5fa78f35
|
modtrezorcrypto: add ECDH for nist256p1, secp256k1, curve25519 (multiply method)
|
2016-10-22 00:51:52 +02:00 |
|
Jan Pochyla
|
abd20741f6
|
add seed module, GetPublicKey now works
|
2016-10-06 15:05:14 +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
|
fc05f25255
|
trezor.crypto.aes work in progres
|
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
|
35b26651ba
|
add trezor.crypto.random
|
2016-09-27 17:25:47 +02:00 |
|
Pavol Rusnak
|
9dc4813ec7
|
add trezor.crypto.ssss skeleton
|
2016-09-27 17:25:45 +02:00 |
|
Pavol Rusnak
|
910926e25c
|
add trezor.crypto.bip39
|
2016-09-27 17:24:17 +02:00 |
|
Pavol Rusnak
|
d268cf3b57
|
document python crypto apis
|
2016-09-27 17:24:11 +02:00 |
|
Pavol Rusnak
|
3d8f8a659a
|
rework documentation, proof of concept api docu generator
|
2016-09-27 17:24:10 +02:00 |
|
Pavol Rusnak
|
b7b57ae53e
|
new pbkdf2 api with update
|
2016-09-27 17:24:05 +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
|
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 |
|
Pavol Rusnak
|
a230d9d294
|
hashes and pbkdf2 now have api of hashlib
|
2016-09-27 17:22:53 +02:00 |
|
Pavol Rusnak
|
afbd1b0f22
|
use api similar to hmac in pbkdf2 module
|
2016-09-27 17:22:52 +02:00 |
|
Pavol Rusnak
|
5d929fba0e
|
add trezor.crypto.pbkdf2
|
2016-09-27 17:22:52 +02:00 |
|
Pavol Rusnak
|
8b9f2a95b3
|
add trezor.crypto.hmac
|
2016-09-27 17:22:52 +02:00 |
|
Pavol Rusnak
|
0ab2170cc6
|
add ripemd160
|
2016-09-27 17:22:51 +02:00 |
|
Pavol Rusnak
|
60d45a5d34
|
modify trezor.crypto.hash api to be similar to python api
|
2016-09-27 17:22:51 +02:00 |
|
Pavol Rusnak
|
7b702314a6
|
fix last commit
|
2016-09-27 17:22:51 +02:00 |
|
Pavol Rusnak
|
4eccc55c5c
|
add unit tests, add t.c.sha512
|
2016-09-27 17:22:50 +02:00 |
|
Pavol Rusnak
|
0d8112f6b4
|
split trezor.crypto into more modules
|
2016-09-27 17:22:50 +02:00 |
|