You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trezor-firmware/crypto
Marius Kjærstad 1d6ea33ec6
docs: switch http to https in links (#419)
5 years ago
..
aes MONOREPO MERGE trezor-crypto 5 years ago
chacha20poly1305 MONOREPO MERGE trezor-crypto 5 years ago
ed25519-donna docs: switch http to https in links (#419) 5 years ago
gui all: rename TREZOR to Trezor where possible 5 years ago
monero MONOREPO MERGE trezor-crypto 5 years ago
tests cardano: Implement SLIP-0023 and add SLIP-0039 support for Cardano. 5 years ago
tools MONOREPO MERGE trezor-crypto 5 years ago
.gitignore toplevel: reorganize .gitignore files 5 years ago
.gitmodules MONOREPO MERGE trezor-crypto 5 years ago
.gitrepo MONOREPO SUBREPO FILES 5 years ago
AUTHORS MONOREPO MERGE trezor-crypto 5 years ago
CONTRIBUTORS MONOREPO MERGE trezor-crypto 5 years ago
LICENSE MONOREPO MERGE trezor-crypto 5 years ago
Makefile core: add slip39 keyboard 5 years ago
README.md MONOREPO MERGE trezor-crypto 5 years ago
address.c MONOREPO MERGE trezor-crypto 5 years ago
address.h MONOREPO MERGE trezor-crypto 5 years ago
base32.c MONOREPO MERGE trezor-crypto 5 years ago
base32.h MONOREPO MERGE trezor-crypto 5 years ago
base58.c MONOREPO MERGE trezor-crypto 5 years ago
base58.h MONOREPO MERGE trezor-crypto 5 years ago
bignum.c MONOREPO MERGE trezor-crypto 5 years ago
bignum.h MONOREPO MERGE trezor-crypto 5 years ago
bip32.c cardano: Implement SLIP-0023 and add SLIP-0039 support for Cardano. 5 years ago
bip32.h cardano: Implement SLIP-0023 and add SLIP-0039 support for Cardano. 5 years ago
bip39.c MONOREPO MERGE trezor-crypto 5 years ago
bip39.h MONOREPO MERGE trezor-crypto 5 years ago
bip39_english.h MONOREPO MERGE trezor-crypto 5 years ago
blake2_common.h MONOREPO MERGE trezor-crypto 5 years ago
blake2b.c MONOREPO MERGE trezor-crypto 5 years ago
blake2b.h MONOREPO MERGE trezor-crypto 5 years ago
blake2s.c MONOREPO MERGE trezor-crypto 5 years ago
blake2s.h MONOREPO MERGE trezor-crypto 5 years ago
blake256.c all: remove extraneous whitespace 5 years ago
blake256.h all: remove extraneous whitespace 5 years ago
cash_addr.c MONOREPO MERGE trezor-crypto 5 years ago
cash_addr.h MONOREPO MERGE trezor-crypto 5 years ago
check_mem.h MONOREPO MERGE trezor-crypto 5 years ago
curves.c MONOREPO MERGE trezor-crypto 5 years ago
curves.h MONOREPO MERGE trezor-crypto 5 years ago
ecdsa.c crypto/rfc6979: Use the new HMAC DRBG implementation in rfc6979.c. Remove code duplication between rfc6979.c and ecdsa.c. 5 years ago
ecdsa.h crypto/ecdsa: add compress_coords (#42) 5 years ago
groestl.c MONOREPO MERGE trezor-crypto 5 years ago
groestl.h MONOREPO MERGE trezor-crypto 5 years ago
groestl_internal.h MONOREPO MERGE trezor-crypto 5 years ago
hasher.c MONOREPO MERGE trezor-crypto 5 years ago
hasher.h MONOREPO MERGE trezor-crypto 5 years ago
hmac.c MONOREPO MERGE trezor-crypto 5 years ago
hmac.h MONOREPO MERGE trezor-crypto 5 years ago
hmac_drbg.c crypto/hmac_drbg: Fix buffer overflow. 5 years ago
hmac_drbg.h crypto/hmac_drbg: Fix style. 5 years ago
memzero.c MONOREPO MERGE trezor-crypto 5 years ago
memzero.h MONOREPO MERGE trezor-crypto 5 years ago
nem.c MONOREPO MERGE trezor-crypto 5 years ago
nem.h MONOREPO MERGE trezor-crypto 5 years ago
nist256p1.c MONOREPO MERGE trezor-crypto 5 years ago
nist256p1.h MONOREPO MERGE trezor-crypto 5 years ago
nist256p1.table MONOREPO MERGE trezor-crypto 5 years ago
options.h MONOREPO MERGE trezor-crypto 5 years ago
pbkdf2.c MONOREPO MERGE trezor-crypto 5 years ago
pbkdf2.h MONOREPO MERGE trezor-crypto 5 years ago
rand.c MONOREPO MERGE trezor-crypto 5 years ago
rand.h MONOREPO MERGE trezor-crypto 5 years ago
rc4.c MONOREPO MERGE trezor-crypto 5 years ago
rc4.h MONOREPO MERGE trezor-crypto 5 years ago
rfc6979.c crypto/rfc6979: Use the new HMAC DRBG implementation in rfc6979.c. Remove code duplication between rfc6979.c and ecdsa.c. 5 years ago
rfc6979.h crypto/rfc6979: Use the new HMAC DRBG implementation in rfc6979.c. Remove code duplication between rfc6979.c and ecdsa.c. 5 years ago
ripemd160.c MONOREPO MERGE trezor-crypto 5 years ago
ripemd160.h MONOREPO MERGE trezor-crypto 5 years ago
script.c MONOREPO MERGE trezor-crypto 5 years ago
script.h MONOREPO MERGE trezor-crypto 5 years ago
secp256k1.c MONOREPO MERGE trezor-crypto 5 years ago
secp256k1.h MONOREPO MERGE trezor-crypto 5 years ago
secp256k1.table MONOREPO MERGE trezor-crypto 5 years ago
segwit_addr.c MONOREPO MERGE trezor-crypto 5 years ago
segwit_addr.h MONOREPO MERGE trezor-crypto 5 years ago
setup.py MONOREPO MERGE trezor-crypto 5 years ago
sha2.c all: remove extraneous whitespace 5 years ago
sha2.h MONOREPO MERGE trezor-crypto 5 years ago
sha3.c MONOREPO MERGE trezor-crypto 5 years ago
sha3.h MONOREPO MERGE trezor-crypto 5 years ago
shamir.c style: improve makefile output, format test files 5 years ago
shamir.h crypto/shamir: Add copyright. 5 years ago
slip39.c core: add slip39 keyboard 5 years ago
slip39.h core: add slip39 keyboard 5 years ago
slip39_wordlist.h core: add slip39 keyboard 5 years ago

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
  • 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: