random: add 8-bit and 16-bit batches
[sfrench/cifs-2.6.git] / include / linux / random.h
index a9e6e16f977419fb73d12610d106e76976e31f37..2c130f8f18e5385dafa44b7afb2f3e15073b78ff 100644 (file)
@@ -38,6 +38,8 @@ static inline int unregister_random_vmfork_notifier(struct notifier_block *nb) {
 #endif
 
 void get_random_bytes(void *buf, size_t len);
+u8 get_random_u8(void);
+u16 get_random_u16(void);
 u32 get_random_u32(void);
 u64 get_random_u64(void);
 static inline unsigned int get_random_int(void)