From fa5ccbfc6116db6574a2e45a5e5b2894d33f51e4 Mon Sep 17 00:00:00 2001 From: Helder Eijs Date: Sun, 8 Sep 2024 14:01:29 +0200 Subject: [PATCH] Update typing for ECDH --- lib/Crypto/Protocol/DH.pyi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Crypto/Protocol/DH.pyi b/lib/Crypto/Protocol/DH.pyi index 65a9a5da..634a0072 100644 --- a/lib/Crypto/Protocol/DH.pyi +++ b/lib/Crypto/Protocol/DH.pyi @@ -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: ...