Struan Clark 70599120ab delete coins pkg, clean up xmr 2 lat temu
..
aes f889441cd8 port to work with flipper and fbt 2 lat temu
chacha20poly1305 b3236278d9 adding trezor crypto lib 2 lat temu
ed25519-donna f889441cd8 port to work with flipper and fbt 2 lat temu
monero 70599120ab delete coins pkg, clean up xmr 2 lat temu
.gitignore b3236278d9 adding trezor crypto lib 2 lat temu
.gitrepo b3236278d9 adding trezor crypto lib 2 lat temu
AUTHORS b3236278d9 adding trezor crypto lib 2 lat temu
CONTRIBUTORS b3236278d9 adding trezor crypto lib 2 lat temu
LICENSE b3236278d9 adding trezor crypto lib 2 lat temu
Makefile b3236278d9 adding trezor crypto lib 2 lat temu
README.md b3236278d9 adding trezor crypto lib 2 lat temu
address.c b3236278d9 adding trezor crypto lib 2 lat temu
address.h b3236278d9 adding trezor crypto lib 2 lat temu
base32.c b3236278d9 adding trezor crypto lib 2 lat temu
base32.h b3236278d9 adding trezor crypto lib 2 lat temu
base58.c b3236278d9 adding trezor crypto lib 2 lat temu
base58.h b3236278d9 adding trezor crypto lib 2 lat temu
bignum.c b3236278d9 adding trezor crypto lib 2 lat temu
bignum.h b3236278d9 adding trezor crypto lib 2 lat temu
bip32.c b3236278d9 adding trezor crypto lib 2 lat temu
bip32.h b3236278d9 adding trezor crypto lib 2 lat temu
bip39.c 0443a1e11a updating to add beginnings of key generation 2 lat temu
bip39.h b3236278d9 adding trezor crypto lib 2 lat temu
bip39_english.c b3236278d9 adding trezor crypto lib 2 lat temu
blake256.c b3236278d9 adding trezor crypto lib 2 lat temu
blake256.h b3236278d9 adding trezor crypto lib 2 lat temu
blake2_common.h b3236278d9 adding trezor crypto lib 2 lat temu
blake2b.c b3236278d9 adding trezor crypto lib 2 lat temu
blake2b.h b3236278d9 adding trezor crypto lib 2 lat temu
blake2s.c b3236278d9 adding trezor crypto lib 2 lat temu
blake2s.h b3236278d9 adding trezor crypto lib 2 lat temu
byte_order.h b3236278d9 adding trezor crypto lib 2 lat temu
cardano.c b3236278d9 adding trezor crypto lib 2 lat temu
cardano.h b3236278d9 adding trezor crypto lib 2 lat temu
cash_addr.c b3236278d9 adding trezor crypto lib 2 lat temu
cash_addr.h b3236278d9 adding trezor crypto lib 2 lat temu
chacha_drbg.c b3236278d9 adding trezor crypto lib 2 lat temu
chacha_drbg.h b3236278d9 adding trezor crypto lib 2 lat temu
check_mem.h b3236278d9 adding trezor crypto lib 2 lat temu
curves.c b3236278d9 adding trezor crypto lib 2 lat temu
curves.h b3236278d9 adding trezor crypto lib 2 lat temu
ecdsa.c b3236278d9 adding trezor crypto lib 2 lat temu
ecdsa.h b3236278d9 adding trezor crypto lib 2 lat temu
groestl.c b3236278d9 adding trezor crypto lib 2 lat temu
groestl.h b3236278d9 adding trezor crypto lib 2 lat temu
groestl_internal.h b3236278d9 adding trezor crypto lib 2 lat temu
hasher.c b3236278d9 adding trezor crypto lib 2 lat temu
hasher.h b3236278d9 adding trezor crypto lib 2 lat temu
hmac.c b3236278d9 adding trezor crypto lib 2 lat temu
hmac.h b3236278d9 adding trezor crypto lib 2 lat temu
hmac_drbg.c b3236278d9 adding trezor crypto lib 2 lat temu
hmac_drbg.h f889441cd8 port to work with flipper and fbt 2 lat temu
memzero.c f889441cd8 port to work with flipper and fbt 2 lat temu
memzero.h b3236278d9 adding trezor crypto lib 2 lat temu
nem.c b3236278d9 adding trezor crypto lib 2 lat temu
nem.h b3236278d9 adding trezor crypto lib 2 lat temu
nist256p1.c b3236278d9 adding trezor crypto lib 2 lat temu
nist256p1.h b3236278d9 adding trezor crypto lib 2 lat temu
nist256p1.table b3236278d9 adding trezor crypto lib 2 lat temu
options.h 5f7063df47 turn of precomputed curves for memory 2 lat temu
pbkdf2.c b3236278d9 adding trezor crypto lib 2 lat temu
pbkdf2.h b3236278d9 adding trezor crypto lib 2 lat temu
rand.c deb57aa5ca updating crypto/rand to use Flipper Zero specific hardware RNG 2 lat temu
rand.h b3236278d9 adding trezor crypto lib 2 lat temu
rc4.c b3236278d9 adding trezor crypto lib 2 lat temu
rc4.h b3236278d9 adding trezor crypto lib 2 lat temu
rfc6979.c b3236278d9 adding trezor crypto lib 2 lat temu
rfc6979.h b3236278d9 adding trezor crypto lib 2 lat temu
ripemd160.c b3236278d9 adding trezor crypto lib 2 lat temu
ripemd160.h b3236278d9 adding trezor crypto lib 2 lat temu
script.c b3236278d9 adding trezor crypto lib 2 lat temu
script.h b3236278d9 adding trezor crypto lib 2 lat temu
secp256k1.c 70599120ab delete coins pkg, clean up xmr 2 lat temu
secp256k1.h b3236278d9 adding trezor crypto lib 2 lat temu
secp256k1.table b3236278d9 adding trezor crypto lib 2 lat temu
segwit_addr.c b3236278d9 adding trezor crypto lib 2 lat temu
segwit_addr.h b3236278d9 adding trezor crypto lib 2 lat temu
setup.py b3236278d9 adding trezor crypto lib 2 lat temu
sha2.c b3236278d9 adding trezor crypto lib 2 lat temu
sha2.h b3236278d9 adding trezor crypto lib 2 lat temu
sha3.c b3236278d9 adding trezor crypto lib 2 lat temu
sha3.h b3236278d9 adding trezor crypto lib 2 lat temu
shamir.c b3236278d9 adding trezor crypto lib 2 lat temu
shamir.h b3236278d9 adding trezor crypto lib 2 lat temu
slip39.c b3236278d9 adding trezor crypto lib 2 lat temu
slip39.h b3236278d9 adding trezor crypto lib 2 lat temu
slip39_wordlist.h b3236278d9 adding trezor crypto lib 2 lat temu

README.md

trezor-crypto

Build Status gitter

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: