After use, sensitive data should be overwritten, but memset() and hand-written code can be
silently stripped out by an optimizing compiler or by the linker.
The sodium_memzero() function tries to effectively zero the bytes of array a, even if
optimizations are being applied to the code.
Zeroing memory.
After use, sensitive data should be overwritten, but memset() and hand-written code can be silently stripped out by an optimizing compiler or by the linker. The sodium_memzero() function tries to effectively zero the bytes of array a, even if optimizations are being applied to the code.