Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/lib/libcrypt



On Tue, Nov 29, 2011 at 07:14:38PM +0100, Matthias Drochner wrote:
 > > the memset() is likely to get optimized away by the compiler anyway.
 > > It's a dead store after all.
 > 
 > It might be by luck, but a disassembly of MD5Final() on i386
 > shows that the final zeroing is present in the binary.
 > Generally I agree that we should make this kind of assignments
 > more explicit, so that we can implement it as macro if necessary.

You also want to take steps to make sure that the zeroed cache line is
flushed out.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index