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

Use OpenSSL intrinsic lib for all archs #96

Merged

Conversation

makubacki
Copy link
Member

Description

ArmCompilerIntrinsicsLib was previously used for ARM and AARCH64
code. With strcmp moving to CrtWrapper.c, the code can pick it up
from there and use the OpensslPkg intrinsic lib instance.

The MU_BASECORE submodule is updated to bring in a cherry-pick of
the edk2 change that moves the strcmp function.

  • Impacts functionality?
  • Impacts security?
  • Breaking change?
  • Includes tests?
  • Includes documentation?

How This Was Tested

  • Crypto release pipelines for all architectures

Integration Instructions

  • No change to crypto binary functionality

@makubacki makubacki added the semver:patch Pull requests that should increment the release patch version label Aug 1, 2024
@makubacki makubacki self-assigned this Aug 1, 2024
@github-actions github-actions bot added the impact:non-functional Does not have a functional impact label Aug 1, 2024
@makubacki
Copy link
Member Author

NOTE: I will update the MU_BASECORE submodule to the final commit SHA when microsoft/mu_basecore#1086 completes.

@makubacki makubacki force-pushed the armcompint_remove_strcmp branch from cec4f43 to 0bfff24 Compare August 9, 2024 22:53
liyi77 and others added 2 commits August 9, 2024 18:54
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 <[email protected]>
Cc: Jiewen Yao <[email protected]>
Cc: Xiaoyu Lu <[email protected]>
Cc: Guomin Jiang <[email protected]>
Reviewed-by: Jiewen Yao <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>
Tested-by: Ard Biesheuvel <[email protected]>
Tested-by: Brian J. Johnson <[email protected]>
Tested-by: Kenneth Lautner <[email protected]>

(cherry picked from commit 46226fb5d32f6e24eb8f8f48cceb0f67fd8585d4)
ArmCompilerIntrinsicsLib was previously used for ARM and AARCH64
code. With strcmp moving to CrtWrapper.c, the code can pick it up
from there and use the OpensslPkg intrinisc lib instance.

Signed-off-by: Michael Kubacki <[email protected]>
@makubacki makubacki force-pushed the armcompint_remove_strcmp branch from 0bfff24 to d75eee5 Compare August 9, 2024 22:54
@makubacki makubacki merged commit 5dcfac4 into microsoft:release/202311 Aug 9, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact:non-functional Does not have a functional impact semver:patch Pull requests that should increment the release patch version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants