tillitis-key/hw
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
..
application_fpga fw: Protect zeroisation against compiler optimisation. 2024-03-26 13:09:01 +01:00
boards Add injection molded plastic case 2023-12-11 13:48:39 +01:00
production_test Print warning if the programmer device permissions are incorrect 2023-03-21 14:38:29 +01:00