Skip to content

Add utility APIs for HPKE suite introspection#31336

Open
Zish19 wants to merge 2 commits into
openssl:masterfrom
Zish19:hpke-utility-functions
Open

Add utility APIs for HPKE suite introspection#31336
Zish19 wants to merge 2 commits into
openssl:masterfrom
Zish19:hpke-utility-functions

Conversation

@Zish19
Copy link
Copy Markdown

@Zish19 Zish19 commented May 29, 2026

Fixes #31205

This PR adds four HPKE utility APIs:

  • OSSL_HPKE_get_suite()
  • OSSL_HPKE_get_public_key_size()
  • OSSL_HPKE_mode_is_supported()
  • OSSL_HPKE_suite2str()

The implementation reuses existing HPKE metadata and validation paths and does not modify cryptographic behavior.

Changes include:

  • Public API declarations
  • Core implementations
  • Symbol exports
  • Documentation updates
  • Unit tests covering success and error paths

Signed-off-by: Shivam <shivamkingkumar5@gmail.com>
@openssl-machine openssl-machine added the hold: cla required The contributor needs to submit a license agreement label May 29, 2026
@openssl-machine openssl-machine added approval: review pending This pull request needs review by a committer and removed hold: cla required The contributor needs to submit a license agreement labels May 29, 2026
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HPKE interfaces lack certain utility functions

2 participants