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
..
2022-10-26 09:20:02 +02:00
2024-03-22 11:03:13 +01:00
2023-03-14 10:25:03 +01:00
2024-03-18 16:19:59 +01:00
2024-03-18 16:19:59 +01:00
2024-03-22 11:03:13 +01:00
2024-03-22 11:03:13 +01:00
2023-03-14 11:31:47 +01:00