moved type and constants for random data to include file;
added consistency check in random; added source of randomness internal to random using timing; only retrieve random bins that are full.
This commit is contained in:
@@ -36,7 +36,7 @@ register message *m_ptr; /* pointer to request message */
|
||||
* not very random.
|
||||
*/
|
||||
lock;
|
||||
get_randomness(CLOCK_IRQ);
|
||||
get_randomness(&krandom, CLOCK_IRQ);
|
||||
unlock;
|
||||
|
||||
return(OK);
|
||||
|
||||
Reference in New Issue
Block a user