2013-10-08 12:18:35 +00:00
|
|
|
trezor-crypto
|
|
|
|
=============
|
2013-08-17 12:20:15 +00:00
|
|
|
|
2013-10-08 12:18:35 +00:00
|
|
|
Heavily optimized cryptography algorithms for embedded devices.
|
2013-08-17 12:20:15 +00:00
|
|
|
|
2013-10-08 12:18:35 +00:00
|
|
|
These include:
|
|
|
|
- Big Number (256 bit) Arithmetics
|
|
|
|
- BIP32 Hierarchical Deterministic Wallets
|
2013-10-08 15:25:28 +00:00
|
|
|
- Blowfish encryption/decryption (ECB)
|
|
|
|
- ECDSA signing/verifying (only hardcoded secp256k1 curve,
|
|
|
|
uses RFC6979 for deterministic signatures)
|
|
|
|
- ECDSA public key derivation + Base58 address representation
|
2013-10-08 12:18:35 +00:00
|
|
|
- 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)
|
2013-08-21 16:07:02 +00:00
|
|
|
|
2013-10-08 12:18:35 +00:00
|
|
|
Distibuted under MIT License.
|