# Expose the elligator map for Curve25519 · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/e8ca9229c8aa6bd2d8abb1f91a8662eed2e68fd5)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: e8ca9229c8aa6bd2d8abb1f91a8662eed2e68fd5

Requested commit: e8ca9229c8aa6bd2d8abb1f91a8662eed2e68fd5

Commit: e8ca9229c8aa6bd2d8abb1f91a8662eed2e68fd5

Tree: 4706f66e7f8116985df342c2ac5226b6a5f71bd5

Author: Frank Denis

Committer: Frank Denis

## Message

```
Expose the elligator map for Curve25519

This is the same as for Edwards25519 without the y coordinate,
since it returns Montgomery coordinates, but it can be confusing
to call the Edwards25519 function while working on the
Curve25519 representation.

New protocols such as CPACE requires the map over Curve25519.

```

## Parents

- [27ef6e9a9b21ff7ca4e349af4384a3a23a1e3cde](https://git.cafe/gitcafe/zig/commit/27ef6e9a9b21ff7ca4e349af4384a3a23a1e3cde?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/e8ca9229c8aa6bd2d8abb1f91a8662eed2e68fd5?format=markdown)
