History log of /freebsd-current/crypto/openssl/crypto/rsa/rsa_lib.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# e0c4386e 02-Feb-2024 Cy Schubert <cy@FreeBSD.org>

OpenSSL: Vendor import of OpenSSL 3.0.13

* Fixed PKCS12 Decoding crashes ([CVE-2024-0727])
* Fixed Excessive time spent checking invalid RSA public keys
([CVE-2023-6237])
* Fixed POLY1305 MAC implementation corrupting vector registers on
PowerPC CPUs which support PowerISA 2.07 ([CVE-2023-6129])
* Fix excessive time spent in DH check / generation with large Q
parameter value ([CVE-2023-5678])

Release notes can be found at
https://www.openssl.org/news/openssl-3.0-notes.html.

Approved by: emaste
MFC after: 3 days

Merge commit '9dd13e84fa8eca8f3462bd55485aa3da8c37f54a'


# ad991e4c 24-Oct-2023 Ed Maste <emaste@FreeBSD.org>

OpenSSL: update to 3.0.12

OpenSSL 3.0.12 addresses:

* Fix incorrect key and IV resizing issues when calling
EVP_EncryptInit_ex2(), EVP_DecryptInit_ex2() or EVP_CipherInit_ex2()
with OSSL_PARAM parameters that alter the key or IV length
([CVE-2023-5363]).

Relnotes: Yes
Sponsored by: The FreeBSD Foundation


# b077aed3 23-Jun-2023 Pierre Pronchery <pierre@freebsdfoundation.org>

Merge OpenSSL 3.0.9

Migrate to OpenSSL 3.0 in advance of FreeBSD 14.0. OpenSSL 1.1.1 (the
version we were previously using) will be EOL as of 2023-09-11.

Most of the base system has already been updated for a seamless switch
to OpenSSL 3.0. For many components we've added
`-DOPENSSL_API_COMPAT=0x10100000L` to CFLAGS to specify the API version,
which avoids deprecation warnings from OpenSSL 3.0. Changes have also
been made to avoid OpenSSL APIs that were already deprecated in OpenSSL
1.1.1. The process of updating to contemporary APIs can continue after
this merge.

Additional changes are still required for libarchive and Kerberos-
related libraries or tools; workarounds will immediately follow this
commit. Fixes are in progress in the upstream projects and will be
incorporated when those are next updated.

There are some performance regressions in benchmarks (certain tests in
`openssl speed`) and in some OpenSSL consumers in ports (e.g. haproxy).
Investigation will continue for these.

Netflix's testing showed no functional regression and a rather small,
albeit statistically significant, increase in CPU consumption with
OpenSSL 3.0.

Thanks to ngie@ and des@ for updating base system components, to
antoine@ and bofh@ for ports exp-runs and port fixes/workarounds, and to
Netflix and everyone who tested prior to commit or contributed to this
update in other ways.

PR: 271615
PR: 271656 [exp-run]
Relnotes: Yes
Sponsored by: The FreeBSD Foundation


# 17f01e99 17-Mar-2020 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.1.1e.


# da327cd2 10-Sep-2019 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.1.1d.


# c9cf7b5c 20-Nov-2018 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.1.1a.


# e71b7053 13-Sep-2018 Jung-uk Kim <jkim@FreeBSD.org>

Update OpenSSL to 1.1.1.

Note it does not update build infrastructure.


# aeb5019c 22-Sep-2016 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.0.2i.


# 6f9291ce 20-Mar-2015 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.0.1m.


# 1f13597d 12-Jul-2012 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.0.1c.

Approved by: benl (maintainer)


# db522d3a 14-Jun-2009 Simon L. B. Nielsen <simon@FreeBSD.org>

Merge OpenSSL 0.9.8k into head.

Approved by: re


# c4a78426 23-Aug-2008 Simon L. B. Nielsen <simon@FreeBSD.org>

Flatten OpenSSL vendor tree.

# 1d1b15c8 15-Mar-2007 Simon L. B. Nielsen <simon@FreeBSD.org>

Resolve conflicts after import of OpenSSL 0.9.8e.

# 5471f83e 15-Mar-2007 Simon L. B. Nielsen <simon@FreeBSD.org>

Vendor import of OpenSSL 0.9.8e.

# 09bf29a4 29-Jul-2006 Simon L. B. Nielsen <simon@FreeBSD.org>

Resolve conflicts after import of OpenSSL 0.9.8b.

# 3b4e3dcb 29-Jul-2006 Simon L. B. Nielsen <simon@FreeBSD.org>

Vendor import of OpenSSL 0.9.8b

