:param GOST3410Curve curve: curve to use
:param long prv: private key
- :return: public key's parts, X and Y
+ :returns: public key's parts, X and Y
:rtype: (long, long)
"""
return curve.exp(prv)
:param long prv: private key
:param digest: digest for signing
:type digest: bytes, 32 or 64 bytes
- :return: signature
+ :returns: signature
:rtype: bytes, 64 or 128 bytes
"""
size = MODE2SIZE[mode]