summaryrefslogtreecommitdiff
path: root/rnd.c
AgeCommit message (Collapse)AuthorFilesLines
2013-06-04rnd: add gen_key_bytes to generate key from good entropy sourceDaniel Borkmann1-7/+30
Make this a function and do not have this in curvetun hard coded. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
2013-06-04rnd: move entropy source definition to rndDaniel Borkmann1-5/+1
It's better off there anyway. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
2013-06-04rnd: break out prng from xutilsDaniel Borkmann1-0/+49
We only need it in curvetun, this makes it easier to maintain. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
c: Paolo Bonzini <pbonzini@redhat.com> Cc: Radim Krčmář <rkrcmar@redhat.com> Cc: linux-mips@linux-mips.org Cc: kvm@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/13222/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat