Skip to content

Conversation

@UkoeHB
Copy link

@UkoeHB UkoeHB commented Dec 3, 2021

No description provided.

@cbeck88
Copy link
Contributor

cbeck88 commented Feb 3, 2022

I think the main issue with this is this part:

- If decryption succeeds, the decrypted message should be a compressed Ristretto point. Checking if it is a legitimate compressed Ristretto must be done in constant time.

Because, curve25519-dalek does not currently offer a way to do this, the decompress function returns Option<RistrettoPoint> which cannot be accessed in constant-time, and it has some early returns in the logic.

https://github.com/dalek-cryptography/curve25519-dalek/blob/6820effb4422a47f4fa68697f06def06a7567bfe/src/ristretto.rs#L254

We would need to talk to the developers to see if they are willing to introduce a constant-time decompression function to accommodate this. (@isis-mc )

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