diff options
Diffstat (limited to 'drivers/vhost/vhost.c')
-rw-r--r-- | drivers/vhost/vhost.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c |
#ifndef RND_H #define RND_H #define HIG_ENTROPY_SOURCE "/dev/random" #define LOW_ENTROPY_SOURCE "/dev/urandom" /* secrand is not really secure, but the name only suggests it's better to use * than rand(3) when transferring bytes over the network in non-security * critical structure members. secrand() is only used to fill up salts actually. */ extern int secrand(void); extern void gen_key_bytes(unsigned char *area, size_t len); #endif /* RND_H */ e='net-next.git Git repository'/>
![]() |
index : net-next.git | |
net-next plumbings | Tobias Klauser |
summaryrefslogtreecommitdiff |
-rw-r--r-- | drivers/vhost/vhost.c | 10 |
diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c |