]> Cypherpunks.ru repositories - gogost.git/blobdiff - src/cypherpunks.ru/gogost/gost3410/curve.go
Correct curve names
[gogost.git] / src / cypherpunks.ru / gogost / gost3410 / curve.go
index 76a2c658028774f5faefdc1515703fa029aad908..973b04ac582be6fec95fd20ebcf32d130943a92c 100644 (file)
@@ -56,9 +56,9 @@ type Curve struct {
        edT *big.Int
 }
 
-func NewCurve(name string, p, q, a, b, x, y, e, d *big.Int) (*Curve, error) {
+func NewCurve(p, q, a, b, x, y, e, d *big.Int) (*Curve, error) {
        c := Curve{
-               Name: name,
+               Name: "unknown",
                P:    p,
                Q:    q,
                A:    a,