]> Cypherpunks.ru repositories - gogost.git/blobdiff - README
CurveIdtc26gost341012512paramSetTest and various curve aliases
[gogost.git] / README
diff --git a/README b/README
index 269e6d36769c90d88c17917f15f386e845af2ad9..35d27852d79c5a884e60b93e1592d374abf42376 100644 (file)
--- a/README
+++ b/README
@@ -45,7 +45,7 @@ Example 34.10-2012-256 keypair generation, signing and verifying:
         hasher := gost34112012256.New()
         _, err := hasher.Write(data)
         dgst := hasher.Sum(nil)
-        curve := gost3410.CurveIdtc26gost34102012256paramSetB()
+        curve := gost3410.CurveIdtc26gost341012256paramSetB()
         prvRaw := make([]byte, int(32))
         _, err = io.ReadFull(rand.Reader, prvRaw)
         prv, err := gost3410.NewPrivateKey(curve, prvRaw)