1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-16 11:28:14 +00:00
Go to file
2019-03-29 15:44:55 +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 introduce version attributes to hdnode_serialize_public/private and hdnode_deserialize functions 2017-04-21 13:42:58 +02:00
monero format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
tests format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
tools format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
.clang-format format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
.gitignore move tests into tests/ 2018-04-05 13:26:59 +02:00
.gitmodules integrate Wycheproof tests 2018-07-16 14:27:18 +02:00
.travis.yml integrate Wycheproof tests 2018-07-16 14:27:18 +02:00
address.c format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
address.h format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
AUTHORS import sources 2013-08-17 14:20:15 +02:00
base32.c format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
base32.h format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
base58.c format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
base58.h format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
bignum.c format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
bignum.h format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
bip32.c format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
bip32.h format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
bip39_english.h format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
bip39.c format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
bip39.h format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
blake2_common.h format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
blake2b.c replace all usage of memset(_, 0, _) with memzero 2019-01-23 16:43:34 +01:00
blake2b.h blake2s: add InitPersonal 2018-06-19 18:06:23 +02:00
blake2s.c replace all usage of memset(_, 0, _) with memzero 2019-01-23 16:43:34 +01:00
blake2s.h blake2s: add InitPersonal 2018-06-19 18:06:23 +02:00
blake256.c blake256: Replace with working implementation 2017-12-23 13:45:36 +01:00
blake256.h blake256: Replace with working implementation 2017-12-23 13:45:36 +01:00
cash_addr.c format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
cash_addr.h format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
check_mem.h check_mem: Fix Check 0.11 2017-06-03 23:39:36 +02:00
CONTRIBUTORS bignum: introduce read/write_le 2016-08-25 23:18:24 +01:00
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 format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
ecdsa.h format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
groestl_internal.h Groestl hash cleanup 2018-04-23 16:15:59 +02:00
groestl.c replace all usage of memset(_, 0, _) with memzero 2019-01-23 16:43:34 +01:00
groestl.h Groestl hash: more cleanups 2018-04-23 16:15:59 +02:00
hasher.c format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
hasher.h format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
hmac.c format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
hmac.h format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
LICENSE adjust format of LICENSE 2016-01-31 12:16:31 +01:00
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 format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
memzero.h format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
nem.c format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
nem.h format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
nist256p1.c format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
nist256p1.h format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
nist256p1.table Add support for NIST256P1 elliptic curve 2015-06-26 10:33:14 +03:00
options.h format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
pbkdf2.c format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
pbkdf2.h format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
rand.c format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
rand.h rand: add a reseed function to be used in tests 2019-01-02 14:36:02 +01:00
rc4.c format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
rc4.h format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
README.md integrate Wycheproof tests 2018-07-16 14:27:18 +02:00
rfc6979.c format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
rfc6979.h format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
ripemd160.c replace all usage of memset(_, 0, _) with memzero 2019-01-23 16:43:34 +01:00
ripemd160.h format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
script.c format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
script.h format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
secp256k1.c format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
secp256k1.h format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
secp256k1.table Add support for NIST256P1 elliptic curve 2015-06-26 10:33:14 +03:00
segwit_addr.c fix signed/unsigned comparison 2018-10-23 23:34:47 +02:00
segwit_addr.h format: start using clang-format with style=Google 2019-03-29 15:44:55 +01:00
setup.py use env where possible 2018-09-30 15:40:18 +02:00
sha2.c Adapted sha1 to match sha2 code. 2018-04-05 09:24:41 +02:00
sha2.h sha2: import SHA1 implementation 2016-11-05 15:14:37 +01:00
sha3.c replace all usage of memset(_, 0, _) with memzero 2019-01-23 16:43:34 +01:00
sha3.h tests: Import NEM test vectors for keccak_256 2017-06-05 16:34:52 +02:00
shell.nix format: start using clang-format with style=Google 2019-03-29 15:44:55 +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: