Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107601482
D46632.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D46632.diff
View Options
diff --git a/stand/defaults/loader.conf b/stand/defaults/loader.conf
--- a/stand/defaults/loader.conf
+++ b/stand/defaults/loader.conf
@@ -48,8 +48,12 @@
# the boot-time entropy cache. This
# must not change value even if the
# _name above does change!
-entropy_efi_seed="YES" # Set this to NO to disable loading
- # entropy from the UEFI hardware random number generator API
+entropy_efi_seed="YES" # Set this to NO to disable loading
+ # entropy from the UEFI hardware
+ # random number generator API
+entropy_efi_seed_size="2048" # Set this to a different value to
+ # change the amount of entropy
+ # requested from EFI
### RAM Blacklist configuration ############################
ram_blacklist_load="NO" # Set this to YES to load a file
diff --git a/stand/lua/core.lua b/stand/lua/core.lua
--- a/stand/lua/core.lua
+++ b/stand/lua/core.lua
@@ -369,7 +369,8 @@
function core.loadEntropy()
if core.isUEFIBoot() then
if (loader.getenv("entropy_efi_seed") or "no"):lower() == "yes" then
- loader.perform("efi-seed-entropy")
+ local seedsize = loader.getenv("entropy_efi_seed_size") or "2048"
+ loader.perform("efi-seed-entropy " .. seedsize)
end
end
end
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 17, 12:05 PM (20 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15838486
Default Alt Text
D46632.diff (1 KB)
Attached To
Mode
D46632: loader: Make EFI entropy size configurable
Attached
Detach File
Event Timeline
Log In to Comment