|
@@ -125,7 +125,7 @@ static int generate_entropy(u8 *ebuf, size_t nbytes)
|
|
|
/* fill page with urandom bytes */
|
|
|
get_random_bytes(pg, PAGE_SIZE);
|
|
|
/* exor page with stckf values */
|
|
|
- for (n = 0; n < sizeof(PAGE_SIZE/sizeof(u64)); n++) {
|
|
|
+ for (n = 0; n < PAGE_SIZE / sizeof(u64); n++) {
|
|
|
u64 *p = ((u64 *)pg) + n;
|
|
|
*p ^= get_tod_clock_fast();
|
|
|
}
|