Skip to content

Conversation

@hanno-becker
Copy link
Contributor

@hanno-becker hanno-becker commented Jan 13, 2025

This commit extends the CI with an integration test for AWS-LC.

The CI checks that mlkem-native successfully integrates into
AWS-LC by building and running basic tests of AWS-LC in FIPS
and non-FIPS mode.

We test both against a fixed commit and main. Testing against a
fixed known-good commit in AWS-LC means we note if we break the
integration. Testing against main means we note if a change in
AWS-LC breaks the integration. The latter is out of our control,
and we may need to temporarily ignore failures, but we should
be aware.

@hanno-becker hanno-becker force-pushed the aws_lc_integration branch 3 times, most recently from b814b55 to 9f0037d Compare January 13, 2025 11:18
@hanno-becker hanno-becker marked this pull request as ready for review January 13, 2025 11:18
@hanno-becker hanno-becker requested review from a team and mkannwischer January 13, 2025 11:18
@hanno-becker hanno-becker marked this pull request as draft January 13, 2025 11:19
@hanno-becker hanno-becker removed the request for review from mkannwischer January 13, 2025 11:19
@hanno-becker hanno-becker changed the title Add basic AWS-LC integration test Add C-only AWS-LC integration test Jan 17, 2025
@hanno-becker hanno-becker force-pushed the aws_lc_integration branch 2 times, most recently from c12e6fb to 076d65a Compare February 3, 2025 11:55
@mkannwischer mkannwischer removed the request for review from a team February 4, 2025 02:37
@hanno-becker hanno-becker force-pushed the aws_lc_integration branch 2 times, most recently from 414b211 to 0eb614f Compare February 5, 2025 05:33
@hanno-becker hanno-becker changed the title Add C-only AWS-LC integration test Add AWS-LC integration test Feb 5, 2025
@hanno-becker hanno-becker force-pushed the aws_lc_integration branch 10 times, most recently from 744fe93 to a6e16d6 Compare February 5, 2025 20:15
@hanno-becker hanno-becker force-pushed the aws_lc_integration branch 9 times, most recently from 8723b62 to c5b081a Compare February 6, 2025 13:42
@hanno-becker hanno-becker force-pushed the aws_lc_integration branch 6 times, most recently from c26c178 to c9ff9ce Compare April 9, 2025 04:38
@hanno-becker hanno-becker marked this pull request as ready for review April 9, 2025 04:40
@hanno-becker hanno-becker requested a review from a team as a code owner April 9, 2025 04:40
@hanno-becker hanno-becker force-pushed the aws_lc_integration branch 2 times, most recently from ae08bf6 to 2f072a2 Compare April 9, 2025 04:48
@hanno-becker hanno-becker force-pushed the aws_lc_integration branch 2 times, most recently from 28c07ff to f5704d6 Compare April 9, 2025 05:13
This commit extends the CI with an integration test for AWS-LC.

The CI checks that mlkem-native successfully integrates into
AWS-LC by building and running basic tests of AWS-LC in FIPS
and non-FIPS mode.

We test both against a fixed commit and main. Testing against a
fixed known-good commit in AWS-LC means we note if we break the
integration. Testing against main means we note if a change in
AWS-LC breaks the integration. The latter is out of our control,
and we may need to temporarily ignore failures, but we should
be aware.

Signed-off-by: Hanno Becker <[email protected]>
The script importing mlkem-native into AWS-LC does not work as expected
on MacOS. While this is the case, patch it up.

This commit will be removed once the importer is fixed in AWS-LC.

Signed-off-by: Hanno Becker <[email protected]>
@hanno-becker hanno-becker force-pushed the aws_lc_integration branch 2 times, most recently from 153259e to 8213bee Compare April 9, 2025 05:55
Copy link
Contributor

@mkannwischer mkannwischer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Thanks @hanno-becker for all the work onn the AWS-LC integration!!

This PR adding the integration tests looks good. It may be a bit excessive, but we can trim it down later in case CI is running too slowly.

@hanno-becker hanno-becker merged commit daca1a3 into main Apr 9, 2025
272 of 294 checks passed
@hanno-becker hanno-becker deleted the aws_lc_integration branch April 9, 2025 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants