diff options
author | Mohammed Attia <skeuomorf@gmail.com> | 2014-03-03 21:12:44 +0200 |
---|---|---|
committer | Mohammed Attia <skeuomorf@gmail.com> | 2014-03-03 21:12:44 +0200 |
commit | 441db5033a67e30f0e392f82ae70334a6fc3feff (patch) | |
tree | 2b290f86a58fc38c1c534248a80edab4d046dfc1 | |
parent | fb0b5c8924f0546df3862be9f6d39f5cc195b9d9 (diff) | |
download | cryptography-441db5033a67e30f0e392f82ae70334a6fc3feff.tar.gz cryptography-441db5033a67e30f0e392f82ae70334a6fc3feff.tar.bz2 cryptography-441db5033a67e30f0e392f82ae70334a6fc3feff.zip |
Change name of divisor to subgroup_order
-rw-r--r-- | cryptography/hazmat/primitives/interfaces.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/cryptography/hazmat/primitives/interfaces.py b/cryptography/hazmat/primitives/interfaces.py index 4d9e7879..04537f8c 100644 --- a/cryptography/hazmat/primitives/interfaces.py +++ b/cryptography/hazmat/primitives/interfaces.py @@ -295,9 +295,10 @@ class DSAParams(six.with_metaclass(abc.ABCMeta)): """ @abc.abstractproperty - def divisor(self): + def subgroup_order(self): """ - The prime divisor of (p-1) that's used in generating the DSA keypair. + The subgroup order that's used in generating the DSA keypair + by the generator. """ @abc.abstractproperty @@ -322,8 +323,9 @@ class DSAParams(six.with_metaclass(abc.ABCMeta)): @abc.abstractproperty def q(self): """ - The prime divisor of (p-1) that's used in generating the DSA keypair. - Alias for divisor. + The subgroup order that's used in generating the DSA keypair + by the generator. + Alias for subgroup_order. """ @abc.abstractproperty |