aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/asymmetric
diff options
context:
space:
mode:
authorDirkjan Ochtman <dirkjan@ochtman.nl>2016-06-22 13:16:57 +0200
committerAlex Gaynor <alex.gaynor@gmail.com>2016-06-22 07:16:57 -0400
commitbfd374469ba7a91969fff03285fccdd0b2f9e759 (patch)
treec1330827ebea0e0662ce4b20df9439fe9fc7ced7 /docs/hazmat/primitives/asymmetric
parent72a7b9b5fa5e39c99dd08428e687f281e00cfe1c (diff)
downloadcryptography-bfd374469ba7a91969fff03285fccdd0b2f9e759.tar.gz
cryptography-bfd374469ba7a91969fff03285fccdd0b2f9e759.tar.bz2
cryptography-bfd374469ba7a91969fff03285fccdd0b2f9e759.zip
Use `d` instead of `private_exponent` for consistency (#2991)
True story: I used `e` instead of `d` because it seemed more closely related to `e`. Should have looked it up, of course... but the docs could be better.
Diffstat (limited to 'docs/hazmat/primitives/asymmetric')
-rw-r--r--docs/hazmat/primitives/asymmetric/rsa.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/hazmat/primitives/asymmetric/rsa.rst b/docs/hazmat/primitives/asymmetric/rsa.rst
index 70e1678e..0261c368 100644
--- a/docs/hazmat/primitives/asymmetric/rsa.rst
+++ b/docs/hazmat/primitives/asymmetric/rsa.rst
@@ -476,15 +476,15 @@ this without having to do the math themselves.
.. versionadded:: 0.4
- Computes the ``dmp1`` parameter from the RSA private exponent and prime
- ``p``.
+ Computes the ``dmp1`` parameter from the RSA private exponent (``d``) and
+ prime ``p``.
.. function:: rsa_crt_dmq1(private_exponent, q)
.. versionadded:: 0.4
- Computes the ``dmq1`` parameter from the RSA private exponent and prime
- ``q``.
+ Computes the ``dmq1`` parameter from the RSA private exponent (``d``) and
+ prime ``q``.
.. function:: rsa_recover_prime_factors(n, e, d)