Skip to content

Conversation

@tarcieri
Copy link
Member

@tarcieri tarcieri commented Jun 5, 2025

Companion PR to RustCrypto/traits#1891 which adds access to affine y-coordinates.

Notably we've just added an Edwards curve with ed448-goldilocks, and these curves use compressed Edwards y-coordinates, so y-coordinate access is needed to even implement point compression generically for these curves.

Note that due to #1229 it's currently not possible to impl the extened AffineCoordinates API for the Decaf implementation in the ed448-goldilocks` crate. This PR comments out the relevant code for now with a TODO to fix it.

@tarcieri tarcieri force-pushed the elliptic-curve/expose-affine-y-coordinate branch from 3655592 to 1f8924a Compare June 5, 2025 16:36
Companion PR to RustCrypto/traits#1891 which adds access to affine
y-coordinates.

Notably we've just added an Edwards curve with `ed448-goldilocks`, and
these curves use compressed Edwards y-coordinates, so y-coordinate
access is needed to even implement point compression generically for
these curves.

Note that due to #1229 it's currently not
possible to impl the extened `AffineCoordinates API for the Decaf
implementation in the `ed448-goldilocks` crate. This PR comments out the
relevant code for now with a TODO to fix it.
@tarcieri tarcieri force-pushed the elliptic-curve/expose-affine-y-coordinate branch from 1f8924a to 4d46c6d Compare June 5, 2025 17:16
@tarcieri tarcieri merged commit 59c458b into master Jun 5, 2025
151 checks passed
@tarcieri tarcieri deleted the elliptic-curve/expose-affine-y-coordinate branch June 5, 2025 17:59
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