1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-24 06:11:06 +00:00
Go to file
Saleem Rashid d41556d7fc nem: Remove NEM_DECRYPTED_PAYLOAD_SIZE
It is broken and completely useless
2017-12-15 22:09:30 +01:00
aes gitignore: Add aestst 2017-08-15 11:15:18 +02:00
chacha20poly1305
ed25519-donna ed25519-donna: Remove duplicate static code 2017-08-14 00:08:48 +02:00
gui
tools bip32: Add curve to hdnode_deserialize 2017-12-10 20:07:13 +01:00
.gitignore gitignore: Add aestst 2017-08-15 11:15:18 +02:00
.travis.yml Travis CI: Run aestst 2017-08-14 14:39:47 +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 Use hasher_Raw instead of sha256_Raw 2017-12-10 20:07:13 +01:00
base58.h Use hasher_Raw instead of sha256_Raw 2017-12-10 20:07:13 +01: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: Add secp256k1-decred 2017-12-10 20:07:13 +01:00
bip32.h bip32: Add curve to hdnode_deserialize 2017-12-10 20:07:13 +01:00
bip39_english.h
bip39.c introduce confidential macro, mark confidential items 2017-08-16 13:38:49 +02:00
bip39.h
blake2_common.h
blake2b.c
blake2b.h
blake2s.c
blake2s.h
blake256.c blake256: Initial commit 2017-12-10 20:07:13 +01:00
blake256.h blake256: add BLAKE256_BLOCK_LENGTH 2017-12-13 20:11:37 +01:00
check_mem.h check_mem: Fix Check 0.11 2017-06-03 23:39:36 +02:00
CMakeLists.txt blake256: Initial commit 2017-12-10 20:07:13 +01:00
CONTRIBUTORS
curves.c bip32: Add secp256k1-decred 2017-12-10 20:07:13 +01:00
curves.h bip32: Add secp256k1-decred 2017-12-10 20:07:13 +01:00
ecdsa.c Use hasher_Raw instead of sha256_Raw 2017-12-10 20:07:13 +01:00
ecdsa.h Use hasher_Raw instead of sha256_Raw 2017-12-10 20:07:13 +01:00
hasher.c hasher: Add HASHER_BLAKE 2017-12-10 20:07:13 +01:00
hasher.h hasher: Add HASHER_BLAKE 2017-12-10 20:07:13 +01:00
hmac.c introduce confidential macro, mark confidential items 2017-08-16 13:38:49 +02:00
hmac.h
LICENSE
macros.h
Makefile blake256: Initial commit 2017-12-10 20:07:13 +01:00
nem_serialize.h nem: Add transaction serialization methods 2017-09-02 01:39:09 +02:00
nem.c nem: Add nem_transaction_create_importance_transfer 2017-10-09 00:00:02 +02:00
nem.h nem: Remove NEM_DECRYPTED_PAYLOAD_SIZE 2017-12-15 22:09:30 +01:00
nist256p1.c Use hasher_Raw instead of sha256_Raw 2017-12-10 20:07:13 +01:00
nist256p1.h
nist256p1.table
options.h options: Add NEM support 2017-09-02 01:39:09 +02:00
pbkdf2.c
pbkdf2.h
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
rfc6979.h
ripemd160.c cleanup context in ripemd160/sha3 2017-08-10 15:49:28 +02:00
ripemd160.h
script.c Use hasher_Raw instead of sha256_Raw 2017-12-10 20:07:13 +01:00
script.h
secp256k1.c bip32: Add secp256k1-decred 2017-12-10 20:07:13 +01:00
secp256k1.h bip32: Add secp256k1-decred 2017-12-10 20:07:13 +01:00
secp256k1.table
segwit_addr.c Updated to latest from bech32 repository. 2017-11-03 18:49:19 +01:00
segwit_addr.h Bech32 (BIP173) address support 2017-11-03 18:49:19 +01:00
setup.py
sha2.c
sha2.h
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 bip32: Add secp256k1-decred 2017-12-10 20:07:13 +01:00
test_curves.py
test_openssl.c test_openssl: Fix SHA2 name conflict 2017-12-10 20:07:13 +01:00
test_segwit.c Bech32 (BIP173) address support 2017-11-03 18:49:19 +01:00
test_speed.c Fixed test suite to use generic hasher functions 2017-12-10 20:07:13 +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)

Distibuted under MIT License.

Some parts of the library come from external sources: