1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-10-10 09:58:59 +00:00
Go to file
Jochen Hoenicke 1b42fde852 Off by one error in word length.
This could lead to a buffer overrun if the final 0 byte is
written to current_word[j] after the loop.

Also document the limit of passphrase in mnemonic_to_seed.
2015-03-20 21:46:32 +01:00
gui
tools remove all references to USE_PUBKEY_VALIDATE 2015-03-12 15:53:41 +01:00
.gitignore prepare cython-TrezorCrypto for pip release 2015-01-12 19:11:43 +01:00
aes_modes.c
aes.h
aescrypt.c
aeskey.c
aesopt.h
aestab.c
aestab.h
AUTHORS
base58.c
base58.h Add stdbool.h 2015-01-23 12:12:40 -08:00
bignum.c bn_substract -> bn_subtractmod, bn_substract_noprime -> bn_subtract 2015-03-17 14:19:50 +01:00
bignum.h bn_substract -> bn_subtractmod, bn_substract_noprime -> bn_subtract 2015-03-17 14:19:50 +01:00
bip32.c remove all references to USE_PUBKEY_VALIDATE 2015-03-12 15:53:41 +01:00
bip32.h add stdlib to header 2015-01-26 19:12:22 +01:00
bip39_english.h Make word list const 2015-02-14 12:00:44 +01:00
bip39.c Off by one error in word length. 2015-03-20 21:46:32 +01:00
bip39.h Off by one error in word length. 2015-03-20 21:46:32 +01:00
c.pxd prepare cython-TrezorCrypto for pip release 2015-01-12 19:11:43 +01:00
CMakeLists.txt
ecdsa.c bn_substract -> bn_subtractmod, bn_substract_noprime -> bn_subtract 2015-03-17 14:19:50 +01:00
ecdsa.h Add prototypes for private functions 2015-01-23 12:12:40 -08:00
hmac.c
hmac.h
LICENSE
Makefile remove all references to USE_PUBKEY_VALIDATE 2015-03-12 15:53:41 +01:00
MANIFEST.in prepare cython-TrezorCrypto for pip release 2015-01-12 19:11:43 +01:00
options.h remove all references to USE_PUBKEY_VALIDATE 2015-03-12 15:53:41 +01:00
pbkdf2.c
pbkdf2.h
rand.c Add finalize_rand() to prove we have no leaks 2015-01-23 06:05:38 -08:00
rand.h Add stdlib.h to header. Needed for size_t. 2015-01-27 21:44:48 -05:00
README.md
ripemd160.c
ripemd160.h
secp256k1.c
secp256k1.h
setup.py remove all references to USE_PUBKEY_VALIDATE 2015-03-12 15:53:41 +01:00
sha2.c Remove unused static variable sha384_initial_hash_value. 2015-01-27 19:22:42 -05:00
sha2.h
test-openssl.c
test.py prepare cython-TrezorCrypto for pip release 2015-01-12 19:11:43 +01:00
tests.c remove all references to USE_PUBKEY_VALIDATE 2015-03-12 15:53:41 +01:00
TrezorCrypto.pyx prepare cython-TrezorCrypto for pip release 2015-01-12 19:11:43 +01:00

trezor-crypto

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 (only hardcoded secp256k1 curve, uses RFC6979 for deterministic signatures)
  • ECDSA public key derivation + Base58 address representation
  • HMAC-SHA256 and HMAC-SHA512
  • PBKDF2
  • RIPEMD-160
  • SHA256/SHA512
  • unit tests (using Check - check.sf.net; in tests.c)
  • tests against OpenSSL (in test-openssl.c)

Distibuted under MIT License.