Loading drivers/char/random.c +5 −5 Original line number Original line Diff line number Diff line Loading @@ -382,11 +382,11 @@ static void _get_random_bytes(void *buf, size_t len) } } /* /* * This function is the exported kernel interface. It returns some * This function is the exported kernel interface. It returns some number of * number of good random numbers, suitable for key generation, seeding * good random numbers, suitable for key generation, seeding TCP sequence * TCP sequence numbers, etc. In order to ensure that the randomness * numbers, etc. In order to ensure that the randomness returned by this * by this function is okay, the function wait_for_random_bytes() * function is okay, the function wait_for_random_bytes() should be called and * should be called and return 0 at least once at any point prior. * return 0 at least once at any point prior. */ */ void get_random_bytes(void *buf, size_t len) void get_random_bytes(void *buf, size_t len) { { Loading Loading
drivers/char/random.c +5 −5 Original line number Original line Diff line number Diff line Loading @@ -382,11 +382,11 @@ static void _get_random_bytes(void *buf, size_t len) } } /* /* * This function is the exported kernel interface. It returns some * This function is the exported kernel interface. It returns some number of * number of good random numbers, suitable for key generation, seeding * good random numbers, suitable for key generation, seeding TCP sequence * TCP sequence numbers, etc. In order to ensure that the randomness * numbers, etc. In order to ensure that the randomness returned by this * by this function is okay, the function wait_for_random_bytes() * function is okay, the function wait_for_random_bytes() should be called and * should be called and return 0 at least once at any point prior. * return 0 at least once at any point prior. */ */ void get_random_bytes(void *buf, size_t len) void get_random_bytes(void *buf, size_t len) { { Loading