ashmoran / trezor-crypto

:orange_book: Heavily optimized cryptography algorithms for embedded devices.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

trezor-crypto

Build Status gitter

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 (supports secp256k1 and nist256p1 curves, uses RFC6979 for deterministic signatures)
  • ECDSA public key derivation + Base58 address representation
  • Ed25519 signing/verifying
  • HMAC-SHA256 and HMAC-SHA512
  • PBKDF2
  • RIPEMD-160
  • SHA256/SHA512
  • SHA3/Keccak
  • unit tests (using Check - check.sf.net; in tests.c)
  • tests against OpenSSL (in test-openssl.c)

Distibuted under MIT License.

About

:orange_book: Heavily optimized cryptography algorithms for embedded devices.

License:MIT License


Languages

Language:C 79.5%Language:C++ 18.0%Language:Python 1.3%Language:JavaScript 0.6%Language:Makefile 0.4%Language:CMake 0.1%Language:QMake 0.1%Language:HTML 0.0%