updates for review feedback
diff --git a/docs/hazmat/backends/interfaces.rst b/docs/hazmat/backends/interfaces.rst
index 3b3d5ef..6833f22 100644
--- a/docs/hazmat/backends/interfaces.rst
+++ b/docs/hazmat/backends/interfaces.rst
@@ -351,7 +351,8 @@
:class:`~cryptography.hazmat.primitives.interfaces.DSAPublicKey`
provider.
- :param bytes signature: The signature to verify.
+ :param bytes signature: The signature to verify. DER encoded as
+ specified in :rfc:`6979`.
:param algorithm: An instance of a
:class:`~cryptography.hazmat.primitives.interfaces.HashAlgorithm`
@@ -369,14 +370,16 @@
:returns: ``True`` if the specified ``algorithm`` is supported by this
backend, otherwise ``False``.
- .. method:: dsa_parameters_supported(p, q):
+ .. method:: dsa_parameters_supported(p, q, g):
:param int p: The p value of a DSA key.
:param int q: The q value of a DSA key.
- :returns: ``True`` if the given values of ``p`` and ``q`` are supported
- by this backend, otherwise ``False``.
+ :param int g: The g value of a DSA key.
+
+ :returns: ``True`` if the given values of ``p``, ``q``, and ``g`` are
+ supported by this backend, otherwise ``False``.
.. class:: CMACBackend
diff --git a/docs/hazmat/primitives/asymmetric/dsa.rst b/docs/hazmat/primitives/asymmetric/dsa.rst
index 5cee570..03e476b 100644
--- a/docs/hazmat/primitives/asymmetric/dsa.rst
+++ b/docs/hazmat/primitives/asymmetric/dsa.rst
@@ -142,7 +142,7 @@
... hashes.SHA256(),
... default_backend()
... )
- >>> data= b"this is some data I'd like to sign"
+ >>> data = b"this is some data I'd like to sign"
>>> signer.update(data)
>>> signature = signer.finalize()
>>> public_key = private_key.public_key()
@@ -154,7 +154,7 @@
>>> verifier.update(data)
>>> verifier.verify()
- :param bytes signature: The signature to verify in DER encoding as
+ :param bytes signature: The signature to verify. DER encoded as
specified in :rfc:`6979`.
:param algorithm: An instance of a