tech-security archive

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

Re: crypto_memset (was: Re: Zero it if you're going to copy it out.)

On Tue, Aug 28, 2012 at 09:58:07PM +0200, Alan Barrett wrote:
> I prefer to rely on the definition of volatile pointers, rather than
> relying on the compiler to be unable to optimise across compilation
> unit boundaries.  Code gets cut and pasted, so the definition of
> explicit_bzero might end up in the same compilation unit as its
> caller.

shouldn't you be relying on explicit memory barriers instead of volatile

  Aaron J. Grier | "Not your ordinary poofy goof." |

Home | Main Index | Thread Index | Old Index