Go to file
Dr. Matthias St. Pierre 6969a3f49a DRBG: Remove 'randomness' buffer from 'RAND_DRBG'
The DRBG callbacks 'get_entropy()' and 'cleanup_entropy()' are designed
in such a way that the randomness buffer does not have to be allocated
by the calling function. It receives the address of a dynamically
allocated buffer from get_entropy() and returns this address to
cleanup_entropy(), where it is freed. If these two calls are properly
paired, the address can be stored in a stack local variable of the
calling function, so there is no need for having a 'randomness' member
(and a 'filled' member) in 'RAND_DRBG'.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4266)
2017-08-28 08:58:50 -04:00
.github Remind people to have 'Fixes #XXXX' in the commit message 2017-04-02 21:51:47 +02:00
Configurations passed TARFILE="$(TARFILE)" NAME="$(NAME)" to tar target 2017-08-25 08:01:09 +02:00
VMS Simplify the handling of shared library version numbers 2017-07-26 22:53:03 +02:00
apps NO_SYS_TYPES_H isn't defined anywhere, stop using it as a guard 2017-08-25 15:50:59 +02:00
boringssl@2070f8ad91 Update ossl_config.json for later BoringSSL commit 2017-03-14 12:12:13 +00:00
crypto DRBG: Remove 'randomness' buffer from 'RAND_DRBG' 2017-08-28 08:58:50 -04:00
demos Demo style fixes and modernisation. 2017-07-13 07:34:40 +10:00
doc RAND: Rename the RAND_poll_ex() callback and its typedef 2017-08-28 08:52:02 -04:00
engines Add predicatable RAND_METHOD to test ENGINE 2017-08-06 19:24:32 +01:00
external/perl Copyright consolidation; .pm and Configure 2016-04-20 10:40:05 -04:00
fuzz bndiv fuzzer: limit the size of the input to avoid timeout 2017-08-16 10:05:40 -04:00
include DRBG: Remove 'randomness' buffer from 'RAND_DRBG' 2017-08-28 08:58:50 -04:00
krb5@b9ad6c4950 [extended tests] Enable krb5 tests in Travis 2017-04-18 19:10:25 +02:00
ms Remove filename argument to x86 asm_init. 2017-05-11 17:00:23 -04:00
os-dep Move Haiku configuration to separate config file to denote 2016-05-19 22:39:52 +02:00
pyca-cryptography@c1f8e46033 Update pyca-cryptography to latest commit 2017-08-11 11:16:44 +10:00
ssl NO_SYS_TYPES_H isn't defined anywhere, stop using it as a guard 2017-08-25 15:50:59 +02:00
test DRBG: clarify difference between entropy counts and buffer lengths 2017-08-28 08:52:02 -04:00
tools Add -h and -help for c_rehash script and app 2016-09-14 08:59:48 -04:00
util RAND: Rename the RAND_poll_ex() callback and its typedef 2017-08-28 08:52:02 -04:00
.gitattributes crypto/pkcs12: facilitate accessing data with non-interoperable password. 2016-08-22 13:52:59 +02:00
.gitignore Add apps/progs.h to gitignore 2017-06-15 16:56:56 -04:00
.gitmodules [extended tests] Enable krb5 tests in Travis 2017-04-18 19:10:25 +02:00
.travis-apt-pin.preferences Fix travis clang-3.9 builds 2017-06-23 17:57:02 +01:00
.travis-create-release.sh Remove the -n tar flag from osx dist creation 2016-03-08 20:21:26 +01:00
.travis.yml Add echo for end of each build phase 2017-07-04 16:23:59 -04:00
ACKNOWLEDGEMENTS Refer to website for acknowledgements. 2015-12-08 16:07:09 -05:00
AUTHORS Copyright consolidation: perl files 2016-04-20 09:45:40 -04:00
CHANGES MSC_VER <= 1200 isn't supported; remove dead code 2017-08-27 11:35:39 -04:00
CONTRIBUTING Update the location of the pod files 2016-11-18 07:28:03 -05:00
Configure Allow --strict-warnings with the icc compiler as well 2017-08-25 08:05:13 +02:00
FAQ Move FAQ to the web. 2015-08-16 19:02:29 -04:00
INSTALL Fix description of how to report a bug in INSTALL 2017-08-25 14:16:20 +01:00
LICENSE Update year, wording tweak 2017-02-28 10:13:32 -05:00
Makefile.shared Makefile.shared: Make link_shlib.linux-shared less verbose again 2017-07-24 11:57:44 +02:00
NEWS STORE: Add an entry in NEWS and CHANGES 2017-06-29 11:55:33 +02:00
NOTES.DJGPP Slight cleanup of the collection of READMEs, INSTALLs and NOTES 2016-05-23 16:02:53 +02:00
NOTES.PERL Tweaks to NOTES.PERL 2016-06-03 17:10:16 +01:00
NOTES.UNIX Add NOTES.UNIX, with a description on how to deal with runpaths 2017-03-02 07:33:27 +01:00
NOTES.VMS More typo fixes 2017-03-29 07:14:29 +02:00
NOTES.WIN Various doc fixes. 2017-07-26 23:09:40 -04:00
README Fix typo (reported by Matthias St. Pierre) 2016-10-26 11:48:43 -04:00
README.ECC Add NSA sublicense info. 2011-05-11 12:50:57 +00:00
README.ENGINE Remove bsd_cryptodev engine 2017-06-19 09:31:45 -04:00
README.FIPS Remove more (rest?) of FIPS build stuff. 2016-01-06 12:07:26 -05:00
appveyor.yml Remove notification settings from appveyor.yml 2017-05-17 12:36:28 +02:00
build.info Simplify the handling of shared library version numbers 2017-07-26 22:53:03 +02:00
config Better way to recognise mingw64 in config script 2017-03-13 21:41:20 +01:00
config.com VMS: no ENDIF on one line IF statements, in config.com 2016-08-17 10:48:43 +02:00
e_os.h MSC_VER <= 1200 isn't supported; remove dead code 2017-08-27 11:35:39 -04:00

README

 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 optimisation 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.