aboutsummaryrefslogtreecommitdiff
path: root/frozen_deps/ecdsa/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'frozen_deps/ecdsa/__init__.py')
-rw-r--r--frozen_deps/ecdsa/__init__.py76
1 files changed, 76 insertions, 0 deletions
diff --git a/frozen_deps/ecdsa/__init__.py b/frozen_deps/ecdsa/__init__.py
new file mode 100644
index 0000000..4ae0a11
--- /dev/null
+++ b/frozen_deps/ecdsa/__init__.py
@@ -0,0 +1,76 @@
+from .keys import (
+ SigningKey,
+ VerifyingKey,
+ BadSignatureError,
+ BadDigestError,
+ MalformedPointError,
+)
+from .curves import (
+ NIST192p,
+ NIST224p,
+ NIST256p,
+ NIST384p,
+ NIST521p,
+ SECP256k1,
+ BRAINPOOLP160r1,
+ BRAINPOOLP192r1,
+ BRAINPOOLP224r1,
+ BRAINPOOLP256r1,
+ BRAINPOOLP320r1,
+ BRAINPOOLP384r1,
+ BRAINPOOLP512r1,
+)
+from .ecdh import (
+ ECDH,
+ NoKeyError,
+ NoCurveError,
+ InvalidCurveError,
+ InvalidSharedSecretError,
+)
+from .der import UnexpectedDER
+
+# This code comes from http://github.com/warner/python-ecdsa
+from ._version import get_versions
+
+__version__ = get_versions()["version"]
+del get_versions
+
+__all__ = [
+ "curves",
+ "der",
+ "ecdsa",
+ "ellipticcurve",
+ "keys",
+ "numbertheory",
+ "test_pyecdsa",
+ "util",
+ "six",
+]
+
+_hush_pyflakes = [
+ SigningKey,
+ VerifyingKey,
+ BadSignatureError,
+ BadDigestError,
+ MalformedPointError,
+ UnexpectedDER,
+ InvalidCurveError,
+ NoKeyError,
+ InvalidSharedSecretError,
+ ECDH,
+ NoCurveError,
+ NIST192p,
+ NIST224p,
+ NIST256p,
+ NIST384p,
+ NIST521p,
+ SECP256k1,
+ BRAINPOOLP160r1,
+ BRAINPOOLP192r1,
+ BRAINPOOLP224r1,
+ BRAINPOOLP256r1,
+ BRAINPOOLP320r1,
+ BRAINPOOLP384r1,
+ BRAINPOOLP512r1,
+]
+del _hush_pyflakes