sike-java icon indicating copy to clipboard operation
sike-java copied to clipboard

Separate constants in reference and optimized implementations

Open romanstrobl opened this issue 4 years ago • 0 comments

The MontgomeryCurve class contains fields a and b. The a constant used in reference implementation is different from the A constant used in optimized implementation. Furthermore, the b constant is not used in optimized implementation.

We should separate the constant classes for each of the implementations and encapsulate all constants.

romanstrobl avatar Nov 04 '20 00:11 romanstrobl