Return error when trying to use prediction resistance
authorKurt Roeckx <kurt@roeckx.be>
Sun, 18 Feb 2018 19:55:28 +0000 (20:55 +0100)
committerKurt Roeckx <kurt@roeckx.be>
Sat, 17 Mar 2018 10:35:33 +0000 (11:35 +0100)
commit311276ffe32ab0b161c364727cf8676591dbf47c
treea1e3cd284a42078146498bdb6e2bea3fa09e9ff3
parenteb238134e0a0fb5ac5c8239ade1dfe77a815aba5
Return error when trying to use prediction resistance

There is a requirements of having access to a live entropy source
which we can't do with the default callbacks. If you need prediction
resistance you need to set up your own callbacks that follow the
requirements of NIST SP 800-90C.

Reviewed-by: Dr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
GH: #5402
crypto/err/openssl.txt
crypto/rand/rand_err.c
crypto/rand/rand_lib.c
include/openssl/randerr.h