Skip to content
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

Encapsulation/decapsulation failure #37

Open
bwesterb opened this issue Sep 5, 2024 · 0 comments
Open

Encapsulation/decapsulation failure #37

bwesterb opened this issue Sep 5, 2024 · 0 comments

Comments

@bwesterb
Copy link

bwesterb commented Sep 5, 2024

Some KEMs have explicit failure modes for encapsulation/decapsulation. For instance, ML-KEM checks whether the encapsulation key is normalized. If it's not, encapsulation fails. We should spent some words on how to handle such cases. I'd say simply aborting, and sending an illegal_parameter alert. (ML-KEM doesn't have a similar check on the ciphertext except for its length.)

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

No branches or pull requests

1 participant