Willy-JL e2962d9619 Fixes for `-Wundef` 1 vuosi sitten
..
aes dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
chacha20poly1305 dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
ed25519_donna e2962d9619 Fixes for `-Wundef` 1 vuosi sitten
monero e2962d9619 Fixes for `-Wundef` 1 vuosi sitten
AUTHORS dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
CONTRIBUTORS dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
LICENSE dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
Makefile dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
README.md dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
address.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
address.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
base32.c 0a2b6900fe C20 fixes 1 vuosi sitten
base32.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
base58.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
base58.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
bignum.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
bignum.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
bip32.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
bip32.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
bip39.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
bip39.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
bip39_english.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
blake256.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
blake256.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
blake2_common.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
blake2b.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
blake2b.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
blake2s.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
blake2s.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
byte_order.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
cardano.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
cardano.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
cash_addr.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
cash_addr.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
chacha_drbg.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
chacha_drbg.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
check_mem.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
curves.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
curves.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
ecdsa.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
ecdsa.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
groestl.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
groestl.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
groestl_internal.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
hasher.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
hasher.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
hmac.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
hmac.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
hmac_drbg.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
hmac_drbg.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
memzero.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
memzero.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
nem.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
nem.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
nist256p1.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
nist256p1.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
nist256p1.table dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
options.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
pbkdf2.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
pbkdf2.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
rand.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
rand.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
rc4.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
rc4.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
rfc6979.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
rfc6979.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
ripemd160.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
ripemd160.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
script.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
script.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
secp256k1.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
secp256k1.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
secp256k1.table dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
segwit_addr.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
segwit_addr.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
setup.py dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
sha2.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
sha2.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
sha3.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
sha3.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
shamir.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
shamir.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
slip39.c dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
slip39.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten
slip39_wordlist.h dafe1fd7be Add flipbip from https://github.com/xMasterX/all-the-plugins 2 vuotta sitten

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