Skip to content

Commit

Permalink
Update typing for ECDH
Browse files Browse the repository at this point in the history
  • Loading branch information
Legrandin committed Sep 8, 2024
1 parent cbed604 commit fa5ccbf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Crypto/Protocol/DH.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ class RequestParams(TypedDict, Generic[T]):

def import_x25519_public_key(encoded: bytes) -> EccKey: ...
def import_x25519_private_key(encoded: bytes) -> EccKey: ...
def import_x448_public_key(encoded: bytes) -> EccKey: ...
def import_x448_private_key(encoded: bytes) -> EccKey: ...
def key_agreement(**kwargs: Unpack[RequestParams[T]]) -> T: ...

0 comments on commit fa5ccbf

Please sign in to comment.