You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
781 B
26 lines
781 B
2 years ago
|
From 216f6490af452a774ef882319083858248248da8 Mon Sep 17 00:00:00 2001
|
||
2 years ago
|
From: David Tardon <dtardon@redhat.com>
|
||
|
Date: Thu, 15 Jul 2021 11:15:17 +0200
|
||
|
Subject: [PATCH] random-util: increase random seed size to 1024
|
||
|
|
||
|
RHEL-only
|
||
|
|
||
2 years ago
|
Related: #2138081
|
||
2 years ago
|
---
|
||
|
src/basic/random-util.h | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/src/basic/random-util.h b/src/basic/random-util.h
|
||
2 years ago
|
index 2d99807272..7e6f66df4d 100644
|
||
2 years ago
|
--- a/src/basic/random-util.h
|
||
|
+++ b/src/basic/random-util.h
|
||
2 years ago
|
@@ -21,7 +21,7 @@ static inline uint32_t random_u32(void) {
|
||
|
}
|
||
2 years ago
|
|
||
|
/* Some limits on the pool sizes when we deal with the kernel random pool */
|
||
2 years ago
|
-#define RANDOM_POOL_SIZE_MIN 32U
|
||
2 years ago
|
+#define RANDOM_POOL_SIZE_MIN 1024U
|
||
|
#define RANDOM_POOL_SIZE_MAX (10U*1024U*1024U)
|
||
|
|
||
|
size_t random_pool_size(void);
|