mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-19 09:32:27 +02:00
fix indentation
i was editting this in another editor Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+11
-11
@@ -1052,20 +1052,20 @@ fallback_rand(void)
|
|||||||
static unsigned long
|
static unsigned long
|
||||||
entropy_jitter(void)
|
entropy_jitter(void)
|
||||||
{
|
{
|
||||||
struct timeval a, b;
|
struct timeval a, b;
|
||||||
unsigned long mix = 0;
|
unsigned long mix = 0;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
for (i = 0; i < 8; i++) {
|
for (i = 0; i < 8; i++) {
|
||||||
gettimeofday(&a, NULL);
|
gettimeofday(&a, NULL);
|
||||||
getpid();
|
getpid();
|
||||||
gettimeofday(&b, NULL);
|
gettimeofday(&b, NULL);
|
||||||
|
|
||||||
mix ^= (unsigned long)(b.tv_usec - a.tv_usec);
|
mix ^= (unsigned long)(b.tv_usec - a.tv_usec);
|
||||||
mix ^= (unsigned long)&mix;
|
mix ^= (unsigned long)&mix;
|
||||||
}
|
}
|
||||||
|
|
||||||
return mix;
|
return mix;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
Reference in New Issue
Block a user