mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-06-11 19:33:30 -07:00
be8387afb5
When storing a new unique secret key in the secure enclave, it is temporarily stored in a stack buffer accessible by CPU1. Since it is a secret key, it should not be kept in memory as it could be leaked. This commit calls the explicit_bzero() function from the libc to ensure that the buffer containing the key is cleared. Unlike with bzero() and memset(), the compiler won't optimize away calls to explicit_bzero().
Flipper firmware
What does it do?
- RTOS
- FuriHAL
- FuriCore
- Services
- Applications
Targets
| Name | Firmware Address | Reset Combo | DFU Combo |
|---|---|---|---|
| f7 | 0x08000000 | L+Back, release both | L+Back, release Back |
Also, there is a "hardware" ST bootloader combo available even on a bricked or empty device: L+Ok+Back, release Back, Left.
Target independent code and headers in target/include folders. More details in documentation/KeyCombo.md
Building
Check out documentation/fbt.md on how to build and flash firmware.