X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=pygost%2Fstubs%2Fpygost%2Fgost3410_vko.pyi;h=6e4531f28f876fd7d23a0707fa2e050f21e26672;hb=daafb8be30dc1991de044e2f5f95d1232969e88a;hp=fc1f3b03f06fb49d1dc1a4e5c547e116da80dd18;hpb=4b7fd2c1923d5803afe1b078727ee68624430af9;p=pygost.git diff --git a/pygost/stubs/pygost/gost3410_vko.pyi b/pygost/stubs/pygost/gost3410_vko.pyi index fc1f3b0..6e4531f 100644 --- a/pygost/stubs/pygost/gost3410_vko.pyi +++ b/pygost/stubs/pygost/gost3410_vko.pyi @@ -2,10 +2,13 @@ from pygost.gost3410 import GOST3410Curve from pygost.gost3410 import PublicKey -def vko_34102001(curve: GOST3410Curve, prv: int, pubkey: PublicKey, ukm: bytes) -> bytes: ... +def ukm_unmarshal(ukm: bytes) -> int: ... -def vko_34102012256(curve: GOST3410Curve, prv: int, pubkey: PublicKey, ukm=...: bytes) -> bytes: ... +def kek_34102001(curve: GOST3410Curve, prv: int, pub: PublicKey, ukm: int) -> bytes: ... -def vko_34102012512(curve: GOST3410Curve, prv: int, pubkey: PublicKey, ukm=...: bytes) -> bytes: ... +def kek_34102012256(curve: GOST3410Curve, prv: int, pub: PublicKey, ukm: int=..., mode: int=...) -> bytes: ... + + +def kek_34102012512(curve: GOST3410Curve, prv: int, pub: PublicKey, ukm: int=...) -> bytes: ...