tillitis-key/hw/application_fpga/fw
dehanj 3a6a60ff26
fw: Protect zeroisation against compiler optimisation.
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.
2024-03-26 13:09:01 +01:00
..
testfw Add void to function signatures meant to be used without args 2024-03-19 08:41:39 +01:00
tk1 fw: Protect zeroisation against compiler optimisation. 2024-03-26 13:09:01 +01:00
.clang-format Make initial public release 2022-09-19 08:51:11 +02:00
tk1_mem.h fw: remove duplicate defines in tk1_mem.h 2024-03-21 10:28:51 +01:00