mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-11-24 09:33:15 -05:00
This means firmware's stack shouldn't be accessible to programs running in app_mode. It also means we don't need to take special care of secure_ctx which can now be an ordinary stack variable. Nonetheless we zero out secure_ctx after final use and inline some assembler to zero out the entire fw_ram after use, just before switching to app_mode. Signed-off-by: Daniel Lublin <daniel@lublin.se> |
||
|---|---|---|
| .. | ||
| blake2s | ||
| assert.c | ||
| assert.h | ||
| firmware.lds | ||
| led.c | ||
| led.h | ||
| lib.c | ||
| lib.h | ||
| main.c | ||
| Makefile | ||
| proto.c | ||
| proto.h | ||
| start.S | ||
| types.h | ||