]> git.ipfire.org Git - thirdparty/openssl.git/commit
drbg: allow the ctr derivation function to be disabled in FIPS mode
authorPauli <pauli@openssl.org>
Fri, 16 Jul 2021 01:38:23 +0000 (11:38 +1000)
committerPauli <pauli@openssl.org>
Tue, 20 Jul 2021 08:34:07 +0000 (18:34 +1000)
commit00f5f3cd0097544540af5b6213ed7d82bc63590f
treedff6e7eb94851f05b2e79a5d639f5a0c93aa4aa4
parentc5dc9ab965f2a69bca964c709e648158f3e4cd67
drbg: allow the ctr derivation function to be disabled in FIPS mode

Word from the lab is:

    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.

So our disallowing it's use was more than required.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/16096)
providers/implementations/rands/drbg_ctr.c