[Cryptography] defending against common errors (was: secure erasure)

Peter Gutmann pgut001 at cs.auckland.ac.nz
Tue Sep 20 03:19:01 EDT 2016


John Denker <jsd at av8n.com> writes:

>Is there a readily available compiler that actually supports memset_s()????

It's been in Visual Studio/VC++ for several years now.

>I would care quite a bit if somebody could suggest a solution that actually
>worked and was actually available.

Again, under Windows besides memset_s() you've got the explicit
SecureZeroMemory().

In any case since we're all living in an open-source utopia  :-), if you want 
the equivalent for gcc or clang all you need to do is modify the code...

Peter.


More information about the cryptography mailing list