1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-02 19:01:04 +00:00
Go to file
2019-01-23 18:35:30 +01:00
aes aes: update to newest version 2018-08-14 13:05:21 +02:00
chacha20poly1305 Fix counter initialization bug in rfc7539_init(). Fix const correctness in rfc7539.h and chacha20poly1305.h. (#188) 2018-11-30 15:17:52 +01:00
ed25519-donna replace all usage of memset(_, 0, _) with memzero 2019-01-23 16:43:34 +01:00
gui
monero move ge25519.c into curve25519-donna-32bit.c and ed25519-donna-impl-base.c (#177) 2018-09-03 16:22:35 +02:00
tests replace all usage of memset(_, 0, _) with memzero 2019-01-23 16:43:34 +01:00
tools
.gitignore
.gitmodules
.travis.yml
address.c
address.h
AUTHORS
base32.c
base32.h
base58.c replace all usage of memset(_, 0, _) with memzero 2019-01-23 16:43:34 +01:00
base58.h xmr: monero crypto implemented, tests 2018-09-03 16:22:35 +02:00
bignum.c bignum: add assumption about i to bn_multiply_reduce_step 2019-01-23 15:45:25 +01:00
bignum.h
bip32.c replace all usage of memset(_, 0, _) with memzero 2019-01-23 16:43:34 +01:00
bip32.h rename hasher_multisig to hasher_script 2018-09-05 19:53:35 +02:00
bip39_english.h
bip39.c bip39: remove indexes functions, add mnemonic_clear function 2019-01-23 18:35:30 +01:00
bip39.h bip39: remove indexes functions, add mnemonic_clear function 2019-01-23 18:35:30 +01:00
blake2_common.h
blake2b.c replace all usage of memset(_, 0, _) with memzero 2019-01-23 16:43:34 +01:00
blake2b.h
blake2s.c replace all usage of memset(_, 0, _) with memzero 2019-01-23 16:43:34 +01:00
blake2s.h
blake256.c
blake256.h
cash_addr.c cash_addr: fix hardcoded value of CHECKSUM_SIZE 2018-10-25 11:57:03 +02:00
cash_addr.h
check_mem.h
CONTRIBUTORS
curves.c add smartcash curve (#176) 2018-08-30 12:02:42 +02:00
curves.h add smartcash curve (#176) 2018-08-30 12:02:42 +02:00
ecdsa.c Improve function naming (#181) 2018-09-13 14:58:29 +02:00
ecdsa.h Improve function naming (#181) 2018-09-13 14:58:29 +02:00
groestl_internal.h
groestl.c replace all usage of memset(_, 0, _) with memzero 2019-01-23 16:43:34 +01:00
groestl.h
hasher.c hasher: add HASHER_SAPLING_PREIMAGE 2018-10-16 11:29:45 +02:00
hasher.h hasher: add HASHER_SAPLING_PREIMAGE 2018-10-16 11:29:45 +02:00
hmac.c replace all usage of memset(_, 0, _) with memzero 2019-01-23 16:43:34 +01:00
hmac.h
LICENSE
Makefile move ge25519.c into curve25519-donna-32bit.c and ed25519-donna-impl-base.c (#177) 2018-09-03 16:22:35 +02:00
memzero.c
memzero.h
nem_serialize.h
nem.c
nem.h
nist256p1.c rename hasher_multisig to hasher_script 2018-09-05 19:53:35 +02:00
nist256p1.h
nist256p1.table
options.h add USE_CARDANO default to options.h 2018-09-05 15:04:32 +02:00
pbkdf2.c replace all usage of memset(_, 0, _) with memzero 2019-01-23 16:43:34 +01:00
pbkdf2.h replace cardano with v2 (#179) 2018-09-05 12:08:36 +02:00
rand.c rand: add a reseed function to be used in tests 2019-01-02 14:36:02 +01:00
rand.h rand: add a reseed function to be used in tests 2019-01-02 14:36:02 +01:00
rc4.c
rc4.h
README.md
rfc6979.c
rfc6979.h
ripemd160.c replace all usage of memset(_, 0, _) with memzero 2019-01-23 16:43:34 +01:00
ripemd160.h
script.c
script.h
secp256k1.c rename hasher_multisig to hasher_script 2018-09-05 19:53:35 +02:00
secp256k1.h add smartcash curve (#176) 2018-08-30 12:02:42 +02:00
secp256k1.table
segwit_addr.c fix signed/unsigned comparison 2018-10-23 23:34:47 +02:00
segwit_addr.h
setup.py use env where possible 2018-09-30 15:40:18 +02:00
sha2.c
sha2.h
sha3.c replace all usage of memset(_, 0, _) with memzero 2019-01-23 16:43:34 +01:00
sha3.h
shell.nix replace all usage of memset(_, 0, _) with memzero 2019-01-23 16:43:34 +01:00

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: