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

refactor: cleanup prf header #5144

Merged
merged 1 commit into from
Feb 27, 2025
Merged

Conversation

lrstewart
Copy link
Contributor

@lrstewart lrstewart commented Feb 25, 2025

Release Summary:

Resolved issues:

related to #5143

Description of changes:

While poking around in the PRF logic, the clutter made understanding the already complicated flow even more complicated. The header contained many internal implementation details only required by the tests, which made figuring out how the rest of the code interacted with the PRF more difficult.

This change is purely renames + moving around declarations. The end result is a much simpler s2n_prf.h.

Call-outs:

I also renamed a couple methods that didn't start with "s2n_prf". The mix of "s2n_tls_prf" and "s2n_prf" made me think there was a meaningful difference. There was not.

Testing:

No behavior changes, purely cosmetic. Existing tests should continue to pass.

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

@github-actions github-actions bot added the s2n-core team label Feb 25, 2025
@lrstewart lrstewart marked this pull request as ready for review February 25, 2025 01:27
@lrstewart lrstewart requested review from goatgoose, CarolYeh910 and maddeleine and removed request for goatgoose February 25, 2025 01:27
@lrstewart lrstewart requested a review from maddeleine February 26, 2025 23:07
@lrstewart lrstewart added this pull request to the merge queue Feb 26, 2025
Merged via the queue into aws:main with commit 43d05f5 Feb 27, 2025
47 checks passed
@lrstewart lrstewart deleted the openssl3fips_prf_cleanup branch February 27, 2025 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants