aboutsummaryrefslogtreecommitdiff
path: root/secure/lib
Commit message (Collapse)AuthorAgeFilesLines
* OpenSSL: Regen manual page for the previous commitJung-uk Kim2021-02-171-2/+3
| | | | | | This is regen for 9b2f020c14af71a2606012143432dd717c7cf90e. MFC after: 1 week
* OpenSSL: Remove obsolete include directoryJung-uk Kim2021-02-171-1/+0
| | | | | | This directory was deprecated since OpenSSL 1.1.1e. https://github.com/openssl/openssl/pull/9681
* OpenSSL: Regen manual pages for OpenSSL 1.1.1j.Jung-uk Kim2021-02-16489-1061/+536
|
* OpenSSL: Regenerate manual pages.Jung-uk Kim2021-01-28488-593/+1218
| | | | MFC after: 1 week
* OpenSSL: Support for kernel TLS offload (KTLS)John Baldwin2021-01-284-5/+28
| | | | | | | | | | | | | | | | | | | | 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
* Merge OpenSSL 1.1.1i.Jung-uk Kim2020-12-09387-777/+775
| | | | Notes: svn path=/head/; revision=368472
* Replace literal uses of /usr/local in C sources with _PATH_LOCALBASEStefan Eßer2020-10-271-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Literal references to /usr/local exist in a large number of files in the FreeBSD base system. Many are in contributed software, in configuration files, or in the documentation, but 19 uses have been identified in C source files or headers outside the contrib and sys/contrib directories. This commit makes it possible to set _PATH_LOCALBASE in paths.h to use a different prefix for locally installed software. In order to avoid changes to openssh source files, LOCALBASE is passed to the build via Makefiles under src/secure. While _PATH_LOCALBASE could have been used here, there is precedent in the construction of the path used to a xauth program which depends on the LOCALBASE value passed on the compiler command line to select a non-default directory. This could be changed in a later commit to make the openssh build consistently use _PATH_LOCALBASE. It is considered out-of-scope for this commit. Reviewed by: imp MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D26942 Notes: svn path=/head/; revision=367075
* Move generated OpenSSL assembly routines into the kernel sources.John Baldwin2020-10-2083-204615/+2
| | | | | | | Sponsored by: Netflix Notes: svn path=/head/; revision=366898
* Merge OpenSSL 1.1.1h.Jung-uk Kim2020-09-22488-1422/+1548
| | | | Notes: svn path=/head/; revision=366004
* build: provide a default WARNS for all in-tree buildsKyle Evans2020-09-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | The current default is provided in various Makefile.inc in some top-level directories and covers a good portion of the tree, but doesn't cover parts of the build a little deeper (e.g. libcasper). Provide a default in src.sys.mk and set WARNS to it in bsd.sys.mk if that variable is defined. This lets us relatively cleanly provide a default WARNS no matter where you're building in the src tree without breaking things outside of the tree. Crunchgen has been updated as a bootstrap tool to work on this change because it needs r365605 at a minimum to succeed. The cleanup necessary to successfully walk over this change on WITHOUT_CLEAN builds has been added. There is a supplemental project to this to list all of the warnings that are encountered when the environment has WARNS=6 NO_WERROR=yes: https://warns.kevans.dev -- this project will hopefully eventually go away in favor of CI doing a much better job than it. Reviewed by: emaste, brooks, ngie (all earlier version) Reviewed by: emaste, arichardson (depend-cleanup.sh change) Differential Revision: https://reviews.freebsd.org/D26455 Notes: svn path=/head/; revision=365887
* Regen X86 assembly files after r364822.Jung-uk Kim2020-08-2622-86/+44039
| | | | Notes: svn path=/head/; revision=364823
* Fix a typo in the cpp macro defined for PIC.John Baldwin2020-08-131-1/+1
| | | | | | | | | | | In practice this isn't used in OpenSSL outside of some sparc-specific code. Reviewed by: delphij Differential Revision: https://reviews.freebsd.org/D26058 Notes: svn path=/head/; revision=364218
* Replace OPENSSL_NO_SSL3_METHODs with dummiesConrad Meyer2020-07-013-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | SSLv3 has been deprecated since 2015 (and broken since 2014: "POODLE"); it should not have shipped in FreeBSD 11 (2016) or 12 (2018). No one should use it, and if they must, they can use some implementation outside of base. There are three symbols removed with OPENSSL_NO_SSL3_METHOD: SSLv3_client_method SSLv3_method SSLv3_server_method These symbols exist to request an explicit SSLv3 connection to a server. There is no good reason for an application to link or invoke these symbols instead of TLS_method(), et al (née SSLv23_method, et al). Applications that do so have broken cryptography. Define these symbols for some pedantic definition of ABI stability, but remove the functionality again (r361392) after r362620. Reviewed by: gordon, jhb (earlier-but-equivalent version both) Discussed with: bjk, kib Differential Revision: https://reviews.freebsd.org/D25493 Notes: svn path=/head/; revision=362818
* Revert OPENSSL_NO_SSL3_METHOD to keep ABI compatibility.Gordon Tetlow2020-06-251-3/+0
| | | | | | | | | | | | | | | This define caused a couple of symbols to disappear. To keep ABI compatibility, we are going to keep the symbols exposed, but leave SSLv3 as not in the default config (this is what OPENSSL_NO_SSL3 achieves). The ramifications of this is an application can still use SSLv3 if it specifically calls the SSLv3_method family of APIs. Reported by: kib, others Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D25451 Notes: svn path=/head/; revision=362620
* Install 32-bit libcrypto engines in /usr/lib32/engines instead ofTijl Coosemans2020-06-012-2/+2
| | | | | | | | | | /usr/lib32 and let 32-bit libcrypto search that location instead of /usr/lib/engines. Reviewed by: jkim Notes: svn path=/head/; revision=361700
* Remove support for SSLv3 from the OpenSSL build.Gordon Tetlow2020-05-221-0/+6
| | | | | | | | | | | | This is the default configuration in OpenSSL 1.1.1 already. This moves to align with that default. Reported by: jmg Approved by: jkim, cem, emaste, philip Differential Revision: https://reviews.freebsd.org/D24945 Notes: svn path=/head/; revision=361392
* Merge OpenSSL 1.1.1g.Jung-uk Kim2020-04-21487-490/+702
| | | | Notes: svn path=/head/; revision=360175
* Merge OpenSSL 1.1.1f.Jung-uk Kim2020-03-31485-491/+516
| | | | Notes: svn path=/head/; revision=359486
* Reduce diff with the vendor version. No functional change.Jung-uk Kim2020-03-181-3/+3
| | | | Notes: svn path=/head/; revision=359061
* Merge OpenSSL 1.1.1e.Jung-uk Kim2020-03-18522-45451/+3006
| | | | Notes: svn path=/head/; revision=359060
* Install man5 and man7 for OpenSSL.Jung-uk Kim2020-01-22486-3809/+8973
| | | | | | | | | | Note config.5 and crypto.7 are not installed because we have conflicts. Requested by: phk MFC after: 1 month Notes: svn path=/head/; revision=356963
* Update Makefile.depend filesSimon J. Gerraty2019-12-113-4/+1
| | | | | | | | | | | | | Update a bunch of Makefile.depend files as a result of adding Makefile.depend.options files Reviewed by: bdrewery MFC after: 1 week Sponsored by: Juniper Networks Differential Revision: https://reviews.freebsd.org/D22494 Notes: svn path=/head/; revision=355617
* Merge OpenSSL 1.1.1d.Jung-uk Kim2019-09-10474-13070/+1798
| | | | Notes: svn path=/head/; revision=352191
* pkgbase: Put a lot of binaries and lib in FreeBSD-runtimeEmmanuel Vadot2019-09-051-0/+1
| | | | | | | | | | | | All of them are needed to be able to boot to single user and be able to repair a existing FreeBSD installation so put them directly into FreeBSD-runtime. Reviewed by: bapt, gjb Differential Revision: https://reviews.freebsd.org/D21503 Notes: svn path=/head/; revision=351855
* Merge OpenSSL 1.1.1c.Jung-uk Kim2019-05-28465-908/+1014
| | | | Notes: svn path=/head/; revision=348340
* Merge OpenSSL 1.1.1b.Jung-uk Kim2019-02-26481-11339/+13446
| | | | Notes: svn path=/head/; revision=344602
* Enable devcryptoeng for OpenSSL.Jung-uk Kim2018-12-122-5/+2
| | | | | | | | | | | | | | | | | | | | | | Since OpenSSL 1.1.1, the good old BSD-specific cryptodev engine has been deprecated in favor of this new engine. However, this engine is not throughly tested on FreeBSD because it was originally written for Linux. http://cryptodev-linux.org/ Also, the author actually meant to enable it by default on BSD platforms but he failed to do so because there was a bug in the Configure script. https://github.com/openssl/openssl/pull/7882 Now they found that it was more generic issue. https://github.com/openssl/openssl/pull/7885 Therefore, we need to enable this engine on head to give it more exposure. Notes: svn path=/head/; revision=342009
* Merge OpenSSL 1.1.1a.Jung-uk Kim2018-11-20468-1072/+1074
| | | | Notes: svn path=/head/; revision=340703
* Bump base OpenSSL libraries versions to avoid conflict with port's libraries.Konstantin Belousov2018-10-252-2/+2
| | | | | | | | | | Reported by: many Reviewed by: gjb Sponsored by: The FreeBSD Foundation MFC after: 3 hours Notes: svn path=/head/; revision=339709
* libcrypto: have buildinf.h depend on MakefileEd Maste2018-10-051-1/+1
| | | | | | | | | | | So that it will be regenerated after Makefile changes affecting the file's content - specifically, the OpenSSL 1.1.1 update adds a DATE macro which did not exist previously. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/openssl111/; revision=339209
* openssh: connect libressl-api-compat.c and regen config.hEd Maste2018-10-031-1/+3
| | | | | | | Differential Revision: https://reviews.freebsd.org/D17390 Notes: svn path=/projects/openssl111/; revision=339157
* Drop pre-AVX toolchain for amd64 and i386 to simplify the makefile.Jung-uk Kim2018-10-011-9/+2
| | | | | | | Especially, head does not support old toolchains because of ifunc support. Notes: svn path=/projects/openssl111/; revision=339070
* Remove MD dirdeps from Makefile.depend.Jung-uk Kim2018-09-251-1/+0
| | | | | | | It can't be right. :-( Notes: svn path=/projects/openssl111/; revision=338936
* Make it more meta mode friendly.Jung-uk Kim2018-09-251-3/+6
| | | | Notes: svn path=/projects/openssl111/; revision=338935
* Fix CLEANFILES.Jung-uk Kim2018-09-251-1/+1
| | | | Notes: svn path=/projects/openssl111/; revision=338934
* Regen Makefile.depend.Jung-uk Kim2018-09-252-2/+2
| | | | Notes: svn path=/projects/openssl111/; revision=338933
* Connect an assembly file for aarch64 to build.Jung-uk Kim2018-09-221-1/+3
| | | | Notes: svn path=/projects/openssl111/; revision=338894
* Add missing ACFLAGS for aarch64.Jung-uk Kim2018-09-221-0/+3
| | | | Notes: svn path=/projects/openssl111/; revision=338884
* Fix typos in the previous commit.Jung-uk Kim2018-09-221-2/+2
| | | | Notes: svn path=/projects/openssl111/; revision=338883
* Add a missing source file for SHA.Jung-uk Kim2018-09-221-0/+2
| | | | Notes: svn path=/projects/openssl111/; revision=338882
* Add CFLAGS for aarch64/arm assembly files.Jung-uk Kim2018-09-221-2/+15
| | | | Notes: svn path=/projects/openssl111/; revision=338881
* Add another include directory for aarch64 and arm.Jung-uk Kim2018-09-221-0/+1
| | | | Notes: svn path=/projects/openssl111/; revision=338880
* Regen cpuid assembly files for aarch64 and arm.Jung-uk Kim2018-09-223-2/+405
| | | | Notes: svn path=/projects/openssl111/; revision=338879
* Connect assembly files for arm to build.Jung-uk Kim2018-09-221-1/+17
| | | | Notes: svn path=/projects/openssl111/; revision=338878
* Regen assembly files for arm.Jung-uk Kim2018-09-2215-3082/+13495
| | | | Notes: svn path=/projects/openssl111/; revision=338877
* Connect assembly files for aarch64 to build.Jung-uk Kim2018-09-221-7/+21
| | | | Notes: svn path=/projects/openssl111/; revision=338876
* Regen assemply files for aarch64.Jung-uk Kim2018-09-2212-882/+13484
| | | | Notes: svn path=/projects/openssl111/; revision=338875
* Unify opensslconf.h templates.Jung-uk Kim2018-09-218-1592/+1
| | | | | | | There is no MD macro in this file any more. Notes: svn path=/projects/openssl111/; revision=338870
* Regen assembly files for i386 after r338846.Jung-uk Kim2018-09-2011-1687/+25243
| | | | Notes: svn path=/projects/openssl111/; revision=338847
* Add CFLAGS for i386 assembly files.Jung-uk Kim2018-09-201-1/+14
| | | | Notes: svn path=/projects/openssl111/; revision=338846