|
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0 |
|
| #
ab64f100 |
| 21-Sep-2023 |
Pierre Pronchery <[email protected]> |
libcrypto: complete the support for the 0.9.8 API
When importing OpenSSL 3 in base, some but not all source files implementing the deprecated 0.9.8 API were imported. With this change, it becomes po
libcrypto: complete the support for the 0.9.8 API
When importing OpenSSL 3 in base, some but not all source files implementing the deprecated 0.9.8 API were imported. With this change, it becomes possible again to compile software targeting this API.
PR: 272220 Fixes: b077aed33b7b ("Merge OpenSSL 3.0.9") Reviewed by: emaste Sponsored by: The FreeBSD Foundation Pull Request: https://github.com/freebsd/freebsd-src/pull/851
(cherry picked from commit b15b39521644ebffdcc091bd283ed410b0ae9274)
show more ...
|
| #
fd4b13ac |
| 15-Sep-2023 |
Pierre Pronchery <[email protected]> |
libcrypto: link engines and the legacy provider to libcrypto
OpenSSL's legacy provider module and engines need to link to libcrypto.so, as it provides some of the actual implementations of legacy ro
libcrypto: link engines and the legacy provider to libcrypto
OpenSSL's legacy provider module and engines need to link to libcrypto.so, as it provides some of the actual implementations of legacy routines.
This is a little tricky due to build order issues. Introduce a small hack (LIBCRYPTO_WITHOUT_SUBDIRS) that builds libcrypto.so in its usual early phase without any OpenSSL provider modules or engines. This is intended to restore the test suite; a future change should remove the hack and replace it with a better approach.
PR: 254853, 273528 Discussed with: Folks at EuroBSDCon in Coimbra Sponsored by: The FreeBSD Foundation
(cherry picked from commit 1a18383a52bc373e316d224cef1298debf6f7e25)
show more ...
|
| #
bf5069fb |
| 29-Aug-2023 |
John Baldwin <[email protected]> |
libcrypto: Switch back to the generated assembly in sys/crypto/openssl
Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D41569
(cherry picked from commit 47d997021fbc7b662e9507
libcrypto: Switch back to the generated assembly in sys/crypto/openssl
Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D41569
(cherry picked from commit 47d997021fbc7b662e9507deec1897d514d1224c)
show more ...
|
| #
ef81451d |
| 29-Aug-2023 |
John Baldwin <[email protected]> |
libcrypto: Add buildasm and cleanasm targets
These targets generate all the assembly files in sys/crypto/openssl.
Reviewed by: markj, emaste (earlier version) Differential Revision: https://reviews
libcrypto: Add buildasm and cleanasm targets
These targets generate all the assembly files in sys/crypto/openssl.
Reviewed by: markj, emaste (earlier version) Differential Revision: https://reviews.freebsd.org/D41590
(cherry picked from commit 73653b72af65e294dcfedc43a8ea09b2137d72ed)
show more ...
|
| #
3250c9d5 |
| 22-Aug-2023 |
John Baldwin <[email protected]> |
libcrypto: Update assembly build glue for x86 for OpenSSL 3.0.
Notably, define AES_ASM which is required for any AES acceleration (OpenSSL 1.0 gated all AES acceleration on OPENSSL_CPUID_OBJ instead
libcrypto: Update assembly build glue for x86 for OpenSSL 3.0.
Notably, define AES_ASM which is required for any AES acceleration (OpenSSL 1.0 gated all AES acceleration on OPENSSL_CPUID_OBJ instead). Enabling this exposed that new assembly files added in OpenSSL 3.0 needed to be included in the build (aes-x86-64.S and aes-586.S). Both of these files supplant both aes_core.c and aes_cbc.c. The last file had to be moved out of the MI SRCS line for aes and into each ASM_* for non-x86.
As part of this I audited the generated configdata.pm for amd64, i386, and aarch64 and found the following additional discrepecancies that are fixed here as well:
- Enabled BSAES_ASM on amd64 which requires bsase-x86_64.S
- Enabled WHIRLPOOL_ASM on amd64 (asm sources already built)
- Enabled CMLL_ASM on amd64 and i386 (asm sources already built)
aarch64 had no discreprecancies in configdata.pm, and no *.pl asm generators were missing for aarch64 in Makefile.asm. I did not check powerpc or armv7, but for armv7 all of the asm generators seem to be present in Makefile.asm.
Reported by: gallatin (AES-GCM using plain software on amd64) Reviewed by: gallatin, ngie, emaste Differential Revision: https://reviews.freebsd.org/D41539
show more ...
|
| #
57a3b817 |
| 18-Aug-2023 |
Ed Maste <[email protected]> |
libcrypto: add rsa_depr.c to the build
It provides the RSA_generate_key function, which is deprecated as of 3.0 but is used by various ports.
Reviewed by: kbowling Sponsored by: The FreeBSD Foundat
libcrypto: add rsa_depr.c to the build
It provides the RSA_generate_key function, which is deprecated as of 3.0 but is used by various ports.
Reviewed by: kbowling Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D41506
show more ...
|
| #
e5e6a865 |
| 18-Aug-2023 |
Ed Maste <[email protected]> |
libcrypto: add err_all_legacy.c to the build
It provides the ERR_load_*_strings routines, which are deprecated as of 3.0 but are used by various ports.
PR: 272580 Reviewed by: kbowling Sponsored b
libcrypto: add err_all_legacy.c to the build
It provides the ERR_load_*_strings routines, which are deprecated as of 3.0 but are used by various ports.
PR: 272580 Reviewed by: kbowling Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D41505
show more ...
|
| #
d0b2dbfa |
| 16-Aug-2023 |
Warner Losh <[email protected]> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
| #
1d7ffb37 |
| 31-Jul-2023 |
Doug Rabson <[email protected]> |
pkgbase: reorganise caroot and openssl packages
This splits out the certctl utility into a new certctl package and the openssl libs into an openssl-lib package.
PR: 272816 Reviewed by: manu Differ
pkgbase: reorganise caroot and openssl packages
This splits out the certctl utility into a new certctl package and the openssl libs into an openssl-lib package.
PR: 272816 Reviewed by: manu Differential Revision: https://reviews.freebsd.org/D41321
show more ...
|
| #
ebd508a0 |
| 07-Jul-2023 |
Kristof Provost <[email protected]> |
openssl: include d2i_KeyParams() and d2i_KeyParams_bio()
These functions are new, and some ports (e.g.opensc) expect to have them available. Add the file they're defined in to the build, and add the
openssl: include d2i_KeyParams() and d2i_KeyParams_bio()
These functions are new, and some ports (e.g.opensc) expect to have them available. Add the file they're defined in to the build, and add them to Version.map.
PR: 270076 Reviewed by: markj, emaste, pierre Fixes: b077aed33b7b ("Merge OpenSSL 3.0.9") Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D40914
show more ...
|
| #
544deacc |
| 30-Jun-2023 |
Pierre Pronchery <[email protected]> |
libcrypto: group definitions for libcrypto and fips
OpenSSL 3 supports a modular architecture, allowing different providers to bring specific implementations of cryptographical algorithms. This chan
libcrypto: group definitions for libcrypto and fips
OpenSSL 3 supports a modular architecture, allowing different providers to bring specific implementations of cryptographical algorithms. This change makes sure the FIPS module matches build instructions used for libcrypto.
Sponsored by: The FreeBSD Foundation Pull Request: https://github.com/freebsd/freebsd-src/pull/787
show more ...
|
| #
9cbc371c |
| 24-Jun-2023 |
Ed Maste <[email protected]> |
libcrypto: build nistp* on all little-endian 64-bit targets
libcrypto intends to provide these routines on little-endian 64-bit targets. This was previously done by including them in the ASM_aarch6
libcrypto: build nistp* on all little-endian 64-bit targets
libcrypto intends to provide these routines on little-endian 64-bit targets. This was previously done by including them in the ASM_aarch64 and ASM_amd64 blocks in the Makefile, but this excluded powerpc64le and riscv64.
Reported by: ci.freebsd.org Reviewed by: jrtc27 Fixes: b077aed33b7b ("Merge OpenSSL 3.0.9") Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D40749
show more ...
|
| #
84ffbd77 |
| 30-May-2023 |
Jung-uk Kim <[email protected]> |
OpenSSL: Merge OpenSSL 1.1.1u
|
|
Revision tags: release/13.2.0 |
|
| #
fb313455 |
| 07-Feb-2023 |
Jung-uk Kim <[email protected]> |
OpenSSL: Merge OpenSSL 1.1.1t
|
|
Revision tags: release/12.4.0 |
|
| #
b323fa85 |
| 26-Aug-2022 |
Baptiste Daroussin <[email protected]> |
openssl: install pc files
most programs in ports are looking for .pc files in order to get the necessary information on how to compile and link against openssl.
The ports now also has a way to hide
openssl: install pc files
most programs in ports are looking for .pc files in order to get the necessary information on how to compile and link against openssl.
The ports now also has a way to hide or force a path for pkgconf.
Providing .pc files along with openssl in base will allow (once all the supported version of FreeBSD has it) so improve the framework to deal with openssl in base vs openssl in ports (and libressl)
This will also greatly reduce the number of patches necessary to workaround the build systems which only knows how to detect where openssl is installed via pkgconf.
PR: 266051 MFC After: 3 weeks Reviewed by: jkim, delphij Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D36360
show more ...
|
| #
3b41ae32 |
| 25-Jul-2022 |
Jessica Clarke <[email protected]> |
libcrypto: Work around strict aliasing violations in bn_nist.c
This file is full of strict aliasing violations. Previously it was only optimised in ways that broke the code by CHERI LLVM, but now it
libcrypto: Work around strict aliasing violations in bn_nist.c
This file is full of strict aliasing violations. Previously it was only optimised in ways that broke the code by CHERI LLVM, but now it appears that the in-tree LLVM also breaks it for RISC-V, resulting in broken ECDSA signature validation with error messages like the following:
root@unmatched:/usr/src # ssh-keygen -l -f /etc/ssh/ssh_host_ecdsa_key /etc/ssh/ssh_host_ecdsa_key is not a key file. root@unmatched:/usr/src # git fetch fatal: unable to access 'https://git.FreeBSD.org/src.git/': error:1012606B:elliptic curve routines:EC_POINT_set_affine_coordinates:point is not on curve
Reviewed by: dim, jkim Obtained from: CheriBSD MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D35885
show more ...
|
|
Revision tags: release/13.1.0, release/12.3.0 |
|
| #
3a608692 |
| 22-Nov-2021 |
Piotr Kubaj <[email protected]> |
Add assembly optimized code for OpenSSL on powerpc, powerpc64 and powerpc64le
Summary: 1. https://github.com/openssl/openssl/commit/34ab13b7d8e3e723adb60be8142e38b7c9cd382a needs to be merged for EL
Add assembly optimized code for OpenSSL on powerpc, powerpc64 and powerpc64le
Summary: 1. https://github.com/openssl/openssl/commit/34ab13b7d8e3e723adb60be8142e38b7c9cd382a needs to be merged for ELFv2 support on big-endian. 2. crypto/openssl/crypto/ppccap.c needs to be patched. Same reason as in https://github.com/openssl/openssl/pull/17082.
Approved by: jkim, jhibbits MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D33076
show more ...
|
| #
ca179c4d |
| 02-May-2021 |
Emmanuel Vadot <[email protected]> |
pkgbase: Put openssl in its own package
This is useful for upgrade and also to make tiny jail so they won't depend on FreeBSD-utilities (where openssl was packaged before).
MFC after: 1 month Diffe
pkgbase: Put openssl in its own package
This is useful for upgrade and also to make tiny jail so they won't depend on FreeBSD-utilities (where openssl was packaged before).
MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D30081
show more ...
|
|
Revision tags: release/13.0.0 |
|
| #
aa906e2a |
| 16-Jan-2021 |
John Baldwin <[email protected]> |
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
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
show more ...
|
|
Revision tags: release/12.2.0 |
|
| #
bc3d5698 |
| 20-Oct-2020 |
John Baldwin <[email protected]> |
Move generated OpenSSL assembly routines into the kernel sources.
Sponsored by: Netflix
|
|
Revision tags: release/11.4.0 |
|
| #
a9e3baa5 |
| 22-Jan-2020 |
Jung-uk Kim <[email protected]> |
Install man5 and man7 for OpenSSL.
Note config.5 and crypto.7 are not installed because we have conflicts.
Requested by: phk MFC after: 1 month
|
|
Revision tags: release/12.1.0 |
|
| #
a7b5a3d4 |
| 05-Sep-2019 |
Emmanuel Vadot <[email protected]> |
pkgbase: Put a lot of binaries and lib in FreeBSD-runtime
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 Fre
pkgbase: Put a lot of binaries and lib in FreeBSD-runtime
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
show more ...
|
|
Revision tags: release/11.3.0 |
|
| #
f622545b |
| 12-Dec-2018 |
Jung-uk Kim <[email protected]> |
Enable devcryptoeng for OpenSSL.
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 Fre
Enable devcryptoeng for OpenSSL.
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.
show more ...
|
|
Revision tags: release/12.0.0 |
|
| #
89250cff |
| 25-Oct-2018 |
Konstantin Belousov <[email protected]> |
Bump base OpenSSL libraries versions to avoid conflict with port's libraries.
Reported by: many Reviewed by: gjb Sponsored by: The FreeBSD Foundation MFC after: 3 hours
|
| #
c4cff941 |
| 05-Oct-2018 |
Ed Maste <[email protected]> |
libcrypto: have buildinf.h depend on Makefile
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
libcrypto: have buildinf.h depend on Makefile
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
show more ...
|