1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 23:48:12 +00:00
trezor-firmware/core/embed
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
..
boardloader core/boardloader: use SRAM as SD card read buffer 2020-02-25 17:59:16 +01:00
bootloader core/bootloader: split long vendor string 2020-02-19 21:40:28 +00:00
extmod xmr/bp: memory optimizations and improvements 2020-03-02 12:17:03 +01:00
firmware core: Prevent data loss when writing to USB VCP. 2020-02-25 12:08:07 +01:00
prodtest all: rename TREZOR to Trezor where possible 2019-06-17 20:28:29 +02:00
reflash all: rename TREZOR to Trezor where possible 2019-06-17 20:28:29 +02:00
trezorhal core: Prevent data loss when writing to USB VCP. 2020-02-25 12:08:07 +01:00
unix core/sdcard: add out-of-bounds checks to emulator 2020-02-20 12:51:48 +01:00
vendorheader core/headertool: support generating vendor headers with explicit size 2020-02-05 12:23:34 +01:00