[BREAKGLASS] Micropython crypto code as independant subcomponent
Go to file
2021-03-17 14:24:43 -04:00
.gitignore Initial commit 2018-01-11 09:31:37 -05:00
.gitmodules Remove incorrect ref to submod 2018-03-27 14:18:40 -04:00
crc.c Capture code from trezor-core as of 2317aae 2018-01-11 09:50:59 -05:00
crc.h Capture code from trezor-core as of 2317aae 2018-01-11 09:50:59 -05:00
LICENSE Initial commit 2018-01-11 09:31:37 -05:00
Makefile Add simple BIP39 lookup function 2018-02-17 00:30:43 -05:00
modtcc-aes.c Support set of initial counter value for CTR modes 2018-05-25 10:18:08 -04:00
modtcc-bip32.c Track status of private key in more spots 2019-05-07 11:46:11 -04:00
modtcc-bip39.c Remove bip39.generate() for now 2018-03-29 15:41:45 -04:00
modtcc-blake2b.c C files, included, should end in .c 2018-02-17 00:14:11 -05:00
modtcc-blake2s.c C files, included, should end in .c 2018-02-17 00:14:11 -05:00
modtcc-blake256.c C files, included, should end in .c 2018-02-17 00:14:11 -05:00
modtcc-chacha20poly1305.c C files, included, should end in .c 2018-02-17 00:14:11 -05:00
modtcc-codecs.c Bugs/robustness 2018-05-23 12:02:57 -04:00
modtcc-crc.c C files, included, should end in .c 2018-02-17 00:14:11 -05:00
modtcc-curve25519.c C files, included, should end in .c 2018-02-17 00:14:11 -05:00
modtcc-ed25519.c C files, included, should end in .c 2018-02-17 00:14:11 -05:00
modtcc-nist256p1.c C files, included, should end in .c 2018-02-17 00:14:11 -05:00
modtcc-pbkdf2.c C files, included, should end in .c 2018-02-17 00:14:11 -05:00
modtcc-random.c Cleanup 2018-04-13 14:15:36 -04:00
modtcc-rfc6979.c C files, included, should end in .c 2018-02-17 00:14:11 -05:00
modtcc-ripemd160.c C files, included, should end in .c 2018-02-17 00:14:11 -05:00
modtcc-secp256k1.c Revert "(in)Correctness" 2019-09-21 11:23:49 -04:00
modtcc-sha1.c C files, included, should end in .c 2018-02-17 00:14:11 -05:00
modtcc-sha3-256.c C files, included, should end in .c 2018-02-17 00:14:11 -05:00
modtcc-sha3-512.c C files, included, should end in .c 2018-02-17 00:14:11 -05:00
modtcc-sha256.c Add sha256().copy() method 2020-06-10 13:02:39 -04:00
modtcc-sha512.c C files, included, should end in .c 2018-02-17 00:14:11 -05:00
modtcc.c Add means to disable AES 2020-10-06 13:21:59 -04:00
README.md Add important WARNING 2021-03-17 14:24:43 -04:00

☠️ DO NOT USE -- unmaintained ☠️

This code is no longer in use and no security updates will be made.

Use at your own risk. Not recommended for new projects, and existing Bitcoin projects should move towards libsecp256k1.


Bitcoin and Crypto Algorithms for Micropython

modcryptocurrency

This project aims to take the Micropython integration from .../embed/extmod/modtrezorcrypto and make it useful to other embedded cryptocurrency projects.

Changes:

  • shorten the module name to something easier to type
  • fix minor build issues to track micropython changes

Credits

This code originates from an Open Source Trezor project.

Licence

GPL v3 like the original material.

Change Log

  • results from bip39_complete_word() could not distinguish that "act" is both a prefix and actual word in the wordlist.

  • mod-bip32.c:

    • derive() fixed to operate correctly when it doesn't have the private key
    • private_key() return None when the private key isn't known