@@ -213,11 +213,11 @@ def from_public_point(
213213 verification, needs to implement the same interface
214214 as hashlib.sha1
215215 :type hashfunc: callable
216- :type bool validate_point: whether to check if the point lies on curve
216+ :type bool validate_point: whether to check if the point lays on curve
217217 should always be used if the public point is not a result
218218 of our own calculation
219219
220- :raises MalformedPointError: if the public point does not lie on the
220+ :raises MalformedPointError: if the public point does not lay on the
221221 curve
222222
223223 :return: Initialised VerifyingKey object
@@ -233,7 +233,7 @@ def from_public_point(
233233 curve .generator , point , validate_point
234234 )
235235 except ecdsa .InvalidPointError :
236- raise MalformedPointError ("Point does not lie on the curve" )
236+ raise MalformedPointError ("Point does not lay on the curve" )
237237 self .pubkey .order = curve .order
238238 return self
239239
@@ -347,16 +347,16 @@ def from_string(
347347
348348 :param string: single point encoding of the public key
349349 :type string: :term:`bytes-like object`
350- :param curve: the curve on which the public key is expected to lie
350+ :param curve: the curve on which the public key is expected to lay
351351 :type curve: ecdsa.curves.Curve
352352 :param hashfunc: The default hash function that will be used for
353353 verification, needs to implement the same interface as hashlib.sha1
354354 :type hashfunc: callable
355- :param validate_point: whether to verify that the point lies on the
355+ :param validate_point: whether to verify that the point lays on the
356356 provided curve or not, defaults to True
357357 :type validate_point: bool
358358
359- :raises MalformedPointError: if the public point does not lie on the
359+ :raises MalformedPointError: if the public point does not lay on the
360360 curve or the encoding is invalid
361361
362362 :return: Initialised VerifyingKey object
0 commit comments