MX 1126bf860c update apps 2 år sedan
..
aes a68d8db0bc more updates 2 år sedan
chacha20poly1305 a68d8db0bc more updates 2 år sedan
ed25519_donna a68d8db0bc more updates 2 år sedan
monero a68d8db0bc more updates 2 år sedan
AUTHORS a68d8db0bc more updates 2 år sedan
CONTRIBUTORS 1126bf860c update apps 2 år sedan
LICENSE a68d8db0bc more updates 2 år sedan
Makefile a68d8db0bc more updates 2 år sedan
README.md a68d8db0bc more updates 2 år sedan
address.c a68d8db0bc more updates 2 år sedan
address.h a68d8db0bc more updates 2 år sedan
base32.c a68d8db0bc more updates 2 år sedan
base32.h a68d8db0bc more updates 2 år sedan
base58.c a68d8db0bc more updates 2 år sedan
base58.h a68d8db0bc more updates 2 år sedan
bignum.c a68d8db0bc more updates 2 år sedan
bignum.h a68d8db0bc more updates 2 år sedan
bip32.c 1126bf860c update apps 2 år sedan
bip32.h a68d8db0bc more updates 2 år sedan
bip39.c a68d8db0bc more updates 2 år sedan
bip39.h a68d8db0bc more updates 2 år sedan
bip39_english.c a68d8db0bc more updates 2 år sedan
blake256.c a68d8db0bc more updates 2 år sedan
blake256.h a68d8db0bc more updates 2 år sedan
blake2_common.h a68d8db0bc more updates 2 år sedan
blake2b.c a68d8db0bc more updates 2 år sedan
blake2b.h a68d8db0bc more updates 2 år sedan
blake2s.c a68d8db0bc more updates 2 år sedan
blake2s.h a68d8db0bc more updates 2 år sedan
byte_order.h a68d8db0bc more updates 2 år sedan
cardano.c a68d8db0bc more updates 2 år sedan
cardano.h a68d8db0bc more updates 2 år sedan
cash_addr.c a68d8db0bc more updates 2 år sedan
cash_addr.h a68d8db0bc more updates 2 år sedan
chacha_drbg.c a68d8db0bc more updates 2 år sedan
chacha_drbg.h a68d8db0bc more updates 2 år sedan
check_mem.h a68d8db0bc more updates 2 år sedan
curves.c a68d8db0bc more updates 2 år sedan
curves.h a68d8db0bc more updates 2 år sedan
ecdsa.c a68d8db0bc more updates 2 år sedan
ecdsa.h a68d8db0bc more updates 2 år sedan
groestl.c a68d8db0bc more updates 2 år sedan
groestl.h a68d8db0bc more updates 2 år sedan
groestl_internal.h a68d8db0bc more updates 2 år sedan
hasher.c a68d8db0bc more updates 2 år sedan
hasher.h a68d8db0bc more updates 2 år sedan
hmac.c a68d8db0bc more updates 2 år sedan
hmac.h a68d8db0bc more updates 2 år sedan
hmac_drbg.c a68d8db0bc more updates 2 år sedan
hmac_drbg.h a68d8db0bc more updates 2 år sedan
memzero.c 1126bf860c update apps 2 år sedan
memzero.h a68d8db0bc more updates 2 år sedan
nem.c a68d8db0bc more updates 2 år sedan
nem.h a68d8db0bc more updates 2 år sedan
nist256p1.c a68d8db0bc more updates 2 år sedan
nist256p1.h a68d8db0bc more updates 2 år sedan
nist256p1.table a68d8db0bc more updates 2 år sedan
options.h 1126bf860c update apps 2 år sedan
pbkdf2.c a68d8db0bc more updates 2 år sedan
pbkdf2.h a68d8db0bc more updates 2 år sedan
rand.c 1126bf860c update apps 2 år sedan
rand.h 1126bf860c update apps 2 år sedan
rc4.c a68d8db0bc more updates 2 år sedan
rc4.h a68d8db0bc more updates 2 år sedan
rfc6979.c a68d8db0bc more updates 2 år sedan
rfc6979.h a68d8db0bc more updates 2 år sedan
ripemd160.c a68d8db0bc more updates 2 år sedan
ripemd160.h a68d8db0bc more updates 2 år sedan
script.c a68d8db0bc more updates 2 år sedan
script.h a68d8db0bc more updates 2 år sedan
secp256k1.c a68d8db0bc more updates 2 år sedan
secp256k1.h a68d8db0bc more updates 2 år sedan
secp256k1.table a68d8db0bc more updates 2 år sedan
segwit_addr.c a68d8db0bc more updates 2 år sedan
segwit_addr.h a68d8db0bc more updates 2 år sedan
setup.py a68d8db0bc more updates 2 år sedan
sha2.c a68d8db0bc more updates 2 år sedan
sha2.h a68d8db0bc more updates 2 år sedan
sha3.c a68d8db0bc more updates 2 år sedan
sha3.h a68d8db0bc more updates 2 år sedan
shamir.c a68d8db0bc more updates 2 år sedan
shamir.h a68d8db0bc more updates 2 år sedan
slip39.c a68d8db0bc more updates 2 år sedan
slip39.h a68d8db0bc more updates 2 år sedan
slip39_wordlist.h a68d8db0bc more updates 2 år sedan

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