You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Pavol Rusnak f4fe7c9aa5
Merge pull request #21 from jhoenicke/master
10 years ago
gui
tools don't verify pubkey in xpubaddrgen 10 years ago
.gitignore prepare cython-TrezorCrypto for pip release 10 years ago
AUTHORS
CMakeLists.txt
LICENSE
MANIFEST.in prepare cython-TrezorCrypto for pip release 10 years ago
Makefile
README.md
TrezorCrypto.pyx prepare cython-TrezorCrypto for pip release 10 years ago
aes.h
aes_modes.c
aescrypt.c
aeskey.c
aesopt.h
aestab.c
aestab.h
base58.c
base58.h Add stdbool.h 10 years ago
bignum.c
bignum.h
bip32.c implement BIP32 cache 10 years ago
bip32.h add stdlib to header 10 years ago
bip39.c
bip39.h
bip39_english.h
c.pxd prepare cython-TrezorCrypto for pip release 10 years ago
ecdsa.c Fix RFC6979 generation of k. 10 years ago
ecdsa.h Add prototypes for private functions 10 years ago
hmac.c
hmac.h
options.h implement BIP32 cache 10 years ago
pbkdf2.c
pbkdf2.h
rand.c Add finalize_rand() to prove we have no leaks 10 years ago
rand.h Add `stdlib.h` to header. Needed for `size_t`. 10 years ago
ripemd160.c
ripemd160.h
secp256k1.c
secp256k1.h
setup.py prepare cython-TrezorCrypto for pip release 10 years ago
sha2.c
sha2.h
test-openssl.c
test.py prepare cython-TrezorCrypto for pip release 10 years ago
tests.c implement BIP32 cache 10 years ago

README.md

trezor-crypto

Heavily optimized cryptography algorithms for embedded devices.

These include:

  • AES/Rijndael encryption/decryption
  • Big Number (256 bit) Arithmetics
  • BIP32 Hierarchical Deterministic Wallets
  • BIP39 Mnemonic code
  • ECDSA signing/verifying (only hardcoded secp256k1 curve, uses RFC6979 for deterministic signatures)
  • ECDSA public key derivation + Base58 address representation
  • HMAC-SHA256 and HMAC-SHA512
  • PBKDF2
  • RIPEMD-160
  • SHA256/SHA512
  • unit tests (using Check - check.sf.net; in tests.c)
  • tests against OpenSSL (in test-openssl.c)

Distibuted under MIT License.