freebsd-nq/crypto/openssl
John Baldwin aa906e2a49 OpenSSL: Support for kernel TLS offload (KTLS)
This merges upstream patches from OpenSSL's master branch to add
KTLS infrastructure for TLS 1.0-1.3 including both RX and TX
offload and SSL_sendfile support on both Linux and FreeBSD.

Note that TLS 1.3 only supports TX offload.

A new WITH/WITHOUT_OPENSSL_KTLS determines if OpenSSL is built with
KTLS support.  It defaults to enabled on amd64 and disabled on all
other architectures.

Reviewed by:	jkim (earlier version)
Approved by:	secteam
Obtained from:	OpenSSL (patches from master)
MFC after:	1 week
Relnotes:	yes
Sponsored by:	Netflix
Differential Revision:	https://reviews.freebsd.org/D28273
2021-01-28 10:24:13 -08:00
..
apps OpenSSL: Support for kernel TLS offload (KTLS) 2021-01-28 10:24:13 -08:00
crypto OpenSSL: Support for kernel TLS offload (KTLS) 2021-01-28 10:24:13 -08:00
doc OpenSSL: Support for kernel TLS offload (KTLS) 2021-01-28 10:24:13 -08:00
engines OpenSSL: Support for kernel TLS offload (KTLS) 2021-01-28 10:24:13 -08:00
include OpenSSL: Support for kernel TLS offload (KTLS) 2021-01-28 10:24:13 -08:00
ssl OpenSSL: Support for kernel TLS offload (KTLS) 2021-01-28 10:24:13 -08:00
ACKNOWLEDGEMENTS Update OpenSSL to 1.1.1. 2018-09-13 20:40:51 +00:00
appveyor.yml Merge OpenSSL 1.1.1h. 2020-09-22 16:18:31 +00:00
AUTHORS Update OpenSSL to 1.1.1. 2018-09-13 20:40:51 +00:00
build.info Merge OpenSSL 1.1.1e. 2020-03-18 02:13:12 +00:00
CHANGES OpenSSL: Support for kernel TLS offload (KTLS) 2021-01-28 10:24:13 -08:00
config Merge OpenSSL 1.1.1i. 2020-12-09 02:05:14 +00:00
Configure OpenSSL: Support for kernel TLS offload (KTLS) 2021-01-28 10:24:13 -08:00
CONTRIBUTING Merge OpenSSL 1.1.1e. 2020-03-18 02:13:12 +00:00
e_os.h Merge OpenSSL 1.1.1h. 2020-09-22 16:18:31 +00:00
FAQ
INSTALL OpenSSL: Support for kernel TLS offload (KTLS) 2021-01-28 10:24:13 -08:00
LICENSE Merge OpenSSL 1.1.1b. 2019-02-26 19:31:33 +00:00
NEWS Merge OpenSSL 1.1.1i. 2020-12-09 02:05:14 +00:00
NOTES.PERL Merge OpenSSL 1.1.1h. 2020-09-22 16:18:31 +00:00
NOTES.UNIX Update OpenSSL to 1.1.1. 2018-09-13 20:40:51 +00:00
README Merge OpenSSL 1.1.1i. 2020-12-09 02:05:14 +00:00
README.ENGINE Update OpenSSL to 1.1.1. 2018-09-13 20:40:51 +00:00
README.FIPS Update OpenSSL to 1.1.1. 2018-09-13 20:40:51 +00:00

 OpenSSL 1.1.1i 8 Dec 2020

 Copyright (c) 1998-2020 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.