Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[test]Openssl30 upstream #4391

Closed
wants to merge 30 commits into from
Closed

Conversation

liyi77
Copy link
Contributor

@liyi77 liyi77 commented May 12, 2023

No description provided.

@liyi77 liyi77 force-pushed the openssl30-upstream branch 4 times, most recently from 25fe602 to 835a834 Compare May 14, 2023 14:06
@mergify
Copy link

mergify bot commented May 16, 2023

PR can not be merged due to conflict. Please rebase and resubmit

@liyi77 liyi77 force-pushed the openssl30-upstream branch 13 times, most recently from ba22c07 to 5290b9e Compare May 18, 2023 07:44
@liyi77 liyi77 closed this May 18, 2023
@liyi77 liyi77 reopened this May 18, 2023
@liyi77 liyi77 force-pushed the openssl30-upstream branch 10 times, most recently from 08885ff to 7f5d173 Compare May 23, 2023 06:33
kraxel and others added 26 commits June 20, 2023 14:56
New naming convention for the configs:  UEFI-${efiarch}-${compiler}.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Stop using deprecated interfaces is left as exercise for another day.
So please don't warn for now so -Werror builds can work.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Functions have been renamed.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
openssl 3.0 requires a functional BIO_sprintf() implementation.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Yi Li <yi1.li@intel.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Some functions have been renamed.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Seems with openssl 3.0 this is used by multiple source files,
so we get duplicate symbol errors when linking.  Fix that by
moving compiler_flags from header file to a source file.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Yi Li <yi1.li@intel.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Yi Li <yi1.li@intel.com>
Signed-off-by: Yi Li <yi1.li@intel.com>
Added UEFI provider which removed unused features to
optimize the size of openssl3.

Signed-off-by: Yi Li <yi1.li@intel.com>
Add dummy implement of Decoder, Encoder, Dh, Pem, Pkcs12
and sslserver.
OpenSSL libraries that don't need these features can include
these files to reduce the size of output.

Signed-off-by: Yi Li <yi1.li@intel.com>
This library will provide Minimal OpenSSL Library
implementation include: Hash, Hmac, Hkdf, Aes(without GCM),
RsaBasic(RSA + Pkcs1Verify).

Signed-off-by: Yi Li <yi1.li@intel.com>
Signed-off-by: Yi Li <yi1.li@intel.com>
This dependency is needed to build openssl lib with openssl3
under IA32 Windows and adds implementation for _alldiv, _aulldiv,
_aullrem and _alldvrm instrinsics.

Signed-off-by: Yi Li <yi1.li@intel.com>
Disable warning as error of C4133:
v3_genn.c(101): warning C4133: 'function': incompatible types
- from 'ASN1_TYPE *' to 'const ASN1_STRING *'.

Signed-off-by: Yi Li <yi1.li@intel.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Yi Li <yi1.li@intel.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Yi Li <yi1.li@intel.com>
Signed-off-by: Yi Li <yi1.li@intel.com>
When build Openssl30, compiler optimization may use memcpy()
for memory copy.
Need enable it in RISCV64 build also.

Signed-off-by: Yi Li <yi1.li@intel.com>
In rare cases the platform may not provide the full IntrinsicLib.
But openssl30 build always require strcmp,provide this function by
moving it into CrtWrapper.c.

Signed-off-by: Yi Li <yi1.li@intel.com>
Signed-off-by: Yi Li <yi1.li@intel.com>
cd */edk2/CryptoPkg/Library/OpensslLib
python configure.py

Signed-off-by: Yi Li <yi1.li@intel.com>
Signed-off-by: Yi Li <yi1.li@intel.com>
Signed-off-by: Yi Li <yi1.li@intel.com>
The effect of LTO is limited with optimization turned off, and blocked
the upgrade of Openssl3.0. We already skipped this build with VS2019,
skip the GCC NOOPT build also.

Signed-off-by: Yi Li <yi1.li@intel.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
@mergify
Copy link

mergify bot commented Jun 21, 2023

⚠️ The sha of the head commit of this PR conflicts with #4563. Mergify cannot evaluate rules on this PR. ⚠️

@mergify
Copy link

mergify bot commented Jul 24, 2023

PR can not be merged due to conflict. Please rebase and resubmit

@liyi77 liyi77 closed this Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants