List Info

Thread: Re: More on in-memory zeroisation




Re: More on in-memory zeroisation
country flaguser name
South Africa
2007-12-13 14:11:48
On Tue, 11 Dec 2007, Leichter, Jerry wrote:
> You can almost, but not quite, get the desired effect
for memory zero-
> ization with "volatile".

I thought that this was guaranteed to work:

	volatile char buf[SIZE];
	/* ... do stuff with buf ... */
	memset(buf, 0, sizeof(buf));

--apb (Alan Barrett)

------------------------------------------------------------
---------
The Cryptography Mailing List
Unsubscribe by sending "unsubscribe cryptography"
to majordomometzdowd.com

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )