Skip to content

Compatibility of the Elligator2 implementation #1086

Answered by jedisct1
peckto asked this question in Q&A
Discussion options

You must be logged in to vote

The hash-to-curve map is accessible via the following functions, but only in the master branch:

  • crypto_core_ed25519_from_string() (_NU)
  • crypto_core_ed25519_from_string_ro() (_RO)
  • crypto_core_ristretto255_from_string() (_NU)
  • crypto_core_ristretto255_from_string_ro() (_RO)

from_string*() and from_uniform() both use Elligator, but handle the sign differently. In from_uniform() the top bit of the string represents the sign of the X coordinate.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@peckto
Comment options

@peckto
Comment options

@jedisct1
Comment options

@peckto
Comment options

Answer selected by peckto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1084 on July 01, 2021 08:05.