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 cb9ccc5cf4
remove all references to USE_PUBKEY_VALIDATE
10 years ago
gui
tools remove all references to USE_PUBKEY_VALIDATE 10 years ago
.gitignore
AUTHORS
CMakeLists.txt
LICENSE
MANIFEST.in
Makefile remove all references to USE_PUBKEY_VALIDATE 10 years ago
README.md
TrezorCrypto.pyx
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 Added comments to the tricky algorithms. 10 years ago
bignum.h
bip32.c remove all references to USE_PUBKEY_VALIDATE 10 years ago
bip32.h add stdlib to header 10 years ago
bip39.c Make word list const 10 years ago
bip39.h Make word list const 10 years ago
bip39_english.h Make word list const 10 years ago
c.pxd
ecdsa.c Always check for validity in ecdsa_read_pubkey. 10 years ago
ecdsa.h
hmac.c
hmac.h
options.h remove all references to USE_PUBKEY_VALIDATE 10 years ago
pbkdf2.c
pbkdf2.h
rand.c
rand.h Add `stdlib.h` to header. Needed for `size_t`. 10 years ago
ripemd160.c
ripemd160.h
secp256k1.c
secp256k1.h
setup.py remove all references to USE_PUBKEY_VALIDATE 10 years ago
sha2.c Remove unused static variable sha384_initial_hash_value. 10 years ago
sha2.h
test-openssl.c
test.py
tests.c remove all references to USE_PUBKEY_VALIDATE 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.