Go to file
Dr. Matthias St. Pierre a93ba405b0 Add master DRBG for reseeding
A third shared DRBG is added, the so called master DRBG. Its sole purpose
is to reseed the two other shared DRBGs, the public and the private DRBG.
The randomness for the master DRBG is either pulled from the os entropy
sources, or added by the application using the RAND_add() call.

The master DRBG reseeds itself automatically after a given number of generate
requests, but can also be reseeded using RAND_seed() or RAND_add().
A reseeding of the master DRBG is automatically propagated to the public
and private DRBG. This construction fixes the problem, that up to now
the randomness provided by RAND_add() was added only to the public and
not to the private DRBG.

Signed-off-by: Dr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
(Merged from https://github.com/openssl/openssl/pull/4402)
2017-12-17 23:12:10 +01:00
.github
apps Merge HRR into ServerHello 2017-12-14 15:06:37 +00:00
boringssl@2070f8ad91
Configurations Remove test-runs dir, adjust .gitignore 2017-12-15 19:27:42 +01:00
crypto Add master DRBG for reseeding 2017-12-17 23:12:10 +01:00
demos Add "friendly name" extractor 2017-11-30 14:53:46 -05:00
doc Fix invalid function type casts. 2017-12-15 19:33:48 +01:00
engines putting the missing static 2017-12-08 10:39:52 +00:00
external/perl
fuzz SM3: restructure to EVP internal and update doc to right location 2017-11-06 07:21:15 +08:00
include Add master DRBG for reseeding 2017-12-17 23:12:10 +01:00
krb5@b9ad6c4950
ms Many spelling fixes/typo's corrected. 2017-11-11 19:03:10 -05:00
os-dep
pyca-cryptography@c1f8e46033 Update pyca-cryptography to latest commit 2017-08-11 11:16:44 +10:00
ssl Add master DRBG for reseeding 2017-12-17 23:12:10 +01:00
test Add master DRBG for reseeding 2017-12-17 23:12:10 +01:00
tools
util Add master DRBG for reseeding 2017-12-17 23:12:10 +01:00
VMS Simplify the handling of shared library version numbers 2017-07-26 22:53:03 +02:00
.gitattributes
.gitignore Remove test-runs dir, adjust .gitignore 2017-12-15 19:27:42 +01:00
.gitmodules
.travis-apt-pin.preferences Fix travis clang-3.9 builds 2017-06-23 17:57:02 +01:00
.travis-create-release.sh
.travis.yml Travis: if "make update" created a diff, please show it 2017-11-03 09:26:44 +01:00
ACKNOWLEDGEMENTS
appveyor.yml
AUTHORS
build.info Fix VMS use of util/mkdef.pl in top build.info 2017-12-13 17:05:40 +01:00
CHANGES Note the removal of Makefile.shared in CHANGES 2017-12-12 17:18:07 +01:00
config Make sure ./config passes options to ./Configure correctly 2017-12-08 00:36:21 +01:00
config.com
Configure Restore makedepend capabilities for Windows and VMS 2017-12-12 17:21:46 +01:00
CONTRIBUTING
e_os.h e_os.h: add prandom and hwrng to the list of random devices on s390x. 2017-10-22 22:56:18 +02:00
FAQ
INSTALL Document how the configuration option 'reconf' works 2017-12-08 00:36:21 +01:00
LICENSE
NEWS Update CHANGES and NEWS for new release 2017-12-06 15:44:39 +00:00
NOTES.DJGPP
NOTES.PERL
NOTES.UNIX
NOTES.VMS
NOTES.WIN Various doc fixes. 2017-07-26 23:09:40 -04:00
README Many spelling fixes/typo's corrected. 2017-11-11 19:03:10 -05:00
README.ECC
README.ENGINE Remove bsd_cryptodev engine 2017-06-19 09:31:45 -04:00
README.FIPS

 OpenSSL 1.1.1-dev

 Copyright (c) 1998-2016 The OpenSSL Project
 Copyright (c) 1995-1998 Eric A. Young, Tim J. Hudson
 All rights reserved.

 DESCRIPTION
 -----------

 The OpenSSL Project is a collaborative effort to develop a robust,
 commercial-grade, fully featured, and Open Source toolkit implementing the
 Transport Layer Security (TLS) protocols (including SSLv3) as well as a
 full-strength general purpose cryptographic library.

 OpenSSL is descended from the SSLeay library developed by Eric A. Young
 and Tim J. Hudson.  The OpenSSL toolkit is licensed under a dual-license (the
 OpenSSL license plus the SSLeay license), which means that you are free to
 get and use it for commercial and non-commercial purposes as long as you
 fulfill the conditions of both licenses.

 OVERVIEW
 --------

 The OpenSSL toolkit includes:

 libssl (with platform specific naming):
     Provides the client and server-side implementations for SSLv3 and TLS.

 libcrypto (with platform specific naming):
     Provides general cryptographic and X.509 support needed by SSL/TLS but
     not logically part of it.

 openssl:
     A command line tool that can be used for:
        Creation of key parameters
        Creation of X.509 certificates, CSRs and CRLs
        Calculation of message digests
        Encryption and decryption
        SSL/TLS client and server tests
        Handling of S/MIME signed or encrypted mail
        And more...

 INSTALLATION
 ------------

 See the appropriate file:
        INSTALL         Linux, Unix, Windows, OpenVMS, ...
        NOTES.*         INSTALL addendums for different platforms

 SUPPORT
 -------

 See the OpenSSL website www.openssl.org for details on how to obtain
 commercial technical support. Free community support is available through the
 openssl-users email list (see
 https://www.openssl.org/community/mailinglists.html for further details).

 If you have any problems with OpenSSL then please take the following steps
 first:

    - Download the latest version from the repository
      to see if the problem has already been addressed
    - Configure with no-asm
    - Remove compiler optimization flags

 If you wish to report a bug then please include the following information
 and create an issue on GitHub:

    - OpenSSL version: output of 'openssl version -a'
    - Any "Configure" options that you selected during compilation of the
      library if applicable (see INSTALL)
    - OS Name, Version, Hardware platform
    - Compiler Details (name, version)
    - Application Details (name, version)
    - Problem Description (steps that will reproduce the problem, if known)
    - Stack Traceback (if the application dumps core)

 Just because something doesn't work the way you expect does not mean it
 is necessarily a bug in OpenSSL. Use the openssl-users email list for this type
 of query.

 HOW TO CONTRIBUTE TO OpenSSL
 ----------------------------

 See CONTRIBUTING

 LEGALITIES
 ----------

 A number of nations restrict the use or export of cryptography. If you
 are potentially subject to such restrictions you should seek competent
 professional legal advice before attempting to develop or distribute
 cryptographic code.