Skip to content

Conversation

@alex
Copy link
Member

@alex alex commented Jan 25, 2026

Per RFC 9180 Section 8.1, applications using single-shot APIs should use the info parameter for auxiliary authenticated information rather than aad. This change:

  • Creates internal _encrypt/_decrypt methods that accept aad for running RFC test vectors
  • Removes aad parameter from public encrypt/decrypt methods
  • Updates tests to use internal API for vector validation
  • Updates documentation to reflect the API change
  • Adds CHANGELOG entry for HPKE support

Fixes #14073

Per RFC 9180 Section 8.1, applications using single-shot APIs should
use the info parameter for auxiliary authenticated information rather
than aad. This change:

- Creates internal _encrypt/_decrypt methods that accept aad for
  running RFC test vectors
- Removes aad parameter from public encrypt/decrypt methods
- Updates tests to use internal API for vector validation
- Updates documentation to reflect the API change
- Adds CHANGELOG entry for HPKE support

Fixes #14073
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Add HPKE support

3 participants