]> Cypherpunks.ru repositories - pygost.git/blobdiff - pygost/gost3410.py
Consistent source code quote symbols
[pygost.git] / pygost / gost3410.py
index e3e2c91d809b4c8dd4158eb98c0d353931b744dd..c9b905e225ed06e63fb70c0c55f4f15b96934121 100644 (file)
@@ -200,7 +200,7 @@ def kek(curve, private_key, ukm, pubkey):
     hash output.
     """
     key = curve.exp(private_key, pubkey[0], pubkey[1])
-    key = curve.exp(bytes2long(24 * b'\x00' + ukm), key[0], key[1])
+    key = curve.exp(bytes2long(24 * b"\x00" + ukm), key[0], key[1])
     return GOST341194(
         (long2bytes(key[1]) + long2bytes(key[0]))[::-1],
         "GostR3411_94_CryptoProParamSet"