Jouni Malinen 31bc66e4d1 More forceful clearing of stack memory with keys
gcc 8.3.0 was apparently clever enough to optimize away the previously
used os_memset() to explicitly clear a stack buffer that contains keys
when that clearing happened just before returning from the function.
Since memset_s() is not exactly portable (or commonly available yet..),
use a less robust mechanism that is still pretty likely to prevent
current compilers from optimizing the explicit clearing of the memory
away.

Signed-off-by: Jouni Malinen <j@w1.fi>
2019-05-26 16:11:56 +03:00
..
2017-03-07 13:19:10 +02:00
2017-03-07 13:19:10 +02:00
2017-03-07 13:19:10 +02:00
2017-03-07 13:19:10 +02:00
2015-04-22 11:44:19 +03:00
2017-03-07 13:19:10 +02:00