Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1628345

Re: [PATCH 3/5] KEYS: encrypted: sanitize all key material

From David Howells <dhowells@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH 3/5] KEYS: encrypted: sanitize all key material
Date 2017-04-21 16:40 +0200
Message-ID <tyHT3-6W1-1@gated-at.bofh.it> (permalink)
References <tyCgF-3B2-7@gated-at.bofh.it> <tyCgF-3B2-9@gated-at.bofh.it> <tyCgF-3B2-7@gated-at.bofh.it>
Organization Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903

Show all headers | View raw


Eric Biggers <ebiggers3@gmail.com> wrote:

> -	memzero_explicit(epayload->decrypted_data, epayload->decrypted_datalen);
> -	kfree(key->payload.data[0]);
> +	kzfree(key->payload.data[0]);

Should kzfree() be using memzero_explicit() rather than memset()?

David

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 3/5] KEYS: encrypted: sanitize all key material Eric Biggers <ebiggers3@gmail.com> - 2017-04-21 10:40 +0200
  Re: [PATCH 3/5] KEYS: encrypted: sanitize all key material David Howells <dhowells@redhat.com> - 2017-04-21 16:40 +0200
    Re: [PATCH 3/5] KEYS: encrypted: sanitize all key material Eric Biggers <ebiggers3@gmail.com> - 2017-04-21 20:30 +0200
      Re: [PATCH 3/5] KEYS: encrypted: sanitize all key material David Howells <dhowells@redhat.com> - 2017-04-24 16:20 +0200

csiph-web