1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-27 16:48:09 +00:00
Go to file
2017-01-04 15:16:55 +01:00
curve25519-donna undef ALIGN macro in curve25519 2016-11-06 15:16:09 +01:00
ed25519-donna undef align for ed25519-donna 2016-04-29 17:50:20 +02:00
emscripten Add compiled output 2016-10-12 18:04:03 +02:00
gui gui: fix build 2016-10-24 17:24:31 +02:00
tools bip32: deserialize the fingerprint 2016-10-14 14:44:05 +02:00
.gitignore gitignore: ignore *.d files 2016-08-21 20:25:35 +01:00
.travis.yml CMakeLists: Allow use as a library (#82) 2016-11-16 22:58:12 +01:00
address.c add address related funnctions 2016-10-10 11:22:15 +02:00
address.h add address related funnctions 2016-10-10 11:22:15 +02:00
aes_modes.c rename aes_ctr_counter_inc to aes_ctr_cbuf_inc and move it to aes_modes.c 2014-06-07 14:16:27 +02:00
aes.h rename aes_ctr_counter_inc to aes_ctr_cbuf_inc and move it to aes_modes.c 2014-06-07 14:16:27 +02:00
aescrypt.c update AES code to support different modes of operation, add unittests 2014-06-07 13:38:56 +02:00
aeskey.c update AES code to support different modes of operation, add unittests 2014-06-07 13:38:56 +02:00
aesopt.h don't include aescpp.h 2014-07-24 15:26:50 +02:00
aestab.c update AES code to support different modes of operation, add unittests 2014-06-07 13:38:56 +02:00
aestab.h update AES code to support different modes of operation, add unittests 2014-06-07 13:38:56 +02:00
AUTHORS import sources 2013-08-17 14:20:15 +02:00
base58.c Steem integration 2016-10-16 01:41:20 +02:00
base58.h include options.h to base58.h 2016-10-24 20:54:29 +02:00
bignum.c add setbit, clearbit, testbit and xor to bignum 2016-10-31 17:26:24 +01:00
bignum.h add setbit, clearbit, testbit and xor to bignum 2016-10-31 17:26:24 +01:00
bip32.c add fingerprint output parameter to hdnode_private_ckd_cached function 2016-12-12 12:07:33 +01:00
bip32.h add fingerprint output parameter to hdnode_private_ckd_cached function 2016-12-12 12:07:33 +01:00
bip39_english.h Make word list const 2015-02-14 12:00:44 +01:00
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
blake2s.c add blake2s, add unittests for blake2s and sha3 2016-11-01 16:22:20 +01:00
blake2s.h add blake2s, add unittests for blake2s and sha3 2016-11-01 16:22:20 +01:00
check_mem.h extract ck_assert_mem macros to separate file check_mem.h 2016-10-19 20:42:50 +02:00
CMakeLists.txt CMakeLists: Allow use as a library (#82) 2016-11-16 22:58:12 +01:00
CONTRIBUTORS bignum: introduce read/write_le 2016-08-25 23:18:24 +01:00
curves.c Implement ECDH with Curve25519 at BIP32 module 2016-10-14 23:36:19 +03:00
curves.h Implement ECDH with Curve25519 at BIP32 module 2016-10-14 23:36:19 +03:00
ecdsa.c Multi-byte prefix cleanup 2017-01-04 15:16:55 +01:00
ecdsa.h Protect signing against side-channel attack (#81) 2016-11-06 15:20:07 +01: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 cleanup coding style 2015-04-13 18:19:33 +02:00
Makefile add blake2s, add unittests for blake2s and sha3 2016-11-01 16:22:20 +01: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 Add support for NIST256P1 elliptic curve 2015-06-26 10:33:14 +03:00
options.h Steem integration 2016-10-16 01:41:20 +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 fix build on _WIN32 2015-12-14 22:50:28 +01:00
rand.h fix /dev/urandom problem 2015-05-04 19:53:06 +02:00
README.md add blake2s, add unittests for blake2s and sha3 2016-11-01 16:22:20 +01:00
ripemd160.c extract block size and digest size as macros in ripemd160 2016-11-01 16:32:44 +01: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 Add support for NIST256P1 elliptic curve 2015-06-26 10:33:14 +03:00
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 add blake2s, add unittests for blake2s and sha3 2016-11-01 16:22:20 +01:00
sha3.h add blake2s, add unittests for blake2s and sha3 2016-11-01 16:22:20 +01:00
test_curves.py change shebang for test_curves.py 2016-10-24 21:43:33 +02:00
test_speed.c use curve25519-donna from floodyberry 2016-10-24 20:51:57 +02:00
test-openssl.c remove unused macros in test-openssl.c 2016-10-24 20:39:55 +02:00
tests.c Test cases for multibyte address prefixes 2017-01-04 15:16: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 + Base58 address representation
  • Ed25519 signing/verifying
  • ECDH using secp256k1, nist256p1 and Curve25519
  • HMAC-SHA256 and HMAC-SHA512
  • PBKDF2
  • RIPEMD-160
  • SHA256/SHA512
  • SHA3/Keccak
  • BLAKE2s
  • unit tests (using Check - check.sf.net; in tests.c)
  • tests against OpenSSL (in test-openssl.c)

Distibuted under MIT License.