Re: [PATCH v4 12/13] bluetooth/smp: ensure RNG is properly seeded before ECDH use

From: Jason A. Donenfeld
Date: Thu Jun 08 2017 - 08:05:10 EST


Hello Marcel,

On Thu, Jun 8, 2017 at 7:04 AM, Marcel Holtmann <marcel@xxxxxxxxxxxx> 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