diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2024-08-29 20:00:24 +0200 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-11-26 22:00:36 +0000 |
commit | f73f7b23184da815503b5e870faeb476b56096a2 (patch) | |
tree | 2a692a3a5c41c124e3907f3a1b5ca0b0f2deec1c /CryptoPkg/Library | |
parent | a4c50dd3e89cb304a0861f8e93ff06b5d0f9861e (diff) | |
download | edk2-f73f7b23184da815503b5e870faeb476b56096a2.tar.gz |
CryptoPkg/OpensslLib: Drop dependency on ArmSoftFloatLib
Drop the ArmSoftFloatLib dependency from the OpensslLib implementations,
so that we can retire this git submodule and associated dependencies in
other components.
The upshot of this is that OpenSSL can no longer be used on 32-bit ARM
by components that rely on the random number generation routines (which
is where the floating point usage resides). In practice, this means that
ARM platforms should use MbedTLs instead for things like signed
capsules, authenticated variables and TPM2 support. HTTPS boot is no
longer supported, as TlsDxe depends on OpensslLib directly.
Note that MbedTLS itself -surprisingly- depends on OpensslLib as well,
but only for the SM3 routines, and incorporating those does not require
softfloat support.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'CryptoPkg/Library')
-rw-r--r-- | CryptoPkg/Library/OpensslLib/OpensslLib.inf | 3 | ||||
-rw-r--r-- | CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf | 3 | ||||
-rw-r--r-- | CryptoPkg/Library/OpensslLib/OpensslLibFull.inf | 3 |
3 files changed, 0 insertions, 9 deletions
diff --git a/CryptoPkg/Library/OpensslLib/OpensslLib.inf b/CryptoPkg/Library/OpensslLib/OpensslLib.inf index ebdeae18c7..2427fba958 100644 --- a/CryptoPkg/Library/OpensslLib/OpensslLib.inf +++ b/CryptoPkg/Library/OpensslLib/OpensslLib.inf @@ -665,9 +665,6 @@ DebugLib
RngLib
-[LibraryClasses.ARM]
- ArmSoftFloatLib
-
[BuildOptions]
#
# Disables the following Visual Studio compiler warnings brought by openssl source,
diff --git a/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf b/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf index 77ce80f2b8..bff3859e80 100644 --- a/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf +++ b/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf @@ -621,9 +621,6 @@ DebugLib
RngLib
-[LibraryClasses.ARM]
- ArmSoftFloatLib
-
[BuildOptions]
#
# Disables the following Visual Studio compiler warnings brought by openssl source,
diff --git a/CryptoPkg/Library/OpensslLib/OpensslLibFull.inf b/CryptoPkg/Library/OpensslLib/OpensslLibFull.inf index 32c79c39bb..ef99f84d46 100644 --- a/CryptoPkg/Library/OpensslLib/OpensslLibFull.inf +++ b/CryptoPkg/Library/OpensslLib/OpensslLibFull.inf @@ -719,9 +719,6 @@ DebugLib
RngLib
-[LibraryClasses.ARM]
- ArmSoftFloatLib
-
[BuildOptions]
#
# Disables the following Visual Studio compiler warnings brought by openssl source,
|