Skip to content

S2n bignum import method change #2324

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

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

torben-hansen
Copy link
Contributor

Description of changes:

This modifies how s2n-bignum is imported. Firstly, it axes the subtree. Secondly, it implements an import script import.sh that will do a simple source import from upstream s2n-bignum repo. Finally, it modies the aws-lc-specific header file.

This is motivated by subtree being a maintenance burden and the need for upstream testing of aws-lc+s2n-bignum code changes before import time.

Obviously, this will increase the size of AWS-LC source because we don't use everything from s2n-bignum currently, and the repo contains a bunch of code-duplication.

Call-outs:

The aws-lc-specific header file should not be where it currently is. It's unrelated to the third-party source code and is more of an AWS-LC implementation detail.

This PR is not ready for merge yet, because the upstream must first fix all the non-const parameters that's currently assumed by AWS-LC

Testing:

All relevant code should already be tested as part of CI.

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.

@@ -0,0 +1,74 @@
#!/usr/bin/env bash
Copy link
Contributor Author

Choose a reason for hiding this comment

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

exclude some directories that are definitely not needed.

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.

1 participant