]> Cypherpunks.ru repositories - gogost.git/blobdiff - www.texi
CurveIdtc26gost341012512paramSetTest and various curve aliases
[gogost.git] / www.texi
index d356ff9e0bd25f8f5b14e01da601711ef49c3c73..07d4a624dbacb3cc99910b491a0725aafa9246d1 100644 (file)
--- a/www.texi
+++ b/www.texi
@@ -73,7 +73,7 @@ func main() {
     hasher := gost34112012256.New()
     _, err := hasher.Write(data)
     dgst := hasher.Sum(nil)
-    curve := gost3410.CurveIdtc26gost34102012256paramSetB()
+    curve := gost3410.CurveIdtc26gost341012256paramSetB()
     prvRaw := make([]byte, 32)
     _, err = io.ReadFull(rand.Reader, prvRaw)
     prv, err := gost3410.NewPrivateKey(curve, prvRaw)