Thread (12 messages) 12 messages, 6 authors, 2017-03-26

Question - seeding the hw pseudo random number generator

flat view

From: Stephan Müller <hidden>
Date: 2017-03-23 13:08:34
Also in: linux-crypto

Am Donnerstag, 23. M?rz 2017, 10:44:06 CET schrieb Herbert Xu:

Hi Herbert,
On Thu, Mar 23, 2017 at 09:23:07AM +0100, Corentin Labbe wrote:
quoted
Problem with this conversion, a huge regression for user space.
Using hwrng is simple as cat /dev/hwrng.
Using algif_rng via AF_ALG is ... unusable for the moment.
Perhaps creating an user space tool (prng-tool which provide a cat
/dev/hwrng replacement) is mandatory before any convertion.
Stephan may have a tool to do this.  Stephan?
Here is a suggestion for such a tool that I could add to libkcapi. Naturally, 
this code is only a demonstrator which lacks some features.

Ciao
Stephan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kcapi-rng.c
Type: text/x-csrc
Size: 3542 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170323/c0d8f632/attachment.bin>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help