1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-04-09 20:06:19 +00:00
Go to file
2018-04-30 23:55:11 +01:00
aes
chacha20poly1305
ed25519-donna ed25519-donna/modm: comment typo fix 2018-04-30 23:55:11 +01:00
gui
tests remove debug printfs from test_check_cashaddr 2018-04-23 15:20:01 +01:00
tools hasher: Replace hasher_Double with HASHER_*D 2018-04-03 18:28:06 +02:00
.gitignore move tests into tests/ 2018-04-05 13:26:59 +02:00
.travis.yml use python3 in travis 2018-04-05 14:52:59 +02:00
address.c Fixed undefined behavior 2018-03-27 15:04:55 +02:00
address.h
AUTHORS
base32.c
base32.h
base58.c hasher: Replace hasher_Double with HASHER_*D 2018-04-03 18:28:06 +02:00
base58.h
bignum.c Reworked bn_format. 2018-04-05 09:24:41 +02:00
bignum.h
bip32.c Add GRS curve 2018-04-23 16:15:59 +02:00
bip32.h bip32/nem: IV is copied before encryption 2018-04-03 18:29:03 +02:00
bip39_english.h
bip39.c introduce and use memzero instead of explicit_bzero 2018-01-18 15:18:09 +01:00
bip39.h
blake2_common.h
blake2b.c introduce and use memzero instead of explicit_bzero 2018-01-18 15:18:09 +01:00
blake2b.h
blake2s.c introduce and use memzero instead of explicit_bzero 2018-01-18 15:18:09 +01:00
blake2s.h
blake256.c
blake256.h
cash_addr.c Added cashaddr support (#120) 2018-04-05 11:15:05 +02:00
cash_addr.h Added cashaddr support (#120) 2018-04-05 11:15:05 +02:00
check_mem.h
CONTRIBUTORS
curves.c Add GRS curve 2018-04-23 16:15:59 +02:00
curves.h Add GRS curve 2018-04-23 16:15:59 +02:00
ecdsa.c hasher: Replace hasher_Double with HASHER_*D 2018-04-03 18:28:06 +02:00
ecdsa.h Added cashaddr support (#120) 2018-04-05 11:15:05 +02:00
groestl_internal.h Groestl hash cleanup 2018-04-23 16:15:59 +02:00
groestl.c Groestl hash: remove even more dead code 2018-04-23 16:15:59 +02:00
groestl.h Groestl hash: more cleanups 2018-04-23 16:15:59 +02:00
hasher.c Groestl hash: do it twice and truncate to 256 bits 2018-04-23 16:15:59 +02:00
hasher.h Groestl hash: do it twice and truncate to 256 bits 2018-04-23 16:15:59 +02:00
hmac.c introduce and use memzero instead of explicit_bzero 2018-01-18 15:18:09 +01:00
hmac.h
LICENSE
Makefile Groestl hash: fix -Wshadow warnings 2018-04-23 16:15:59 +02:00
memzero.c introduce and use memzero instead of explicit_bzero 2018-01-18 15:18:09 +01:00
memzero.h introduce and use memzero instead of explicit_bzero 2018-01-18 15:18:09 +01:00
nem_serialize.h
nem.c Fixed undefined behavior 2018-03-27 15:04:55 +02:00
nem.h Makefile: simplify include path, move subdirs to where used in C files 2018-01-13 14:51:51 +01:00
nist256p1.c hasher: Replace hasher_Double with HASHER_*D 2018-04-03 18:28:06 +02:00
nist256p1.h
nist256p1.table
options.h bip32, options: optionally exclude 25519 curves in BIP32 support 2018-04-03 18:43:06 +02:00
pbkdf2.c introduce and use memzero instead of explicit_bzero 2018-01-18 15:18:09 +01:00
pbkdf2.h
rand.c Fixed undefined behavior 2018-03-27 15:04:55 +02:00
rand.h add warning message to rand.c 2018-01-21 23:38:32 +01:00
rc4.c
rc4.h
README.md
rfc6979.c introduce and use memzero instead of explicit_bzero 2018-01-18 15:18:09 +01:00
rfc6979.h
ripemd160.c introduce and use memzero instead of explicit_bzero 2018-01-18 15:18:09 +01:00
ripemd160.h
script.c hasher: Replace hasher_Double with HASHER_*D 2018-04-03 18:28:06 +02:00
script.h
secp256k1.c Add GRS curve 2018-04-23 16:15:59 +02:00
secp256k1.h Add GRS curve 2018-04-23 16:15:59 +02:00
secp256k1.table
segwit_addr.c
segwit_addr.h
setup.py
sha2.c Adapted sha1 to match sha2 code. 2018-04-05 09:24:41 +02:00
sha2.h
sha3.c introduce and use memzero instead of explicit_bzero 2018-01-18 15:18:09 +01:00
sha3.h

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)

Distibuted under MIT License.

Some parts of the library come from external sources: