-
Notifications
You must be signed in to change notification settings - Fork 128
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
2405: Crypto Changes [Rebase & FF] #951
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## release/202405 #951 +/- ##
=================================================
Coverage ? 44.35%
=================================================
Files ? 180
Lines ? 24408
Branches ? 3478
=================================================
Hits ? 10827
Misses ? 13545
Partials ? 36
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
328c78c
to
36e3675
Compare
I'm going to push an update for changing |
Add Variable Argument List macros for VS Related work items: #15744568
A Mu-specific change to copy/paste the VA macro definitions from Microsoft Visual Studio\<year>\Enterprise\VC\Tools\MSVC\<version>\include\vadefs.h causes some macros to be redefined when Google host-based tests are enabled (e.g. `_ADDRESSOF()`). This change uses the original definitions in `vadefs.h` to prevent a macro redefinition error when building host-based unit tests. Signed-off-by: Michael Kubacki <[email protected]>
Since we need to undefine M_ARM64 to get crypto to build, we add custom macros to let Base.h know we are actually really building ARM (just don't tell crypto)
Test is currently using FreePool() when it should use HmacSha256Free()
The documentation says "DER formatted", but the code was expecting it to be a pre-processed X509 structure. Add the additional processing.
Resolves CodeQL issues in the package. Co-authored-by: Aaron Pop <[email protected]> Co-authored-by: Kun Qin <[email protected]> Co-authored-by: Taylor Beebe <[email protected]> Co-authored-by: Doug Flick <[email protected]> Co-authored-by: Ken Lautner <[email protected]> Signed-off-by: Michael Kubacki <[email protected]>
Updated |
Updates to the code to match the latest Shared Crypto code in the release/202311 branch using the 2023.11.3 binary. For Shared Crypto details and platform integration information, review https://github.com/microsoft/mu_crypto_release. Other notable changes include: - Reconfigures OpensslLib to add elliptic curve chipher algorithms. - Fixes a memory fre bug in the HmacTest - Test is currently using FreePool() when it should use HmacSha256Free() - Adds SHA384 and SHA512 to the STANDARD flavor of the crypto binary Co-authored-by: Mike Turner <[email protected]> Co-authored-by: Bret Barkelew <[email protected]> Co-authored-by: Kenneth Lautner <[email protected]> Signed-off-by: Michael Kubacki <[email protected]>
Updates the CryptoPkg library instances used after the Shared Crypto changes in CryptoPkg. Signed-off-by: Michael Kubacki <[email protected]>
Updates the UefiCpuPkg library instances used after the Shared Crypto changes in CryptoPkg. Signed-off-by: Michael Kubacki <[email protected]>
…to is added)" This reverts commit now that CryptoPkg is buildable and in its final state for 2405. Signed-off-by: Michael Kubacki <[email protected]>
Description
Closes #871
All CryptoPkg changes to match the
release/202311
branch.Updates some other packages to account for changes in libraries
used in CryptoPkg.
Transition to Latest Shared Crypto
Updates to the code to match the latest Shared Crypto code in the
release/202311 branch using the 2023.11.3 binary.
For Shared Crypto details and platform integration information,
review https://github.com/microsoft/mu_crypto_release.
Other notable changes consolidated in this commit include:
Contains the following additional cherry-picked commits.
Includes these 2311 commits:
How This Was Tested
release/202311
Integration Instructions
and integration information https://github.com/microsoft/mu_crypto_release