X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=src%2Fcypherpunks.ru%2Fgogost%2Fgost3410%2Fcurve.go;h=47f964b583a66bf9b735b73c671b0ca0e97873e3;hb=91562b3cf4aad503c493aa7b69abfbb07b46e63a;hp=76a2c658028774f5faefdc1515703fa029aad908;hpb=a205d42eff797b294ecc0355b9f2fcc89048bd6e;p=gogost.git diff --git a/src/cypherpunks.ru/gogost/gost3410/curve.go b/src/cypherpunks.ru/gogost/gost3410/curve.go index 76a2c65..47f964b 100644 --- a/src/cypherpunks.ru/gogost/gost3410/curve.go +++ b/src/cypherpunks.ru/gogost/gost3410/curve.go @@ -3,8 +3,7 @@ // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// the Free Software Foundation, version 3 of the License. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -56,9 +55,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,