massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / cryptography / cryptography / hazmat / primitives / kdf / x963kdf.pyi
1 from cryptography.hazmat.backends.interfaces import HashBackend
2 from cryptography.hazmat.primitives.hashes import HashAlgorithm
3 from cryptography.hazmat.primitives.kdf import KeyDerivationFunction
4
5 class X963KDF(KeyDerivationFunction):
6     def __init__(self, algorithm: HashAlgorithm, length: int, sharedinfo: bytes | None, backend: HashBackend | None = ...): ...
7     def derive(self, key_material: bytes) -> bytes: ...
8     def verify(self, key_material: bytes, expected_key: bytes) -> None: ...