rnd: add gen_key_bytes to generate key from good entropy source
commit85726b6a6d53f6c3a2c18ba3412ee5b14ee4d6f3
authorDaniel Borkmann <dborkman@redhat.com>
Tue, 4 Jun 2013 11:22:56 +0000 (4 13:22 +0200)
committerDaniel Borkmann <dborkman@redhat.com>
Tue, 4 Jun 2013 11:22:56 +0000 (4 13:22 +0200)
tree4a76b6b0e85127135eaa30e6478cfdc18847702a
parent26b173d328e36e423ff7765df5b3fc75abb6a1d9
rnd: add gen_key_bytes to generate key from good entropy source

Make this a function and do not have this in curvetun hard coded.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
curvetun.c
rnd.c
rnd.h