aboutsummaryrefslogtreecommitdiffstats
path: root/cryptography
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-02-08 11:46:43 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-02-08 11:46:43 -0600
commit973e7ccc37816bd922afac3a34f4c139c9134029 (patch)
tree2a953071d0a478c84c1f78781b2d5053eb4d2600 /cryptography
parent96f31fd81b9d5f29adf5290e1630a79d89039538 (diff)
parente009ad22284ff2bf1f415a13f203fcdcd92d8bf8 (diff)
downloadcryptography-973e7ccc37816bd922afac3a34f4c139c9134029.tar.gz
cryptography-973e7ccc37816bd922afac3a34f4c139c9134029.tar.bz2
cryptography-973e7ccc37816bd922afac3a34f4c139c9134029.zip
Merge pull request #584 from public/key_size
s/bit_length/key_size/ (again)
Diffstat (limited to 'cryptography')
-rw-r--r--cryptography/hazmat/backends/interfaces.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cryptography/hazmat/backends/interfaces.py b/cryptography/hazmat/backends/interfaces.py
index 630e7079..b867f26a 100644
--- a/cryptography/hazmat/backends/interfaces.py
+++ b/cryptography/hazmat/backends/interfaces.py
@@ -85,8 +85,8 @@ class PBKDF2HMACBackend(six.with_metaclass(abc.ABCMeta)):
class RSABackend(six.with_metaclass(abc.ABCMeta)):
@abc.abstractmethod
- def generate_rsa_private_key(self, public_exponent, bit_length):
+ def generate_rsa_private_key(self, public_exponent, key_size):
"""
Generate an RSAPrivateKey instance with public_exponent and a modulus
- of bit_length bits.
+ of key_size bits.
"""