Skip to content

Fix multi-user encapsulation#10

Merged
leonbotros merged 3 commits intomainfrom
mkem-fix
Mar 1, 2023
Merged

Fix multi-user encapsulation#10
leonbotros merged 3 commits intomainfrom
mkem-fix

Conversation

@leonbotros
Copy link
Copy Markdown
Contributor

@leonbotros leonbotros commented Mar 1, 2023

The previous version of multi-user encapsulation had malleable parts in the ciphertext. This was not in line with our CCA claims. The updated version uses a CCA secure KEM and DEM to construct a CCA secure multi-user KEM. It does so by generating a random session key and encrypting this session key with AES-GCM using the IBKEM shared secret as symmetric key for each user, respectively. The downsides are the extra dependency on AES, the overhead (encrypted session key, nonce and tag for each user).

Since ciphertexts produced by earlier versions are not compatible, this is a breaking change.

- implement compression for multi-user ciphertexts,
- update multi-user encapsulation tests (also include compression).
@leonbotros leonbotros force-pushed the mkem-fix branch 5 times, most recently from 03947ee to c5b2ba3 Compare March 1, 2023 13:04
@leonbotros leonbotros merged commit 79812dc into main Mar 1, 2023
@leonbotros leonbotros deleted the mkem-fix branch March 1, 2023 15:14
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.

1 participant