doc: document that 'openssl rand' is cryptographically secure
authorDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Sun, 1 Mar 2020 23:25:29 +0000 (00:25 +0100)
committerPauli <paul.dale@oracle.com>
Thu, 12 Mar 2020 03:08:15 +0000 (13:08 +1000)
commitb69c7d352fad9f1b83eb6d86869f22885e1d6790
tree5be064207682177399ad10b1e463176e8c91a65d
parent2cb5e08c2cc5217e41b0b22432293b72dcb234b9
doc: document that 'openssl rand' is cryptographically secure

(cherry picked from commit 88398d2a358f)

Additionally, remove an outdated paragraph mentioning the .rnd
file, which is obsolete in 1.1.1 since the RANDFILE entry was
removed from openssl.cnf in commit 1fd6afb571e8.

Also borrow some text from 'openssl(1)/Random State Options'
on master (commit a397aca43598) to emphasize that it is not
necessary anymore to restore and save the RNG state using the
'-rand' and '-writerand' options.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11251)
doc/man1/rand.pod
doc/man3/RAND_bytes.pod