Skip to content

Conversation

tarcieri
Copy link
Contributor

@tarcieri tarcieri commented Sep 2, 2025

Adds a table of low order points, adapted from https://cr.yp.to/ecdh.html, which suggests that non-Diffie-Hellman protocols that depend on "contributory" behavior should reject them.

They're also useful for testing, e.g. how a protocol implementation handles them during a key exchange (noting that a well-implemented AKE shouldn't need to explicitly reject them, as someone attempting to use them for MitM should be spotted as a transcript mismatch).

Adds a table of low order points, adapted from
https://cr.yp.to/ecdh.html, which suggests that non-Diffie-Hellman
protocols that depend on "contributory" behavior should reject them.

They're also useful for testing, e.g. how a protocol implementation
handles them during a key exchange (noting that a well-implemented AKE
shouldn't need to explicitly reject them, as someone attempting to use
them for MitM should be spotted as a transcript mismatch).
@tarcieri tarcieri requested a review from rozbb September 2, 2025 17:36
@tarcieri tarcieri changed the title curve: add X25519_LOW_ORDER_POINTS constant curve: add X25519_LOW_ORDER_POINTS constant Sep 2, 2025
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