Skip to content

Commit

Permalink
Add CHANGES entries for the DEVRANDOM_WAIT feature and its removal
Browse files Browse the repository at this point in the history
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
(Merged from #9118)
  • Loading branch information
mspncp committed Jun 9, 2019
1 parent ad416c8 commit 247b8a0
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion CHANGES
Expand Up @@ -9,7 +9,17 @@

Changes between 1.1.1c and 1.1.1d [xx XXX xxxx]

*)
*) Revert the DEVRANDOM_WAIT feature for Linux systems

The DEVRANDOM_WAIT feature added a select() call to wait for the
/dev/random device to become readable before reading from the
/dev/urandom device.

It turned out that this change had negative side effects on
performance which were not acceptable. After some discussion it
was decided to revert this feature and leave it up to the OS
resp. the platform maintainer to ensure a proper initialization
during early boot time.

Changes between 1.1.1b and 1.1.1c [28 May 2019]

Expand Down Expand Up @@ -79,6 +89,16 @@
(CVE-2019-1543)
[Matt Caswell]

*) Add DEVRANDOM_WAIT feature for Linux systems

On older Linux systems where the getrandom() system call is not available,
OpenSSL normally uses the /dev/urandom device for seeding its CSPRNG.
Contrary to getrandom(), the /dev/urandom device will not block during
early boot when the kernel CSPRNG has not been seeded yet.

To mitigate this known weakness, use select() to wait for /dev/random to
become readable before reading from /dev/urandom.

*) Ensure that SM2 only uses SM3 as digest algorithm
[Paul Yang]

Expand Down

0 comments on commit 247b8a0

Please sign in to comment.