# 5fad2af4 30-Sep-2003 Jacques Vidrine <nectar@FreeBSD.org>

Merge conflicts after import of OpenSSL 0.9.7c.

# 50ef0093 30-Sep-2003 Jacques Vidrine <nectar@FreeBSD.org>

Vendor import of OpenSSL 0.9.7c

# a6b47b5f 20-Mar-2003 Chris D. Faulhaber <jedgar@FreeBSD.org>

Merge conflicts

# 5b877a2d 20-Mar-2003 Chris D. Faulhaber <jedgar@FreeBSD.org>

Enable RSA blinding by default.
http://www.openssl.org/news/secadv_20030317.txt

# def0b8c9 19-Feb-2003 Jacques Vidrine <nectar@FreeBSD.org>

Resolve conflicts after import of OpenSSL 0.9.7a.

# fceca8a3 19-Feb-2003 Jacques Vidrine <nectar@FreeBSD.org>

Vendor import of OpenSSL 0.9.7a.

# bff36885 28-Jan-2003 Mark Murray <markm@FreeBSD.org>

Merge conflicts.
This is cunning doublespeak for "use vendor code".

# 5c87c606 28-Jan-2003 Mark Murray <markm@FreeBSD.org>

Vendor import of OpenSSL release 0.9.7. This release includes
support for AES and OpenBSD's hardware crypto.

# f06df90b 19-May-2001 Kris Kennaway <kris@FreeBSD.org>

Resolve conflicts

# 5740a5e3 19-May-2001 Kris Kennaway <kris@FreeBSD.org>

Initial import of OpenSSL 0.9.6a

# ae152dd3 12-Nov-2000 Kris Kennaway <kris@FreeBSD.org>

Resolve conflicts, and garbage collect some local changes that are no
longer required

# ddd58736 12-Nov-2000 Kris Kennaway <kris@FreeBSD.org>

Initial import of OpenSSL 0.9.6

# 7e7159cb 13-Apr-2000 Kris Kennaway <kris@FreeBSD.org>

Resolve conflicts.

# f579bf8e 13-Apr-2000 Kris Kennaway <kris@FreeBSD.org>

Initial import of OpenSSL 0.9.5a

# 9fa5f5fd 26-Feb-2000 Peter Wemm <peter@FreeBSD.org>

Merge from internat.freebsd.org repo, minus change to rsa_eay.c (missing)

Reorganize and unify libcrypto's interface so that the RSA implementation
is chosen at runtime via dlopen().

This is a checkpoint and may require more tweaks still.

# 97b2ed56 15-Jan-2000 Kris Kennaway <kris@FreeBSD.org>

Import the RSA support code. There shouldn't be any actual RSA
cryptography here.

# ad991e4c 24-Oct-2023 Ed Maste <emaste@FreeBSD.org>

OpenSSL: update to 3.0.12

OpenSSL 3.0.12 addresses:

* Fix incorrect key and IV resizing issues when calling
EVP_EncryptInit_ex2(), EVP_DecryptInit_ex2() or EVP_CipherInit_ex2()
with OSSL_PARAM parameters that alter the key or IV length
([CVE-2023-5363]).

Relnotes: Yes
Sponsored by: The FreeBSD Foundation


# b077aed3 23-Jun-2023 Pierre Pronchery <pierre@freebsdfoundation.org>

Merge OpenSSL 3.0.9

Migrate to OpenSSL 3.0 in advance of FreeBSD 14.0. OpenSSL 1.1.1 (the
version we were previously using) will be EOL as of 2023-09-11.

Most of the base system has already been updated for a seamless switch
to OpenSSL 3.0. For many components we've added
`-DOPENSSL_API_COMPAT=0x10100000L` to CFLAGS to specify the API version,
which avoids deprecation warnings from OpenSSL 3.0. Changes have also
been made to avoid OpenSSL APIs that were already deprecated in OpenSSL
1.1.1. The process of updating to contemporary APIs can continue after
this merge.

Additional changes are still required for libarchive and Kerberos-
related libraries or tools; workarounds will immediately follow this
commit. Fixes are in progress in the upstream projects and will be
incorporated when those are next updated.

There are some performance regressions in benchmarks (certain tests in
`openssl speed`) and in some OpenSSL consumers in ports (e.g. haproxy).
Investigation will continue for these.

Netflix's testing showed no functional regression and a rather small,
albeit statistically significant, increase in CPU consumption with
OpenSSL 3.0.

Thanks to ngie@ and des@ for updating base system components, to
antoine@ and bofh@ for ports exp-runs and port fixes/workarounds, and to
Netflix and everyone who tested prior to commit or contributed to this
update in other ways.

