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 352bc42be2
use PBKDF2 for BIP39, add unit tests
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 use PBKDF2 for BIP39, add unit tests 11 years ago
README use PBKDF2 for BIP39, add unit tests 11 years ago
aes.h use fixed block size (128-bit) for AES again 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 add hdnode_coin_version to be able to set coin version from outside 11 years ago
bip32.h add hdnode_coin_version to be able to set coin version from outside 11 years ago
bip39.c use PBKDF2 for BIP39, add unit tests 11 years ago
bip39.h use PBKDF2 for BIP39, add 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
pbkdf2.c use PBKDF2 for BIP39, add unit tests 11 years ago
pbkdf2.h use PBKDF2 for BIP39, add unit tests 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 add check to mnemonic_from_data as well 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 use PBKDF2 for BIP39, add unit tests 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
- 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.