Go to file
David Benjamin dc55e4f70f Fix a bug in ecp_nistp224.c.
felem_neg does not produce an output within the tight bounds suitable
for felem_contract. This affects build configurations which set
enable-ec_nistp_64_gcc_128.

point_double and point_add, in the non-z*_is_zero cases, tolerate and
fix up the wider bounds, so this only affects point_add calls where the
other point is infinity. Thus it only affects the final addition in
arbitrary-point multiplication, giving the wrong y-coordinate. This is a
no-op for ECDH and ECDSA, which only use the x-coordinate of
arbitrary-point operations.

Note: ecp_nistp521.c has the same issue in that the documented
preconditions are violated by the test case. I have not addressed this
in this PR. ecp_nistp521.c does not immediately produce the wrong
answer; felem_contract there appears to be a bit more tolerant than its
documented preconditions. However, I haven't checked the point_add
property above holds. ecp_nistp521.c should either get this same fix, to
be conservative, or have the bounds analysis and comments reworked for
the wider bounds.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5779)
2018-04-03 16:09:20 -04:00
.github
apps Change the "offset too large" message to more generic wording 2018-04-03 16:02:17 +02:00
boringssl@2070f8ad91
Configurations Enabled OneCore Conf for Console Apps (removed nonUniversal API) 2018-04-03 18:39:22 +02:00
crypto Fix a bug in ecp_nistp224.c. 2018-04-03 16:09:20 -04:00
demos
doc Fix some errors in the mem leaks docs 2018-04-03 16:17:34 +01:00
engines Update copyright year 2018-03-20 13:08:46 +00:00
external/perl
fuzz Update copyright year 2018-04-03 13:57:12 +01:00
include VMS: stricter acquisition of entropy for the pool 2018-04-03 18:24:41 +02:00
krb5@b9ad6c4950
ms Remove unused num.pl,segregnam scripts 2018-02-22 15:36:27 -05:00
os-dep
pyca-cryptography@c1f8e46033
ssl Set error code on alloc failures 2018-04-03 11:31:16 -04:00
test Fix a bug in ecp_nistp224.c. 2018-04-03 16:09:20 -04:00
tools Update copyright year 2018-03-20 13:08:46 +00:00
util Update copyright year 2018-04-03 13:57:12 +01:00
VMS
.gitattributes
.gitignore
.gitmodules
.travis-apt-pin.preferences
.travis-create-release.sh Reduce travis-ci log output 2018-03-08 21:18:35 +01:00
.travis.yml .travis.yml: with fast fuzz testing, there is no point avoiding it 2018-03-29 09:24:56 +02:00
ACKNOWLEDGEMENTS
appveyor.yml appveyor.yml: omit makedepend step. 2018-02-24 14:17:24 +01:00
AUTHORS
build.info
CHANGES Fix a text canonicalisation bug in CMS 2018-04-03 15:52:31 +01:00
config Remove QNX support 2018-03-26 14:10:57 -04:00
config.com Update copyright year 2018-02-13 13:59:25 +00:00
Configure Fix minor typo in comment in Configure 2018-03-31 18:29:40 -04:00
CONTRIBUTING
e_os.h Update copyright year 2018-02-27 13:59:42 +00:00
FAQ
INSTALL Add documentation for the RAND_DRBG API 2018-03-30 00:10:38 +02:00
LICENSE
NEWS Update CHANGES and NEWS for the new release 2018-03-27 13:31:51 +01:00
NOTES.ANDROID Configurations/15-android.conf: detect clang by PATH, not by CC. 2018-03-19 14:31:30 +01:00
NOTES.DJGPP
NOTES.PERL
NOTES.UNIX NOTES.UNIX: add additional note about --enable-new-dtags 2018-02-15 10:58:31 +01:00
NOTES.VMS
NOTES.WIN NOTES.WIN: classify targets to "native" and "hosted" and restructure. 2018-03-18 13:29:44 +01:00
README Prepare for 1.1.1-pre5-dev 2018-04-03 14:26:16 +01:00
README.ECC
README.ENGINE
README.FIPS

 OpenSSL 1.1.1-pre5-dev

 Copyright (c) 1998-2018 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'
    - Configuration data: output of 'perl configdata.pm --dump'
    - 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.