PR: 271615
PR: 271656 [exp-run]
Relnotes: Yes
Sponsored by: The FreeBSD Foundation


# 17f01e99 17-Mar-2020 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.1.1e.


# da327cd2 10-Sep-2019 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.1.1d.


# c9cf7b5c 20-Nov-2018 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.1.1a.


# e71b7053 13-Sep-2018 Jung-uk Kim <jkim@FreeBSD.org>

Update OpenSSL to 1.1.1.

Note it does not update build infrastructure.


# aeb5019c 22-Sep-2016 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.0.2i.


# 6f9291ce 20-Mar-2015 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.0.1m.


# 1f13597d 12-Jul-2012 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.0.1c.

Approved by: benl (maintainer)


# db522d3a 14-Jun-2009 Simon L. B. Nielsen <simon@FreeBSD.org>

Merge OpenSSL 0.9.8k into head.

Approved by: re


# c4a78426 23-Aug-2008 Simon L. B. Nielsen <simon@FreeBSD.org>

Flatten OpenSSL vendor tree.

# 1d1b15c8 15-Mar-2007 Simon L. B. Nielsen <simon@FreeBSD.org>

Resolve conflicts after import of OpenSSL 0.9.8e.

# 5471f83e 15-Mar-2007 Simon L. B. Nielsen <simon@FreeBSD.org>

Vendor import of OpenSSL 0.9.8e.

# 09bf29a4 29-Jul-2006 Simon L. B. Nielsen <simon@FreeBSD.org>

Resolve conflicts after import of OpenSSL 0.9.8b.

# 3b4e3dcb 29-Jul-2006 Simon L. B. Nielsen <simon@FreeBSD.org>

Vendor import of OpenSSL 0.9.8b

# 5fad2af4 30-Sep-2003 Jacques Vidrine <nectar@FreeBSD.org>

Merge conflicts after import of OpenSSL 0.9.7c.

# 50ef0093 30-Sep-2003 Jacques Vidrine <nectar@FreeBSD.org>

Vendor import of OpenSSL 0.9.7c

# a6b47b5f 20-Mar-2003 Chris D. Faulhaber <jedgar@FreeBSD.org>

Merge conflicts

# 5b877a2d 20-Mar-2003 Chris D. Faulhaber <jedgar@FreeBSD.org>

Enable RSA blinding by default.
http://www.openssl.org/news/secadv_20030317.txt

# def0b8c9 19-Feb-2003 Jacques Vidrine <nectar@FreeBSD.org>

Resolve conflicts after import of OpenSSL 0.9.7a.

# fceca8a3 19-Feb-2003 Jacques Vidrine <nectar@FreeBSD.org>

Vendor import of OpenSSL 0.9.7a.

# bff36885 28-Jan-2003 Mark Murray <markm@FreeBSD.org>

Merge conflicts.
This is cunning doublespeak for "use vendor code".

# 5c87c606 28-Jan-2003 Mark Murray <markm@FreeBSD.org>

Vendor import of OpenSSL release 0.9.7. This release includes
support for AES and OpenBSD's hardware crypto.

# f06df90b 19-May-2001 Kris Kennaway <kris@FreeBSD.org>

Resolve conflicts

# 5740a5e3 19-May-2001 Kris Kennaway <kris@FreeBSD.org>

Initial import of OpenSSL 0.9.6a

# ae152dd3 12-Nov-2000 Kris Kennaway <kris@FreeBSD.org>

Resolve conflicts, and garbage collect some local changes that are no
longer required

# ddd58736 12-Nov-2000 Kris Kennaway <kris@FreeBSD.org>

Initial import of OpenSSL 0.9.6

# 7e7159cb 13-Apr-2000 Kris Kennaway <kris@FreeBSD.org>

Resolve conflicts.

# f579bf8e 13-Apr-2000 Kris Kennaway <kris@FreeBSD.org>

Initial import of OpenSSL 0.9.5a

# 9fa5f5fd 26-Feb-2000 Peter Wemm <peter@FreeBSD.org>

Merge from internat.freebsd.org repo, minus change to rsa_eay.c (missing)

Reorganize and unify libcrypto's interface so that the RSA implementation
is chosen at runtime via dlopen().

This is a checkpoint and may require more tweaks still.

# 97b2ed56 15-Jan-2000 Kris Kennaway <kris@FreeBSD.org>

Import the RSA support code. There shouldn't be any actual RSA
cryptography here.

# b077aed3 23-Jun-2023 Pierre Pronchery <pierre@freebsdfoundation.org>

