Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751580AbdFHMFH (ORCPT ); Thu, 8 Jun 2017 08:05:07 -0400 Received: from frisell.zx2c4.com ([192.95.5.64]:47103 "EHLO frisell.zx2c4.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750788AbdFHMFF (ORCPT ); Thu, 8 Jun 2017 08:05:05 -0400 MIME-Version: 1.0 In-Reply-To: <7B079482-B436-4FE7-A752-9518606F15AB@holtmann.org> References: <20170606174804.31124-1-Jason@zx2c4.com> <20170606174804.31124-13-Jason@zx2c4.com> <20170608030631.ywmldxzehtumeqd3@thunk.org> <7B079482-B436-4FE7-A752-9518606F15AB@holtmann.org> From: "Jason A. Donenfeld" Date: Thu, 8 Jun 2017 14:05:02 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4 12/13] bluetooth/smp: ensure RNG is properly seeded before ECDH use To: Marcel Holtmann Cc: "Theodore Ts'o" , Linux Crypto Mailing List , LKML , kernel-hardening@lists.openwall.com, Greg Kroah-Hartman , "David S. Miller" , Eric Biggers , "Gustavo F. Padovan" , Johan Hedberg Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 446 Lines: 11 Hello Marcel, On Thu, Jun 8, 2017 at 7:04 AM, Marcel Holtmann wrote: > yes, there are plenty of commands needed before a controller becomes usable. That doesn't clearly address with precision what Ted was wondering. Specifically, the inquiry is: can you confirm with certainty whether or not all calls to get_random_bytes() in the bluetooth directory are *necessarily* going to come after a call to hci_power_on()? Jason