X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=pygost%2Fstubs%2Fpygost%2Fgost3410_vko.pyi;h=c6d35e5a0d19c7520e04251dad975af6b28acf3a;hb=82af8726ef5d5e2752089a45750e56c9910398c7;hp=33627930fe18d2d2dad8e7f6136df0c6f7640da0;hpb=282cb5e23df11f9d5e3c29185f0e6c72f038f731;p=pygost.git diff --git a/pygost/stubs/pygost/gost3410_vko.pyi b/pygost/stubs/pygost/gost3410_vko.pyi index 3362793..c6d35e5 100644 --- a/pygost/stubs/pygost/gost3410_vko.pyi +++ b/pygost/stubs/pygost/gost3410_vko.pyi @@ -2,25 +2,13 @@ from pygost.gost3410 import GOST3410Curve from pygost.gost3410 import PublicKey -def vko_34102001( - curve: GOST3410Curve, - private_key: int , - pubkey: PublicKey, - ukm: bytes, -) -> bytes: ... - - -def vko_34102012256( - curve: GOST3410Curve, - private_key: int, - pubkey: PublicKey, - ukm=...: bytes, -) -> bytes: ... - - -def vko_34102012512( - curve: GOST3410Curve, - private_key: int, - pubkey: PublicKey, - ukm=...: bytes, -) -> bytes: ... +def ukm_unmarshal(ukm: bytes) -> int: ... + + +def kek_34102001(curve: GOST3410Curve, prv: int, pub: PublicKey, ukm: int) -> bytes: ... + + +def kek_34102012256(curve: GOST3410Curve, prv: int, pub: PublicKey, ukm: int=...) -> bytes: ... + + +def kek_34102012512(curve: GOST3410Curve, prv: int, pub: PublicKey, ukm: int=...) -> bytes: ...