Re: [PATCH v7 3/4] vsprintf: Use hw RNG for ptr_key

2018-06-12 Thread Tobin C. Harding
On Tue, Jun 12, 2018 at 02:44:58PM -0400, Steven Rostedt wrote: > On Tue, 12 Jun 2018 10:39:13 +1000 > "Tobin C. Harding" wrote: > > > Currently we must wait for enough entropy to become available before > > hashed pointers can be printed. We can remove this wait by using the > > hw RNG if avail

Re: [PATCH v7 3/4] vsprintf: Use hw RNG for ptr_key

2018-06-12 Thread Steven Rostedt
On Tue, 12 Jun 2018 10:39:13 +1000 "Tobin C. Harding" wrote: > Currently we must wait for enough entropy to become available before > hashed pointers can be printed. We can remove this wait by using the > hw RNG if available. > > Use hw RNG to get keying material. > > Cc: Steven Rostedt (VMwar

[PATCH v7 3/4] vsprintf: Use hw RNG for ptr_key

2018-06-11 Thread Tobin C. Harding
Currently we must wait for enough entropy to become available before hashed pointers can be printed. We can remove this wait by using the hw RNG if available. Use hw RNG to get keying material. Cc: Steven Rostedt (VMware) Suggested-by: Kees Cook Signed-off-by: Tobin C. Harding --- lib/vsprin