From: Shane Lontis Date: Mon, 1 Oct 2018 23:25:59 +0000 (+1000) Subject: Change DRBG's to DRBGs X-Git-Tag: openssl-3.0.0-alpha1~3082 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=f3002a2ed3645d8d6e1511424b3f5e89f6117edf;ds=sidebyside Change DRBG's to DRBGs Minor change to documentation of RAND_DRBG_set_defaults() Reviewed-by: Paul Yang Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/7326) --- diff --git a/doc/man3/RAND_DRBG_new.pod b/doc/man3/RAND_DRBG_new.pod index 125e60d6c8..9705a7b419 100644 --- a/doc/man3/RAND_DRBG_new.pod +++ b/doc/man3/RAND_DRBG_new.pod @@ -56,7 +56,8 @@ NID_aes_128_ctr, NID_aes_192_ctr, NID_aes_256_ctr, NID_sha1, NID_sha224, NID_sha256, NID_sha384, NID_sha512, NID_sha512_224, NID_sha512_256, NID_sha3_224, NID_sha3_256, NID_sha3_384 or NID_sha3_512. -If this method is not called then the default type is given by RAND_DRBG_TYPE. +If this method is not called then the default type is given by NID_aes_256_ctr +and the default flags are zero. Before the DRBG can be used to generate random bits, it is necessary to set its type and to instantiate it. @@ -83,9 +84,8 @@ Enables use of HMAC instead of the HASH DRBG. These 3 flags can be used to set the individual DRBG types created. Multiple calls are required to set the types to different values. If none of these 3 -flags are used, then the same type and flags are used for all 3 DRBG's in the -B chain (, and ). The default used if this -method is not called is to use RAND_DRBG_FLAGS. +flags are used, then the same type and flags are used for all 3 DRBGs in the +B chain (, and ). =back