Merge OpenSSL 3.0.9

Migrate to OpenSSL 3.0 in advance of FreeBSD 14.0. OpenSSL 1.1.1 (the
version we were previously using) will be EOL as of 2023-09-11.

Most of the base system has already been updated for a seamless switch
to OpenSSL 3.0. For many components we've added
`-DOPENSSL_API_COMPAT=0x10100000L` to CFLAGS to specify the API version,
which avoids deprecation warnings from OpenSSL 3.0. Changes have also
been made to avoid OpenSSL APIs that were already deprecated in OpenSSL
1.1.1. The process of updating to contemporary APIs can continue after
this merge.

Additional changes are still required for libarchive and Kerberos-
related libraries or tools; workarounds will immediately follow this
commit. Fixes are in progress in the upstream projects and will be
incorporated when those are next updated.

There are some performance regressions in benchmarks (certain tests in
`openssl speed`) and in some OpenSSL consumers in ports (e.g. haproxy).
Investigation will continue for these.

Netflix's testing showed no functional regression and a rather small,
albeit statistically significant, increase in CPU consumption with
OpenSSL 3.0.

Thanks to ngie@ and des@ for updating base system components, to
antoine@ and bofh@ for ports exp-runs and port fixes/workarounds, and to
Netflix and everyone who tested prior to commit or contributed to this
update in other ways.

PR: 271615
PR: 271656 [exp-run]
Relnotes: Yes
Sponsored by: The FreeBSD Foundation


# 17f01e99 17-Mar-2020 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.1.1e.


# da327cd2 10-Sep-2019 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.1.1d.


# c9cf7b5c 20-Nov-2018 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.1.1a.


# e71b7053 13-Sep-2018 Jung-uk Kim <jkim@FreeBSD.org>

Update OpenSSL to 1.1.1.

Note it does not update build infrastructure.


# aeb5019c 22-Sep-2016 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.0.2i.


# 6f9291ce 20-Mar-2015 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.0.1m.


# 1f13597d 12-Jul-2012 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.0.1c.

Approved by: benl (maintainer)


# db522d3a 14-Jun-2009 Simon L. B. Nielsen <simon@FreeBSD.org>

Merge OpenSSL 0.9.8k into head.

Approved by: re


# c4a78426 23-Aug-2008 Simon L. B. Nielsen <simon@FreeBSD.org>

Flatten OpenSSL vendor tree.

# 1d1b15c8 15-Mar-2007 Simon L. B. Nielsen <simon@FreeBSD.org>

Resolve conflicts after import of OpenSSL 0.9.8e.

# 5471f83e 15-Mar-2007 Simon L. B. Nielsen <simon@FreeBSD.org>

Vendor import of OpenSSL 0.9.8e.

# 09bf29a4 29-Jul-2006 Simon L. B. Nielsen <simon@FreeBSD.org>

Resolve conflicts after import of OpenSSL 0.9.8b.

# 3b4e3dcb 29-Jul-2006 Simon L. B. Nielsen <simon@FreeBSD.org>

Vendor import of OpenSSL 0.9.8b

# 5fad2af4 30-Sep-2003 Jacques Vidrine <nectar@FreeBSD.org>

Merge conflicts after import of OpenSSL 0.9.7c.

# 50ef0093 30-Sep-2003 Jacques Vidrine <nectar@FreeBSD.org>

Vendor import of OpenSSL 0.9.7c

# a6b47b5f 20-Mar-2003 Chris D. Faulhaber <jedgar@FreeBSD.org>

Merge conflicts

# 5b877a2d 20-Mar-2003 Chris D. Faulhaber <jedgar@FreeBSD.org>

Enable RSA blinding by default.
http://www.openssl.org/news/secadv_20030317.txt

# def0b8c9 19-Feb-2003 Jacques Vidrine <nectar@FreeBSD.org>

Resolve conflicts after import of OpenSSL 0.9.7a.

# fceca8a3 19-Feb-2003 Jacques Vidrine <nectar@FreeBSD.org>

Vendor import of OpenSSL 0.9.7a.

# bff36885 28-Jan-2003 Mark Murray <markm@FreeBSD.org>

Merge conflicts.
This is cunning doublespeak for "use vendor code".

# 5c87c606 28-Jan-2003 Mark Murray <markm@FreeBSD.org>

Vendor import of OpenSSL release 0.9.7. This release includes
support for AES and OpenBSD's hardware crypto.

# f06df90b 19-May-2001 Kris Kennaway <kris@FreeBSD.org>

Resolve conflicts

