Skip to content
Branch: master
Find file History
Latest commit 76eefd0 Oct 11, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
aes crypto: explicitly initialize variables Oct 9, 2019
chacha20poly1305 crypto: explicitly initialize variables Oct 9, 2019
ed25519-donna crypto: explicitly initialize variables Oct 9, 2019
gui all: rename TREZOR to Trezor where possible Jun 17, 2019
monero crypto: explicitly initialize variable length arrays Oct 9, 2019
tests crypto: refactor bip39 api Sep 23, 2019
tools MONOREPO MERGE trezor-crypto Apr 15, 2019
.gitignore toplevel: reorganize .gitignore files Apr 16, 2019
.gitmodules MONOREPO MERGE trezor-crypto Apr 15, 2019
.gitrepo git subrepo pull crypto Sep 12, 2019
AUTHORS MONOREPO MERGE trezor-crypto Apr 15, 2019
CONTRIBUTORS MONOREPO MERGE trezor-crypto Apr 15, 2019
LICENSE MONOREPO MERGE trezor-crypto Apr 15, 2019
Makefile all: let's use -Wno-missing-braces because clang does not respect Oct 11, 2019
README.md MONOREPO MERGE trezor-crypto Apr 15, 2019
address.c crypto: explicitly initialize variables Oct 9, 2019
address.h MONOREPO MERGE trezor-crypto Apr 15, 2019
base32.c crypto: explicitly initialize variable length arrays Oct 9, 2019
base32.h MONOREPO MERGE trezor-crypto Apr 15, 2019
base58.c crypto: explicitly initialize variable length arrays Oct 9, 2019
base58.h MONOREPO MERGE trezor-crypto Apr 15, 2019
bignum.c MONOREPO MERGE trezor-crypto Apr 15, 2019
bignum.h MONOREPO MERGE trezor-crypto Apr 15, 2019
bip32.c crypto: explicitly initialize variables Oct 9, 2019
bip32.h cardano: Implement SLIP-0023 and add SLIP-0039 support for Cardano. Jul 25, 2019
bip39.c crypto: explicitly initialize variables Oct 9, 2019
bip39.h crypto: refactor bip39 api Sep 23, 2019
bip39_english.h MONOREPO MERGE trezor-crypto Apr 15, 2019
blake256.c crypto: explicitly initialize variables Oct 9, 2019
blake256.h all: remove extraneous whitespace May 26, 2019
blake2_common.h MONOREPO MERGE trezor-crypto Apr 15, 2019
blake2b.c crypto: explicitly initialize variables Oct 9, 2019
blake2b.h MONOREPO MERGE trezor-crypto Apr 15, 2019
blake2s.c crypto: explicitly initialize variables Oct 9, 2019
blake2s.h MONOREPO MERGE trezor-crypto Apr 15, 2019
cash_addr.c crypto: explicitly initialize variables Oct 9, 2019
cash_addr.h MONOREPO MERGE trezor-crypto Apr 15, 2019
check_mem.h MONOREPO MERGE trezor-crypto Apr 15, 2019
curves.c MONOREPO MERGE trezor-crypto Apr 15, 2019
curves.h MONOREPO MERGE trezor-crypto Apr 15, 2019
ecdsa.c crypto: explicitly initialize variables Oct 9, 2019
ecdsa.h crypto/ecdsa: add compress_coords (#42) Apr 17, 2019
groestl.c crypto: explicitly initialize variables Oct 9, 2019
groestl.h MONOREPO MERGE trezor-crypto Apr 15, 2019
groestl_internal.h MONOREPO MERGE trezor-crypto Apr 15, 2019
hasher.c crypto: explicitly initialize variables Oct 9, 2019
hasher.h MONOREPO MERGE trezor-crypto Apr 15, 2019
hmac.c crypto: explicitly initialize variables Oct 9, 2019
hmac.h MONOREPO MERGE trezor-crypto Apr 15, 2019
hmac_drbg.c
hmac_drbg.h crypto/hmac_drbg: Fix style. Jun 11, 2019
memzero.c MONOREPO MERGE trezor-crypto Apr 15, 2019
memzero.h MONOREPO MERGE trezor-crypto Apr 15, 2019
nem.c
nem.h MONOREPO MERGE trezor-crypto Apr 15, 2019
nist256p1.c MONOREPO MERGE trezor-crypto Apr 15, 2019
nist256p1.h MONOREPO MERGE trezor-crypto Apr 15, 2019
nist256p1.table MONOREPO MERGE trezor-crypto Apr 15, 2019
options.h MONOREPO MERGE trezor-crypto Apr 15, 2019
pbkdf2.c crypto: explicitly initialize variables Oct 9, 2019
pbkdf2.h MONOREPO MERGE trezor-crypto Apr 15, 2019
rand.c crypto: explicitly initialize variables Oct 9, 2019
rand.h MONOREPO MERGE trezor-crypto Apr 15, 2019
rc4.c MONOREPO MERGE trezor-crypto Apr 15, 2019
rc4.h MONOREPO MERGE trezor-crypto Apr 15, 2019
rfc6979.c crypto: explicitly initialize variables Oct 9, 2019
rfc6979.h crypto/rfc6979: Use the new HMAC DRBG implementation in rfc6979.c. Re… Jun 11, 2019
ripemd160.c crypto: explicitly initialize variables Oct 9, 2019
ripemd160.h MONOREPO MERGE trezor-crypto Apr 15, 2019
script.c crypto: explicitly initialize variables Oct 9, 2019
script.h MONOREPO MERGE trezor-crypto Apr 15, 2019
secp256k1.c MONOREPO MERGE trezor-crypto Apr 15, 2019
secp256k1.h MONOREPO MERGE trezor-crypto Apr 15, 2019
secp256k1.table MONOREPO MERGE trezor-crypto Apr 15, 2019
segwit_addr.c crypto: explicitly initialize variables Oct 9, 2019
segwit_addr.h MONOREPO MERGE trezor-crypto Apr 15, 2019
setup.py MONOREPO MERGE trezor-crypto Apr 15, 2019
sha2.c crypto: explicitly initialize variables Oct 9, 2019
sha2.h MONOREPO MERGE trezor-crypto Apr 15, 2019
sha3.c crypto: explicitly initialize variables Oct 9, 2019
sha3.h MONOREPO MERGE trezor-crypto Apr 15, 2019
shamir.c crypto: explicitly initialize variable length arrays Oct 9, 2019
shamir.h crypto/shamir: Add copyright. Apr 18, 2019
slip39.c core: add slip39 keyboard Jun 23, 2019
slip39.h core: add slip39 keyboard Jun 23, 2019
slip39_wordlist.h core: add slip39 keyboard Jun 23, 2019

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:

You can’t perform that action at this time.