Use generated parameter parsing for KDFs by paulidale · Pull Request #27923 · openssl/openssl · GitHub | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to content

Use generated parameter parsing for KDFs #27923

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

Open
wants to merge 51 commits into
base: master
Choose a base branch
from

Conversation

paulidale
Copy link
Contributor

@paulidale paulidale commented Jun 30, 2025

KDFs are OSSL_PARAM heavy and widely used. Switching to a generated name parser should improve performance a bit. We'll also gain forced consistency between advertised parameter lists and what is actually accepted.

This requires some changes to the parser generator to support duplicated parameters.
It also requires changes to the KDF code to use the parser.
If additionally requires changes to some of the helper functions so they don't attempt to locate parameters.

  • documentation is added or updated
  • tests are added or updated

@paulidale paulidale self-assigned this Jun 30, 2025
@paulidale paulidale added branch: master Merge to master branch triaged: refactor The issue/pr requests/implements refactoring tests: present The PR has suitable tests present triaged: performance The issue/pr reports/fixes a performance concern extended tests Run extended tests in CI style: waived exempted from style checks labels Jun 30, 2025
@github-actions github-actions bot added the severity: fips change The pull request changes FIPS provider sources label Jun 30, 2025
@paulidale paulidale added approval: review pending This pull request needs review by a committer and removed extended tests Run extended tests in CI labels Jun 30, 2025
@paulidale paulidale requested a review from a team June 30, 2025 03:28
@paulidale paulidale force-pushed the param-kdf branch 5 times, most recently from f51e837 to 1a22f71 Compare July 2, 2025 07:31
@paulidale
Copy link
Contributor Author

Should be ready for reviewing.

@paulidale
Copy link
Contributor Author

Rebased to resolve trivial conflict. Reviews @openssl/committers ?

paulidale added 27 commits July 4, 2025 12:23
The code already skips "properties" and "engines" behaves the same.
These are in the name decoder and structure but do not appear in the parameter
listing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approval: review pending This pull request needs review by a committer branch: master Merge to master branch severity: fips change The pull request changes FIPS provider sources style: waived exempted from style checks tests: present The PR has suitable tests present triaged: performance The issue/pr reports/fixes a performance concern triaged: refactor The issue/pr requests/implements refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.