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:
Ben Gras
2009-04-02 15:24:44 +00:00
parent 51596bc608
commit 9647fbc94e
19 changed files with 177 additions and 80 deletions

View File

@@ -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);