openssl/include/internal
Dr. Matthias St. Pierre 8164d91d18 DRBG: make the derivation function the default for ctr_drbg
The NIST standard presents two alternative ways for seeding the
CTR DRBG, depending on whether a derivation function is used or not.
In Section 10.2.1 of NIST SP800-90Ar1 the following is assessed:

  The use of the derivation function is optional if either an
  approved RBG or an entropy source provides full entropy output
  when entropy input is requested by the DRBG mechanism.
  Otherwise, the derivation function shall be used.

Since the OpenSSL DRBG supports being reseeded from low entropy random
sources (using RAND_POOL), the use of a derivation function is mandatory.
For that reason we change the default and replace the opt-in flag
RAND_DRBG_FLAG_CTR_USE_DF with an opt-out flag RAND_DRBG_FLAG_CTR_NO_DF.
This change simplifies the RAND_DRBG_new() calls.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5294)
2018-02-13 17:32:54 +01:00
..
__DECC_INCLUDE_EPILOGUE.H VMS: Copy DECC inclusion epi- and prologues to internals 2017-04-20 13:10:06 +02:00
__DECC_INCLUDE_PROLOGUE.H VMS: Copy DECC inclusion epi- and prologues to internals 2017-04-20 13:10:06 +02:00
bio.h Update copyright year 2018-02-13 13:59:25 +00:00
comp.h
conf.h RT4562: Fix misleading doc on OPENSSL_config 2016-06-14 12:30:37 -04:00
constant_time_locl.h Fix comment about undefined behavior of constant_time_msb 2017-12-25 13:29:51 +01:00
cryptlib.h Make OPENSSL_rdtsc universally available. 2018-02-07 10:08:15 +10:00
dane.h Perform DANE-EE(3) name checks by default 2016-07-12 10:16:34 -04:00
dso.h Use "" not <> for internal/ includes 2017-08-22 09:54:20 -04:00
dsoerr.h Small simplification in mkerr.pl 2018-02-09 07:04:32 -05:00
err.h
nelem.h Remove tests dependence on e_os.h 2017-08-18 09:50:25 +10:00
numbers.h
o_dir.h Fix some Typos and indents 2017-08-11 10:16:33 -04:00
o_str.h Remove internal functions OPENSSL_strcasecmp and OPENSSL_strncasecmp 2016-05-28 02:15:04 +02:00
rand.h DRBG: make the derivation function the default for ctr_drbg 2018-02-13 17:32:54 +01:00
refcount.h Move the REF_PRINT support from e_os.h to internal/refcount.h. 2017-08-30 07:20:44 +10:00
sockets.h Update copyright years on all files merged since Jan 1st 2018 2018-01-09 05:49:01 +01:00
thread_once.h Clarify what RUN_ONCE returns 2017-01-13 13:10:21 +01:00