mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-17 20:08:12 +00:00
2658e253fa
- 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 |
||
---|---|---|
.. | ||
crc.c | ||
crc.h | ||
modtrezorcrypto-aes.h | ||
modtrezorcrypto-bip32.h | ||
modtrezorcrypto-bip39.h | ||
modtrezorcrypto-blake2b.h | ||
modtrezorcrypto-blake2s.h | ||
modtrezorcrypto-blake256.h | ||
modtrezorcrypto-chacha20poly1305.h | ||
modtrezorcrypto-crc.h | ||
modtrezorcrypto-curve25519.h | ||
modtrezorcrypto-ed25519.h | ||
modtrezorcrypto-groestl.h | ||
modtrezorcrypto-monero.h | ||
modtrezorcrypto-nem.h | ||
modtrezorcrypto-nist256p1.h | ||
modtrezorcrypto-pbkdf2.h | ||
modtrezorcrypto-random.h | ||
modtrezorcrypto-rfc6979.h | ||
modtrezorcrypto-ripemd160.h | ||
modtrezorcrypto-secp256k1_zkp.h | ||
modtrezorcrypto-secp256k1.h | ||
modtrezorcrypto-sha1.h | ||
modtrezorcrypto-sha3-256.h | ||
modtrezorcrypto-sha3-512.h | ||
modtrezorcrypto-sha256.h | ||
modtrezorcrypto-sha512.h | ||
modtrezorcrypto-shamir.h | ||
modtrezorcrypto-slip39.h | ||
modtrezorcrypto.c | ||
rand.c |