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 430a5087c8
introduce MAX_ADDR_RAW_SIZE and MAX_WIF_RAW_SIZE macros
8 years ago
ed25519-donna
emscripten add node_modules to .gitignore 8 years ago
gui gui: update for newer HDNode API (#68) 8 years ago
tools update bip39bruteforce tool 8 years ago
.gitignore gitignore: ignore *.d files 8 years ago
.travis.yml
AUTHORS
CMakeLists.txt Add sha3 to cmake 8 years ago
CONTRIBUTORS bignum: introduce read/write_le 8 years ago
LICENSE
Makefile Add tests for ecdsa_get_ethereum_pubkeyhash() 8 years ago
README.md
aes.h
aes_modes.c
aescrypt.c
aeskey.c
aesopt.h
aestab.c
aestab.h
base58.c
base58.h
bignum.c bignum: introduce bn_one 8 years ago
bignum.h bignum: introduce bn_one 8 years ago
bip32.c add support for multibyte address versions 8 years ago
bip32.h add support for multibyte address versions 8 years ago
bip39.c Smoother progress bar for wakeup 8 years ago
bip39.h
bip39_english.h
curves.c
curves.h
ecdsa.c introduce MAX_ADDR_RAW_SIZE and MAX_WIF_RAW_SIZE macros 8 years ago
ecdsa.h introduce MAX_ADDR_RAW_SIZE and MAX_WIF_RAW_SIZE macros 8 years ago
hmac.c Faster PBKDF2 by reusing intermediate results. 8 years ago
hmac.h Faster PBKDF2 by reusing intermediate results. 8 years ago
macros.h
nist256p1.c
nist256p1.h
nist256p1.table
options.h Implement ecdsa_get_ethereum_pubkeyhash() 8 years ago
pbkdf2.c Faster PBKDF2 by reusing intermediate results. 8 years ago
pbkdf2.h Faster PBKDF2 by reusing intermediate results. 8 years ago
rand.c
rand.h
ripemd160.c
ripemd160.h
script.c
script.h
secp256k1.c
secp256k1.h
secp256k1.table
setup.py
sha2.c Simplified sha256_Final/sha512_Last 8 years ago
sha2.h Faster PBKDF2 by reusing intermediate results. 8 years ago
sha3.c Use proper option for USE_KECCAK via options.h 8 years ago
sha3.h Use proper option for USE_KECCAK via options.h 8 years ago
test-openssl.c Reworked rfc6979 signing. (#72) 8 years ago
test_curves.py Reworked rfc6979 signing. (#72) 8 years ago
test_speed.c Reworked rfc6979 signing. (#72) 8 years ago
tests.c introduce MAX_ADDR_RAW_SIZE and MAX_WIF_RAW_SIZE macros 8 years ago

README.md

trezor-crypto

Build Status gitter

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
  • Ed25519 signing/verifying
  • HMAC-SHA256 and HMAC-SHA512
  • PBKDF2
  • RIPEMD-160
  • SHA256/SHA512
  • SHA3/Keccak
  • unit tests (using Check - check.sf.net; in tests.c)
  • tests against OpenSSL (in test-openssl.c)

Distibuted under MIT License.