diff options
author | Özgür Kesim <oec@codeblau.de> | 2024-03-21 19:20:36 +0100 |
---|---|---|
committer | Özgür Kesim <oec@codeblau.de> | 2024-03-21 19:20:36 +0100 |
commit | 8eeb35615f0483e21dc48f96877a2681cf48b1ec (patch) | |
tree | 46a1d6f92cca10cc5d7585e5fa85fedfaaece119 /curve/ed25519.go | |
parent | 00c59198893ba034fda5dda167bed495a7d4649f (diff) |
curve: simplify interface - no additive formulation
Diffstat (limited to 'curve/ed25519.go')
-rw-r--r-- | curve/ed25519.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/curve/ed25519.go b/curve/ed25519.go index e8e380d..6d7e1a0 100644 --- a/curve/ed25519.go +++ b/curve/ed25519.go @@ -20,9 +20,9 @@ type c25519 struct{} type scalar ed.Scalar type point ed.Point -var _ MPoint[*scalar, *scalar, *point] = (*point)(nil) -var _ MultiplicativeCurve[*scalar, *scalar, *point, *point] = Curve25519 var _ SomeScalar[*scalar] = (*scalar)(nil) +var _ SomePoint[*scalar, *scalar, *point] = (*point)(nil) +var _ SomeCurve[*scalar, *scalar, *point, *point] = Curve25519 var b64 = base64.StdEncoding.WithPadding(base64.NoPadding) |