1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-10-09 17:39:04 +00:00
Go to file
2017-08-14 00:11:43 +02:00
aes aes: Add aestst 2017-08-14 00:08:28 +02:00
chacha20poly1305 fix chacha20poly1305 issues 2017-05-11 13:27:59 +02:00
ed25519-donna ed25519-donna: Remove duplicate static code 2017-08-14 00:08:48 +02:00
gui introduce version attributes to hdnode_serialize_public/private and hdnode_deserialize functions 2017-04-21 13:42:58 +02:00
tools nem_test_vectors: Handle empty header column 2017-06-05 16:34:52 +02:00
.gitignore gitignore: add attic+vscode 2017-07-25 00:14:35 +02:00
.travis.yml move emscripten build to separate repository (hd-wallet/fastxpub) 2017-07-24 23:43:30 +02:00
address.c fix ethereum_address_checksum implementation 2017-07-11 21:17:22 +02:00
address.h include options.h in address.h 2017-07-11 21:34:47 +02:00
AUTHORS
base32.c base32: Handle when char is unsigned 2017-06-05 12:32:48 +02:00
base32.h base32: Return char* from base32_encode 2017-06-05 12:32:48 +02:00
base58.c GCC 7.1.1 -Wimplicit-fallthrough comments 2017-06-08 22:00:32 +02:00
base58.h include options.h to base58.h 2016-10-24 20:54:29 +02:00
bignum.c bignum: Fix bn_digitcount 2017-07-27 21:20:43 +02:00
bignum.h bignum: Fix bn_digitcount 2017-07-27 21:20:43 +02:00
bip32.c bip32: Fix NULL dereference for EdDSA 2017-07-25 18:33:57 +02:00
bip32.h refactor hdnode_public_ckd_address_optimized 2017-07-24 22:57:20 +02:00
bip39_english.h
bip39.c Smoother progress bar for wakeup 2016-07-13 22:17:49 +02:00
bip39.h add mnemonic generation methods with indexes option 2016-05-13 19:46:12 +02:00
blake2_common.h add Blake2b 2017-02-28 18:14:54 +01:00
blake2b.c add Blake2b 2017-02-28 18:14:54 +01:00
blake2b.h use BLOCK_LENGTH and DIGEST_LENGTH across all hash functions 2017-03-20 20:20:14 +01:00
blake2s.c add Blake2b 2017-02-28 18:14:54 +01:00
blake2s.h use BLOCK_LENGTH and DIGEST_LENGTH across all hash functions 2017-03-20 20:20:14 +01:00
check_mem.h check_mem: Fix Check 0.11 2017-06-03 23:39:36 +02:00
CMakeLists.txt rc4: Initial commit 2017-08-14 00:11:43 +02:00
CONTRIBUTORS bignum: introduce read/write_le 2016-08-25 23:18:24 +01:00
curves.c curves: Add ed25519-sha3 & ed25519-keccak 2017-06-05 16:34:51 +02:00
curves.h curves: Add ed25519-sha3 & ed25519-keccak 2017-06-05 16:34:51 +02:00
ecdsa.c refactor ecdsa_get_address_segwit_p2sh{,_raw} 2017-07-25 17:59:26 +02:00
ecdsa.h refactor ecdsa_get_address_segwit_p2sh{,_raw} 2017-07-25 17:59:26 +02:00
hmac.c Faster PBKDF2 by reusing intermediate results. 2016-07-13 22:17:23 +02:00
hmac.h Faster PBKDF2 by reusing intermediate results. 2016-07-13 22:17:23 +02:00
LICENSE adjust format of LICENSE 2016-01-31 12:16:31 +01:00
macros.h
Makefile rc4: Initial commit 2017-08-14 00:11:43 +02:00
nist256p1.c ed25519 support 2016-04-22 18:21:58 +02:00
nist256p1.h ed25519 support 2016-04-22 18:21:58 +02:00
nist256p1.table
options.h ed25519-donna: Add ed25519-keccak 2017-06-05 16:34:51 +02:00
pbkdf2.c Faster PBKDF2 by reusing intermediate results. 2016-07-13 22:17:23 +02:00
pbkdf2.h Faster PBKDF2 by reusing intermediate results. 2016-07-13 22:17:23 +02:00
rand.c
rand.h
rc4.c rc4: Initial commit 2017-08-14 00:11:43 +02:00
rc4.h rc4: Initial commit 2017-08-14 00:11:43 +02:00
README.md README: Add Base32 custom alphabet support 2017-06-08 22:00:32 +02:00
rfc6979.c split rfc6979 from ecdsa into separate module 2017-04-03 20:58:53 +02:00
rfc6979.h split rfc6979 from ecdsa into separate module 2017-04-03 20:58:53 +02:00
ripemd160.c cleanup context in ripemd160/sha3 2017-08-10 15:49:28 +02:00
ripemd160.h extract block size and digest size as macros in ripemd160 2016-11-01 16:32:44 +01:00
script.c add script parsing functions 2016-05-16 14:45:09 +02:00
script.h add script parsing functions 2016-05-16 14:45:09 +02:00
secp256k1.c ed25519 support 2016-04-22 18:21:58 +02:00
secp256k1.h ed25519 support 2016-04-22 18:21:58 +02:00
secp256k1.table
setup.py Add Python tests for Curve25519 ECDH 2016-10-15 15:38:23 +03:00
sha2.c sha1: fix context zeroing 2016-11-06 16:02:10 +01:00
sha2.h sha2: import SHA1 implementation 2016-11-05 15:14:37 +01:00
sha3.c cleanup context in ripemd160/sha3 2017-08-10 15:49:28 +02:00
sha3.h tests: Import NEM test vectors for keccak_256 2017-06-05 16:34:52 +02:00
test_check.c test_check: Clean up test_bignum tests 2017-07-27 21:20:43 +02:00
test_curves.py fix build 2017-03-30 15:07:29 +02:00
test_openssl.c test_openssl: test for NIST curve too 2017-06-05 17:02:21 +02:00
test_speed.c remove test_{sign,verify}_speed from tests.c, rename tests to test_check.c, rework test_speed 2017-06-04 00:35:19 +02: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)

Distibuted under MIT License.

Some parts of the library come from external sources: