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


Groups > linux.kernel > #1658214

Re: [PATCH RFC v2 5/8] security/keys: ensure RNG is seeded before use

From "Jason A. Donenfeld" <Jason@zx2c4.com>
Newsgroups linux.kernel
Subject Re: [PATCH RFC v2 5/8] security/keys: ensure RNG is seeded before use
Date 2017-06-06 01:20 +0200
Message-ID <tP9rX-OA-11@gated-at.bofh.it> (permalink)
References <tORbH-5WD-3@gated-at.bofh.it> <tORbH-5WD-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Jun 5, 2017 at 5:47 AM, Jason A. Donenfeld <Jason@zx2c4.com> wrote:
> -               get_random_bytes(&key->serial, sizeof(key->serial));
> +               ret = get_random_bytes_wait(&key->serial, sizeof(key->serial));

This actually isn't okay at bootup, but I've got a different change
for this section that will be in the v3.

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


Thread

[PATCH RFC v2 5/8] security/keys: ensure RNG is seeded before use "Jason A. Donenfeld" <Jason@zx2c4.com> - 2017-06-05 05:50 +0200
  Re: [PATCH RFC v2 5/8] security/keys: ensure RNG is seeded before use "Jason A. Donenfeld" <Jason@zx2c4.com> - 2017-06-06 01:20 +0200

csiph-web