#ITEM 2 - Ristretto Implementation over Sean's Doppio Curve #76
Comments
@Bounce23 provided the values: |
As far as we've seen, with the implementation of
We are still unable to pass the |
@Bounce23 found the following parameters for an isomorphic twist that should work:
This ones, will provide the same Sub-group order, and also satisfy:
|
This constats are equivalent to the values mentioned on: #76 #76 (comment) - `a = -1` - `d = -86649`
Adapted the Ristretto tests to work with the variables defined on: #76 (comment) Issue #76.
We are still able to use a basepoint encoding for our curve, to fit with the ristretto scalar field. This is the one shown here:
The difference is that we make use of an Edwards Y, without the need to specify the 'unique' basepoint stemming from (u-1)/(u+1), as this is for thee 25519 Montgomery fast scalar multiplication. Whereas ours is Edwards points encoded as field elements. |
Furthering the above comment: the base point for twisted Edwards, Y = 100171752, is not chosen arbitrarily; and is in line with the safe curves criteria as shown here, which is found in the code at line 422 here. This is set such that the curve maintains rigidity and to allow y(P) as a ladder coordinate. |
Refactored Ristretto tests according to what they should be. Also added the basepoint mentioned in: #76 (comment) With this basepoint we have been able to build basepoint compression and decompression tests.
This constats are equivalent to the values mentioned on: #76 #76 (comment) - `a = -1` - `d = -86649`
Adapted the Ristretto tests to work with the variables defined on: #76 (comment) Issue #76.
Refactored Ristretto tests according to what they should be. Also added the basepoint mentioned in: #76 (comment) With this basepoint we have been able to build basepoint compression and decompression tests.
This is closed since we take part of this on #82 |
Since the curve that Sean provided in:
Provides values for the Twisted Edwards form that aren't suitable for a Ristretto protocol implementation we have two options:
Find an isomorphic twist that allows us to mantain the same orders for the Finite Field and also the Sub group, and at the same time, gives
a & d
values that are suitable for a Ristretto implementation.Choice a diferent curve. This will force us to:
It seems that @Bounce23 found an isomorphic twist that can do the job. We will update here the discussions.
The text was updated successfully, but these errors were encountered: