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

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