Skip to content

hpke: don't panic when parsing on hybrid keys/ciphertexts. - #614

Merged
cjpatton merged 1 commit into
mainfrom
cjpatton/hpke-hybrid-decaps
Jun 3, 2026
Merged

cjpatton merged 1 commit into
mainfrom
cjpatton/hpke-hybrid-decaps

Conversation

@cjpatton

@cjpatton cjpatton commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

The hybridKEM implementation of the HPKE doesn't check that the marshaled quantities, like the private key, public key, and ciphertext, have the expected length. If short quantities are given, then the implementation will panic instead of handling these as errors.

The `hybridKEM` implementation of the HPKE doesn't check that the
marshaled quantities, like the private key, public key, and ciphertext,
have the expected length. If short quantities are given, then the
implementation will panic instead of handling these as errors.
@cjpatton
cjpatton force-pushed the cjpatton/hpke-hybrid-decaps branch from d7fd07f to 3c79cca Compare June 1, 2026 22:06
@cjpatton
cjpatton merged commit ae414aa into main Jun 3, 2026
24 checks passed
@cjpatton
cjpatton deleted the cjpatton/hpke-hybrid-decaps branch June 3, 2026 14:47
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