From 441db5033a67e30f0e392f82ae70334a6fc3feff Mon Sep 17 00:00:00 2001 From: Mohammed Attia Date: Mon, 3 Mar 2014 21:12:44 +0200 Subject: Change name of divisor to subgroup_order --- cryptography/hazmat/primitives/interfaces.py | 10 ++++++---- 1 file 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 -- cgit v1.2.3