:param long ukm: user keying material, VKO-factor
:returns: Key Encryption Key (shared key)
:rtype: bytes, 32 bytes
+
+ Shared Key Encryption Key computation is based on
+ :rfc:`7836` VKO GOST R 34.10-2012.
"""
return GOST34112012256(kek(curve, prv, pub, ukm, mode=2012)).digest()
:param long ukm: user keying material, VKO-factor
:returns: Key Encryption Key (shared key)
:rtype: bytes, 32 bytes
+
+ Shared Key Encryption Key computation is based on
+ :rfc:`7836` VKO GOST R 34.10-2012.
"""
return GOST34112012512(kek(curve, prv, pub, ukm, mode=2012)).digest()