Re: [PATCH] random: add and use memzero_explicit() for clearing data

From: Daniel Borkmann
Date: Mon Aug 25 2014 - 16:38:40 EST

On 08/25/2014 10:35 PM, Alexey Dobriyan wrote:
On Mon, Aug 25, 2014 at 10:01:39PM +0200, Daniel Borkmann wrote:
+void memzero_explicit(void *s, size_t count)
+ memset(s, 0, count);

BSD seems to name it explicit_bzero().

Sure, that's what I wrote in the commit log. But we don't have
bzero(), and I think the name is more clear and conform to
mem*() API.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at