2016-05-11 19:15:48 +00:00
|
|
|
# trezor-crypto
|
2013-08-17 12:20:15 +00:00
|
|
|
|
2016-05-11 19:15:48 +00:00
|
|
|
[![Build Status](https://travis-ci.org/trezor/trezor-crypto.svg?branch=master)](https://travis-ci.org/trezor/trezor-crypto) [![gitter](https://badges.gitter.im/trezor/community.svg)](https://gitter.im/trezor/community)
|
2015-07-29 18:53:36 +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:
|
2013-10-10 12:58:59 +00:00
|
|
|
- AES/Rijndael encryption/decryption
|
2013-10-08 12:18:35 +00:00
|
|
|
- Big Number (256 bit) Arithmetics
|
|
|
|
- BIP32 Hierarchical Deterministic Wallets
|
2013-11-08 00:24:47 +00:00
|
|
|
- BIP39 Mnemonic code
|
2015-07-07 07:38:16 +00:00
|
|
|
- ECDSA signing/verifying (supports secp256k1 and nist256p1 curves,
|
2013-10-08 15:25:28 +00:00
|
|
|
uses RFC6979 for deterministic signatures)
|
|
|
|
- ECDSA public key derivation + Base58 address representation
|
2016-04-26 00:15:43 +00:00
|
|
|
- Ed25519 signing/verifying
|
2016-10-21 22:29:14 +00:00
|
|
|
- ECDH using secp256k1, nist256p1 and Curve25519
|
2013-10-08 12:18:35 +00:00
|
|
|
- HMAC-SHA256 and HMAC-SHA512
|
2013-12-09 15:21:42 +00:00
|
|
|
- PBKDF2
|
2013-10-08 12:18:35 +00:00
|
|
|
- RIPEMD-160
|
|
|
|
- SHA256/SHA512
|
2016-04-26 09:09:29 +00:00
|
|
|
- SHA3/Keccak
|
2016-11-01 15:22:20 +00:00
|
|
|
- BLAKE2s
|
2013-10-08 12:18:35 +00:00
|
|
|
- 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.
|