8000 Add brainpool curves to __init__.py · tlsfuzzer/python-ecdsa@053cd9c · GitHub
[go: up one dir, main page]

Skip to content

Commit 053cd9c

Browse files
committed
Add brainpool curves to __init__.py
1 parent 161630f commit 053cd9c

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/ecdsa/__init__.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
from .keys import SigningKey, VerifyingKey, BadSignatureError, BadDigestError,\
22
MalformedPointError
3-
from .curves import NIST192p, NIST224p, NIST256p, NIST384p, NIST521p, SECP256k1
3+
from .curves import NIST192p, NIST224p, NIST256p, NIST384p, NIST521p,\
4+
SECP256k1, BRAINPOOLP160r1, BRAINPOOLP192r1, BRAINPOOLP224r1,\
5+
BRAINPOOLP256r1, BRAINPOOLP320r1, BRAINPOOLP384r1, BRAINPOOLP512r1
46
from .der import UnexpectedDER
57

68
# This code comes from http://github.com/warner/python-ecdsa
@@ -13,5 +15,8 @@
1315

1416
_hush_pyflakes = [SigningKey, VerifyingKey, BadSignatureError, BadDigestError,
1517
MalformedPointError, UnexpectedDER,
16-
NIST192p, NIST224p, NIST256p, NIST384p, NIST521p, SECP256k1]
18+
NIST192p, NIST224p, NIST256p, NIST384p, NIST521p, SECP256k1,
19+
BRAINPOOLP160r1, BRAINPOOLP192r1, BRAINPOOLP224r1,
20+
BRAINPOOLP256r1, BRAINPOOLP320r1, BRAINPOOLP384r1,
21+
BRAINPOOLP512r1]
1722
del _hush_pyflakes

0 commit comments

Comments
 (0)
0