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 150c770e4e
xprvnode -> hdnode, add hdnode_from_pub function
11 years ago
.gitignore move speed tests to unit testing suite 11 years ago
AUTHORS import sources 11 years ago
LICENSE import sources 11 years ago
Makefile bip39 implementation with unit tests 11 years ago
README bip39 implementation with unit tests 11 years ago
aes.h replace blowfish with rijndael 11 years ago
aescrypt.c replace blowfish with rijndael 11 years ago
aeskey.c replace blowfish with rijndael 11 years ago
aesopt.h replace blowfish with rijndael 11 years ago
aestab.c replace blowfish with rijndael 11 years ago
bignum.c use canonical signatures (if S > Order/2: S = Order - S) 11 years ago
bignum.h define BN_PRINT if not defined 11 years ago
bip32.c xprvnode -> hdnode, add hdnode_from_pub function 11 years ago
bip32.h xprvnode -> hdnode, add hdnode_from_pub function 11 years ago
bip39.c bip39 implementation with unit tests 11 years ago
bip39.h bip39 implementation with unit tests 11 years ago
bip39_english.h bip39 implementation with unit tests 11 years ago
ecdsa.c extract xprv_fill_public method 11 years ago
ecdsa.h extract xprv_fill_public method 11 years ago
hmac.c add hmac-sha256/512 11 years ago
hmac.h add hmac-sha256/512 11 years ago
rand.c use /dev/urandom in example 11 years ago
rand.h use /dev/urandom in example 11 years ago
ripemd160.c use #if instead of #ifdef for conditional macros 11 years ago
ripemd160.h add ripemd160 11 years ago
secp256k1.c use canonical signatures (if S > Order/2: S = Order - S) 11 years ago
secp256k1.h use canonical signatures (if S > Order/2: S = Order - S) 11 years ago
sha2.c refactor code -> bignum.c/h 11 years ago
sha2.h move declaration 11 years ago
test-openssl.c renamed to trezor-crypto, modified readme 11 years ago
tests.c xprvnode -> hdnode, add hdnode_from_pub function 11 years ago

README

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
- 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.