We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48fac57 commit ccb3bb3Copy full SHA for ccb3bb3
tlslite/utils/ecc.py
@@ -24,8 +24,9 @@ def decodeX962Point(data, curve=ecdsa.NIST256p):
24
raise DecodeError("Zero as key share from peer")
25
if not curve.curve.contains_point(xCoord, yCoord):
26
raise DecodeError("Key share from peer is not a valid point on curve")
27
+ # pylint: disable=c-extension-no-member
28
return ecdsa.ellipticcurve.PointJacobi(curve.curve, xCoord, yCoord, 1)
-
29
+ # pylint: enable=c-extension-no-member
30
31
def encodeX962Point(point):
32
"""Encode a point in X9.62 format"""
0 commit comments