# 5740a5e3 19-May-2001 Kris Kennaway <kris@FreeBSD.org>

Initial import of OpenSSL 0.9.6a

# ae152dd3 12-Nov-2000 Kris Kennaway <kris@FreeBSD.org>

Resolve conflicts, and garbage collect some local changes that are no
longer required

# ddd58736 12-Nov-2000 Kris Kennaway <kris@FreeBSD.org>

Initial import of OpenSSL 0.9.6

# 7e7159cb 13-Apr-2000 Kris Kennaway <kris@FreeBSD.org>

Resolve conflicts.

# f579bf8e 13-Apr-2000 Kris Kennaway <kris@FreeBSD.org>

Initial import of OpenSSL 0.9.5a

# 9fa5f5fd 26-Feb-2000 Peter Wemm <peter@FreeBSD.org>

Merge from internat.freebsd.org repo, minus change to rsa_eay.c (missing)

Reorganize and unify libcrypto's interface so that the RSA implementation
is chosen at runtime via dlopen().

This is a checkpoint and may require more tweaks still.

# 97b2ed56 15-Jan-2000 Kris Kennaway <kris@FreeBSD.org>

Import the RSA support code. There shouldn't be any actual RSA
cryptography here.

# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 1d1b15c8 15-Mar-2007 Simon L. B. Nielsen <simon@FreeBSD.org>

Resolve conflicts after import of OpenSSL 0.9.8e.


# 5471f83e 15-Mar-2007 Simon L. B. Nielsen <simon@FreeBSD.org>

Vendor import of OpenSSL 0.9.8e.


# 09bf29a4 29-Jul-2006 Simon L. B. Nielsen <simon@FreeBSD.org>

Resolve conflicts after import of OpenSSL 0.9.8b.


# 3b4e3dcb 29-Jul-2006 Simon L. B. Nielsen <simon@FreeBSD.org>

Vendor import of OpenSSL 0.9.8b


# 5fad2af4 30-Sep-2003 Jacques Vidrine <nectar@FreeBSD.org>

Merge conflicts after import of OpenSSL 0.9.7c.


# 50ef0093 30-Sep-2003 Jacques Vidrine <nectar@FreeBSD.org>

Vendor import of OpenSSL 0.9.7c


# a6b47b5f 20-Mar-2003 Chris D. Faulhaber <jedgar@FreeBSD.org>

Merge conflicts


# 5b877a2d 20-Mar-2003 Chris D. Faulhaber <jedgar@FreeBSD.org>

Enable RSA blinding by default.
http://www.openssl.org/news/secadv_20030317.txt


# def0b8c9 19-Feb-2003 Jacques Vidrine <nectar@FreeBSD.org>

Resolve conflicts after import of OpenSSL 0.9.7a.


# fceca8a3 19-Feb-2003 Jacques Vidrine <nectar@FreeBSD.org>

Vendor import of OpenSSL 0.9.7a.


# bff36885 28-Jan-2003 Mark Murray <markm@FreeBSD.org>

Merge conflicts.
This is cunning doublespeak for "use vendor code".


# 5c87c606 28-Jan-2003 Mark Murray <markm@FreeBSD.org>

Vendor import of OpenSSL release 0.9.7. This release includes
support for AES and OpenBSD's hardware crypto.


# f06df90b 19-May-2001 Kris Kennaway <kris@FreeBSD.org>

Resolve conflicts


# 5740a5e3 19-May-2001 Kris Kennaway <kris@FreeBSD.org>

Initial import of OpenSSL 0.9.6a


# ae152dd3 12-Nov-2000 Kris Kennaway <kris@FreeBSD.org>

Resolve conflicts, and garbage collect some local changes that are no
longer required


# ddd58736 12-Nov-2000 Kris Kennaway <kris@FreeBSD.org>

Initial import of OpenSSL 0.9.6


# 7e7159cb 13-Apr-2000 Kris Kennaway <kris@FreeBSD.org>

Resolve conflicts.


# f579bf8e 13-Apr-2000 Kris Kennaway <kris@FreeBSD.org>

Initial import of OpenSSL 0.9.5a


# 9fa5f5fd 26-Feb-2000 Peter Wemm <peter@FreeBSD.org>

Merge from internat.freebsd.org repo, minus change to rsa_eay.c (missing)

Reorganize and unify libcrypto's interface so that the RSA implementation
is chosen at runtime via dlopen().

This is a checkpoint and may require more tweaks still.


# 97b2ed56 15-Jan-2000 Kris Kennaway <kris@FreeBSD.org>

Import the RSA support code. There shouldn't be any actual RSA
cryptography here.