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 3556c74740
fix build on _WIN32
9 years ago
gui
tools
.gitignore remove scons dependency, build shared library with Makefile 9 years ago
.travis.yml travis: add pytest (for test_curves.py) 9 years ago
AUTHORS
CMakeLists.txt
CONTRIBUTORS
LICENSE
MANIFEST.in
Makefile remove scons dependency, build shared library with Makefile 9 years ago
README.md README: add travis badge 9 years ago
TrezorCrypto.pyx
aes.h
aes_modes.c
aescrypt.c
aeskey.c
aesopt.h
aestab.c
aestab.h
base58.c
base58.h
bignum.c bignum: constant time implementation for bn_mod() 9 years ago
bignum.h Extended comments, new function bn_add, a bug fix. 9 years ago
bip32.c Extended comments, new function bn_add, a bug fix. 9 years ago
bip32.h
bip39.c
bip39.h
bip39_english.h
c.pxd
ecdsa.c Added myself to copyright lines. 9 years ago
ecdsa.h New jacobian_add that handles doubling. 9 years ago
hmac.c
hmac.h
macros.h
nist256p1.c New jacobian_add that handles doubling. 9 years ago
nist256p1.h
nist256p1.table
options.h
pbkdf2.c
pbkdf2.h
rand.c fix build on _WIN32 9 years ago
rand.h
ripemd160.c
ripemd160.h
secp256k1.c New jacobian_add that handles doubling. 9 years ago
secp256k1.h
secp256k1.table
setup.py
sha2.c
sha2.h
test-openssl.c
test.py
test_curves.py bignum: add specific tests for bn_mod() edge cases 9 years ago
tests.c Fixes a bug in the test_pbkdf2_hmac_sha256 test. 9 years ago

README.md

trezor-crypto

Build Status

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 (supports secp256k1 and nist256p1 curves, 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.