1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 13:38:12 +00:00
trezor-firmware/core/mocks/generated/trezorcrypto
Dusan Klinec 2658e253fa xmr/bp: memory optimizations and improvements
- different approach to vector manipulation - more on the fly operations. Prepared for fully offloaded operations, BP on Trezor with constant memory.
- memory requirements reduced from (4MN + const) to (2MN + const)
- more raw methods to avoid unnecessary encoding/decoding
- chunking improved, chunk size set as a constant, changed from 64 to 32, missing pieces implemented to cover also BP 16
- proof_v8 support discontinued, old hardfork, not needed anymore
- get_exponent register clash fixed (for large vectors)
- reduced heap fragmentation by removing some temporary allocations
- hashing with len and offset to reduce heap fragmentation by creating a sliced arrays
- use to() wherever possible to avoid allocations and return of mutable private object
- global functions start with _ prefix, reduce import footprint
- use __slots__ in classes to minimize footprint
2020-03-02 12:17:03 +01:00
..
__init__.pyi core/crypto: Add AES mode constants. 2019-08-09 12:46:08 +02:00
bip32.pyi cardano: Implement SLIP-0023 and add SLIP-0039 support for Cardano. 2019-07-25 19:43:05 +02:00
bip39.pyi crypto: refactor bip39 api 2019-09-23 17:56:36 +02:00
crc.pyi core/typing: improve extmod types 2019-07-09 12:51:48 +02:00
curve25519.pyi core/typing: improve extmod types 2019-07-09 12:51:48 +02:00
ed25519.pyi core/typing: improve extmod types 2019-07-09 12:51:48 +02:00
monero.pyi xmr/bp: memory optimizations and improvements 2020-03-02 12:17:03 +01:00
nem.pyi core/typing: improve extmod types 2019-07-09 12:51:48 +02:00
nist256p1.pyi core/typing: improve extmod types 2019-07-09 12:51:48 +02:00
random.pyi tests: introduce UI tests for core 2020-01-03 14:28:27 +00:00
secp256k1_zkp.pyi core/typing: fix extmod docs and mocks 2019-07-09 14:05:14 +02:00
secp256k1.pyi core/typing: improve extmod types 2019-07-09 12:51:48 +02:00
shamir.pyi core/typing: improve extmod types 2019-07-09 12:51:48 +02:00
slip39.pyi core/typing: improve extmod types 2019-07-09 12:51:48 +02:00