|
From: | Ludovic Courtès |
Subject: | bug#37501: [core-updates] Entropy starvation during boot |
Date: | Fri, 04 Oct 2019 11:07:50 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Ludovic Courtès <address@hidden> skribis: > + (let ((bits (* 8 (stat:size (stat seed))))) > + (add-to-entropy-count urandom bits))))))) Oh we also need to do that below, when reading from /dev/hwrng: (when buf (call-with-output-file "/dev/urandom" (lambda (urandom) (put-bytevector urandom buf) (let ((bits (* 8 (bytevector-length buf)))) (add-to-entropy-count urandom bits))))) ;<- here Ludo’.
[Prev in Thread] | Current Thread | [Next in Thread] |