mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2024-12-26 16:09:42 -05:00
3a6a60ff26
The memset() responsible for the zeroisation of the secure_ctx under the compute_cdi() function in FW's main.c, was optimised away by the compiler. Instead of using memset(), secure_wipe() is introduced which uses a volatile keyword to prevent the compiler to try to optimise it. Secure_wipe() is now used on all locations handling removal of sensitive data. |
||
---|---|---|
.. | ||
core | ||
data | ||
fw | ||
rtl | ||
tb | ||
tools | ||
application_fpga.bin.sha256 | ||
config.vlt | ||
firmware.bin.sha512 | ||
Makefile |