Skip to content

pkey_ctx: add ability to generate DH params & keys #2433

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 3 commits into from
Aug 6, 2025

Conversation

huwcbjones
Copy link
Contributor

@huwcbjones huwcbjones commented Jul 31, 2025

Progress towards #2047 by adding ability to generate DH keys using the EVP_* interfaces (rather than the deprecated DH_* interfaces).

  • sys/dh: add EVP_PKEY_CTX set dh prime_len & generator
  • pkey_ctx: add set dh prime_len and generator
  • pkey_ctx: dh params & key generation test

@huwcbjones huwcbjones force-pushed the huw/pkey-ctx-dh-paramgen branch from 2f4cf0c to 236d55d Compare July 31, 2025 13:52
@huwcbjones huwcbjones marked this pull request as ready for review July 31, 2025 14:14
@huwcbjones huwcbjones changed the title pkey_ctx: add ability to generate DH params pkey_ctx: add ability to generate DH params & keys Jul 31, 2025
@huwcbjones huwcbjones force-pushed the huw/pkey-ctx-dh-paramgen branch 4 times, most recently from 1942db4 to 36723c1 Compare August 5, 2025 10:22
@huwcbjones huwcbjones force-pushed the huw/pkey-ctx-dh-paramgen branch from 36723c1 to 6c4cd2d Compare August 5, 2025 12:30
@alex alex merged commit fcf0cf9 into sfackler:master Aug 6, 2025
86 checks passed
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.

2 participants