aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/asymmetric/ec.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/hazmat/primitives/asymmetric/ec.rst')
-rw-r--r--docs/hazmat/primitives/asymmetric/ec.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/hazmat/primitives/asymmetric/ec.rst b/docs/hazmat/primitives/asymmetric/ec.rst
index 33ebee0f..27debfa1 100644
--- a/docs/hazmat/primitives/asymmetric/ec.rst
+++ b/docs/hazmat/primitives/asymmetric/ec.rst
@@ -20,13 +20,14 @@ Elliptic curve cryptography
:returns: A new instance of :class:`EllipticCurvePrivateKey`.
-.. function:: derive_private_key(secret, curve, backend)
+.. function:: derive_private_key(private_value, curve, backend)
.. versionadded:: 1.6
- Derive a private key from ``secret`` on ``curve`` for use with ``backend``.
+ Derive a private key from ``private_value`` on ``curve`` for use with
+ ``backend``.
- :param int secret: The secret scalar value.
+ :param int private_value: The secret scalar value.
:param curve: An instance of :class:`EllipticCurve`.