Skip to content

Clarification on incomplete Twisted Edwards curves #726

@kevaundray

Description

@kevaundray

Problem

It is not clear whether incomplete Twisted Edwards curves are allowed in arkworks or how to notify someone that they are using an incomplete twisted Edwards curve and their possible security implications.

Relevance

Currently Bandersnatch is an incomplete twisted Edwards curve.

The claim can be tested with the following code:

    assert!(d.sqrt().is_none());
    assert!(a.sqrt().is_none());
 
    assert!((d / a).sqrt().is_some());

Possible Solution

  • A long term solution would depend on whether arkworks allows incomplete Edwards curves into the ecosystem.
  • A short term solution; document Bandersnatch as being incomplete

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions