LinuxKPI: Add get_random_u32 function.
This patch is part of D19565 Reviewed by: hps Approved by: imp (mentor), hps MFC after: 1 week
This commit is contained in:
parent
3137d2d4ec
commit
d109700cf0
@ -35,6 +35,8 @@
|
||||
#include <sys/random.h>
|
||||
#include <sys/libkern.h>
|
||||
|
||||
#define get_random_u32() get_random_int()
|
||||
|
||||
static inline void
|
||||
get_random_bytes(void *buf, int nbytes)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user