Willy-JL dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
..
aes dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
chacha20poly1305 dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
ed25519_donna dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
monero dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
AUTHORS dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
CONTRIBUTORS dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
LICENSE dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
Makefile dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
README.md dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
address.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
address.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
base32.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
base32.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
base58.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
base58.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
bignum.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
bignum.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
bip32.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
bip32.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
bip39.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
bip39.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
bip39_english.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
blake256.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
blake256.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
blake2_common.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
blake2b.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
blake2b.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
blake2s.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
blake2s.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
byte_order.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
cardano.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
cardano.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
cash_addr.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
cash_addr.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
chacha_drbg.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
chacha_drbg.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
check_mem.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
curves.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
curves.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
ecdsa.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
ecdsa.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
groestl.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
groestl.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
groestl_internal.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
hasher.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
hasher.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
hmac.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
hmac.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
hmac_drbg.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
hmac_drbg.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
memzero.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
memzero.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
nem.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
nem.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
nist256p1.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
nist256p1.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
nist256p1.table dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
options.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
pbkdf2.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
pbkdf2.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
rand.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
rand.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
rc4.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
rc4.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
rfc6979.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
rfc6979.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
ripemd160.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
ripemd160.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
script.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
script.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
secp256k1.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
secp256k1.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
secp256k1.table dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
segwit_addr.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
segwit_addr.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
setup.py dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
sha2.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
sha2.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
sha3.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
sha3.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
shamir.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
shamir.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
slip39.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
slip39.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos
slip39_wordlist.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins %!s(int64=2) %!d(string=hai) anos

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 (supports secp256k1 and nist256p1 curves, uses RFC6979 for deterministic signatures)
  • ECDSA public key derivation
  • BIP340 Schnorr signature signing/verifying
  • Base32 (RFC4648 and custom alphabets)
  • Base58 address representation
  • Ed25519 signing/verifying (also SHA3 and Keccak variants)
  • ECDH using secp256k1, nist256p1 and Curve25519
  • HMAC-SHA256 and HMAC-SHA512
  • PBKDF2
  • RIPEMD-160
  • SHA1
  • SHA2-256/SHA2-512
  • SHA3/Keccak
  • BLAKE2s/BLAKE2b
  • Chacha20-Poly1305
  • unit tests (using Check - check.sf.net; in test_check.c)
  • tests against OpenSSL (in test_openssl.c)
  • integrated Wycheproof tests

Distibuted under MIT License.

Some parts of the library come from external sources:

Repo source:

remote = git+ssh://git@github.com/trezor/trezor-crypto
branch = master
commit = 915b3dbbbf58c262865647728a3463b8785fc965
parent = 6ad3294f31a1e7484b43c104ff2880b965198cad
method = rebase
cmdver = 0.4.0