1 from cryptography.hazmat.backends.interfaces import HashBackend
2 from cryptography.hazmat.primitives.hashes import HashAlgorithm
3 from cryptography.hazmat.primitives.kdf import KeyDerivationFunction
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: ...