From: Sergey Matveev Date: Sat, 19 Nov 2016 19:21:15 +0000 (+0300) Subject: VKO GOST is VKO GOST R standard X-Git-Tag: 3.0~10 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=6fb587cd918e8133117ad8d1792fc4fcddbdb430;p=pygost.git VKO GOST is VKO GOST R standard --- diff --git a/README b/README index 95f555b..54cc0c9 100644 --- a/README +++ b/README @@ -10,8 +10,8 @@ GOST is GOvernment STandard of Russian Federation (and Soviet Union). * GOST R 34.10-2001 (RFC 5832) public key signature function * GOST R 34.10-2012 (RFC 7091) public key signature function * various 34.10 curve parameters included -* VKO 34.10-2001 Diffie-Hellman function (RFC 4357) -* VKO 34.10-2012 Diffie-Hellman function +* VKO GOST R 34.10-2001 Diffie-Hellman function (RFC 4357) +* VKO GOST R 34.10-2012 Diffie-Hellman function * 28147-89 and CryptoPro key wrapping (RFC 4357) * 28147-89 CryptoPro key meshing for CFB mode (RFC 4357) * RFC 4491 (using GOST algorithms with X.509) compatibility helpers diff --git a/pygost/gost3410_vko.py b/pygost/gost3410_vko.py index a0354b5..10d2d46 100644 --- a/pygost/gost3410_vko.py +++ b/pygost/gost3410_vko.py @@ -18,7 +18,7 @@ def vko_34102001(curve, prv, pubkey, ukm): :rtype: bytes, 32 bytes Shared Key Encryption Key computation is based on - :rfc:`4357` VKO GOST 34.10-2001 with little-endian + :rfc:`4357` VKO GOST R 34.10-2001 with little-endian hash output. """ key = curve.exp(prv, pubkey[0], pubkey[1])