lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 25 Aug 2014 23:35:35 +0300
From:	Alexey Dobriyan <adobriyan@...il.com>
To:	Daniel Borkmann <dborkman@...hat.com>
Cc:	tytso@....edu, zatimend@...mail.co.uk,
	linux-kernel@...r.kernel.org,
	Hannes Frederic Sowa <hannes@...essinduktion.org>
Subject: Re: [PATCH] random: add and use memzero_explicit() for clearing data

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);
> +	OPTIMIZER_HIDE_VAR(s);
> +}

BSD seems to name it explicit_bzero().

	Alexey
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