Skip to content

Add FIPS callback tests for x86 AL2023 and arm AL2/AL2023 #2311

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

Merged
merged 5 commits into from
Apr 21, 2025

Conversation

andrewhop
Copy link
Contributor

@andrewhop andrewhop commented Apr 3, 2025

Issues

Fixes P218664081

Description of changes:

Cover a small testing gap for an AL2023 customers that want to use the callback feature.

Callouts

Why change where a stack variable is defined? This works around a compiler bug with GCC 11.5 that was causing the incorrect result from memcmp to be returned and the integrity check for some algorithms to get the wrong result. P218664081

This is a different GCC version with a subtly different version of the memcmp bug from #73. In this case we can fix our code to work around the issue and we have tests that ensure all the integrity and CAST tests work as expected.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.

@andrewhop andrewhop requested a review from a team as a code owner April 3, 2025 06:04
@codecov-commenter
Copy link

codecov-commenter commented Apr 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.76%. Comparing base (508866c) to head (672efc9).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2311   +/-   ##
=======================================
  Coverage   78.75%   78.76%           
=======================================
  Files         620      620           
  Lines      107936   107936           
  Branches    15336    15336           
=======================================
+ Hits        85008    85016    +8     
+ Misses      22271    22266    -5     
+ Partials      657      654    -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@andrewhop andrewhop merged commit a47a334 into aws:main Apr 21, 2025
49 of 53 checks passed
@justsmth justsmth mentioned this pull request Apr 23, 2025
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.

5 participants