MX ee022710ef update apps há 2 anos atrás
..
aes 0bf9767883 API 31 / unzip sources há 2 anos atrás
chacha20poly1305 0bf9767883 API 31 / unzip sources há 2 anos atrás
ed25519_donna 0bf9767883 API 31 / unzip sources há 2 anos atrás
monero 0bf9767883 API 31 / unzip sources há 2 anos atrás
AUTHORS 0bf9767883 API 31 / unzip sources há 2 anos atrás
CONTRIBUTORS 0bf9767883 API 31 / unzip sources há 2 anos atrás
LICENSE 0bf9767883 API 31 / unzip sources há 2 anos atrás
Makefile 0bf9767883 API 31 / unzip sources há 2 anos atrás
README.md 0bf9767883 API 31 / unzip sources há 2 anos atrás
address.c 0bf9767883 API 31 / unzip sources há 2 anos atrás
address.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
base32.c 0bf9767883 API 31 / unzip sources há 2 anos atrás
base32.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
base58.c 0bf9767883 API 31 / unzip sources há 2 anos atrás
base58.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
bignum.c 0bf9767883 API 31 / unzip sources há 2 anos atrás
bignum.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
bip32.c 0bf9767883 API 31 / unzip sources há 2 anos atrás
bip32.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
bip39.c 0bf9767883 API 31 / unzip sources há 2 anos atrás
bip39.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
bip39_english.c 0bf9767883 API 31 / unzip sources há 2 anos atrás
blake256.c 0bf9767883 API 31 / unzip sources há 2 anos atrás
blake256.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
blake2_common.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
blake2b.c 0bf9767883 API 31 / unzip sources há 2 anos atrás
blake2b.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
blake2s.c 0bf9767883 API 31 / unzip sources há 2 anos atrás
blake2s.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
byte_order.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
cardano.c 0bf9767883 API 31 / unzip sources há 2 anos atrás
cardano.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
cash_addr.c 0bf9767883 API 31 / unzip sources há 2 anos atrás
cash_addr.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
chacha_drbg.c 0bf9767883 API 31 / unzip sources há 2 anos atrás
chacha_drbg.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
check_mem.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
curves.c 0bf9767883 API 31 / unzip sources há 2 anos atrás
curves.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
ecdsa.c 0bf9767883 API 31 / unzip sources há 2 anos atrás
ecdsa.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
groestl.c 0bf9767883 API 31 / unzip sources há 2 anos atrás
groestl.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
groestl_internal.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
hasher.c 0bf9767883 API 31 / unzip sources há 2 anos atrás
hasher.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
hmac.c 0bf9767883 API 31 / unzip sources há 2 anos atrás
hmac.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
hmac_drbg.c 0bf9767883 API 31 / unzip sources há 2 anos atrás
hmac_drbg.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
memzero.c 0bf9767883 API 31 / unzip sources há 2 anos atrás
memzero.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
nem.c 0bf9767883 API 31 / unzip sources há 2 anos atrás
nem.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
nist256p1.c 0bf9767883 API 31 / unzip sources há 2 anos atrás
nist256p1.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
nist256p1.table 0bf9767883 API 31 / unzip sources há 2 anos atrás
options.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
pbkdf2.c 0bf9767883 API 31 / unzip sources há 2 anos atrás
pbkdf2.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
rand.c ee022710ef update apps há 2 anos atrás
rand.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
rc4.c 0bf9767883 API 31 / unzip sources há 2 anos atrás
rc4.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
rfc6979.c 0bf9767883 API 31 / unzip sources há 2 anos atrás
rfc6979.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
ripemd160.c 0bf9767883 API 31 / unzip sources há 2 anos atrás
ripemd160.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
script.c 0bf9767883 API 31 / unzip sources há 2 anos atrás
script.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
secp256k1.c 0bf9767883 API 31 / unzip sources há 2 anos atrás
secp256k1.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
secp256k1.table 0bf9767883 API 31 / unzip sources há 2 anos atrás
segwit_addr.c 0bf9767883 API 31 / unzip sources há 2 anos atrás
segwit_addr.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
setup.py 0bf9767883 API 31 / unzip sources há 2 anos atrás
sha2.c 0bf9767883 API 31 / unzip sources há 2 anos atrás
sha2.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
sha3.c 0bf9767883 API 31 / unzip sources há 2 anos atrás
sha3.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
shamir.c 0bf9767883 API 31 / unzip sources há 2 anos atrás
shamir.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
slip39.c 0bf9767883 API 31 / unzip sources há 2 anos atrás
slip39.h 0bf9767883 API 31 / unzip sources há 2 anos atrás
slip39_wordlist.h 0bf9767883 API 31 / unzip sources há 2 anos atrás

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