1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 12:28:09 +00:00
trezor-firmware/core
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
..
assets MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
embed xmr/bp: memory optimizations and improvements 2020-03-02 12:17:03 +01:00
mocks xmr/bp: memory optimizations and improvements 2020-03-02 12:17:03 +01:00
prof core/prof: make sure coverage data is generated with absolute paths 2020-01-23 18:43:20 +01:00
site_scons/site_tools/micropython core: remove qstr blacklist 2020-01-07 20:52:43 +01:00
src xmr/bp: memory optimizations and improvements 2020-03-02 12:17:03 +01:00
tests xmr/bp: memory optimizations and improvements 2020-03-02 12:17:03 +01:00
tools core/headertool: support generating vendor headers with explicit size 2020-02-05 12:23:34 +01:00
vendor move vendored submodules to root vendor/ dir 2019-05-13 13:51:53 +02:00
.dockerignore MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
.gitignore core: git ignore coverage outputs 2019-06-26 22:10:05 +02:00
.pylintrc style: improve pylint exclusions 2019-05-07 16:31:04 +02:00
asan_blacklist.txt core: asan config 2019-06-27 19:09:55 +02:00
AUTHORS MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
ChangeLog core/changelog: SD card protection is part of 2.3.0 2020-02-27 13:57:48 +00:00
COPYING MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
emu.py core/sdcard: make allocating new SD card for emulator fast 2020-02-20 12:51:48 +01:00
emu.sh core: convert emu.sh to a simple dependency-less compat wrapper 2020-01-23 18:43:20 +01:00
Makefile tests: introduce --ui-check-missing to test/remove missing tests 2020-02-18 09:33:21 +01:00
README.md docs: move docs to root 2019-12-06 12:24:20 +00:00
SConscript.boardloader core/embed: don't use local copy of inflate 2020-01-18 17:09:52 +01:00
SConscript.bootloader core+legacy: use nanopb generator from pipenv 2020-02-04 17:15:25 +00:00
SConscript.firmware core/tools: drop tools obsoleted by headertool 2020-01-20 17:32:59 +01:00
SConscript.prodtest core/tools: drop tools obsoleted by headertool 2020-01-20 17:32:59 +01:00
SConscript.reflash core/tools: drop tools obsoleted by headertool 2020-01-20 17:32:59 +01:00
SConscript.unix core/embed: don't use local copy of inflate 2020-01-18 17:09:52 +01:00
SConstruct MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00

Trezor Core

Firmware currently running on Model T.

See docs/core for more info.