aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorFacundo Tuesca <facundo.tuesca@trailofbits.com>2024-02-26 20:13:47 +0100
committerGitHub <noreply@github.com>2024-02-26 19:13:47 +0000
commit0a1098fcf09dfb7aef75ec87d29fb133deb0d70d (patch)
tree205c490ac6fb7ddff924e764ef3089c63b3d2f65 /docs
parent4bfd3216380c7925609c46759f9c6c48d78a4697 (diff)
downloadpyca-cryptography-0a1098fcf09dfb7aef75ec87d29fb133deb0d70d.zip
pyca-cryptography-0a1098fcf09dfb7aef75ec87d29fb133deb0d70d.tar.gz
pyca-cryptography-0a1098fcf09dfb7aef75ec87d29fb133deb0d70d.tar.bz2
Support for ECDSA deterministic signing (RFC 6979) (#10369)
* Add support for deterministic ECDSA (RFC 6979)
Diffstat (limited to 'docs')
-rw-r--r--docs/hazmat/primitives/asymmetric/ec.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/hazmat/primitives/asymmetric/ec.rst b/docs/hazmat/primitives/asymmetric/ec.rst
index 75165b6..c0a0ff7 100644
--- a/docs/hazmat/primitives/asymmetric/ec.rst
+++ b/docs/hazmat/primitives/asymmetric/ec.rst
@@ -47,6 +47,19 @@ Elliptic Curve Signature Algorithms
:param algorithm: An instance of
:class:`~cryptography.hazmat.primitives.hashes.HashAlgorithm`.
+ :param bool deterministic_signing: A boolean flag defaulting to ``False``
+ that specifies whether the signing procedure should be deterministic
+ or not, as defined in :rfc:`6979`. This only impacts the signing
+ process, verification is not affected (the verification process
+ is the same for both deterministic and non-deterministic signed
+ messages).
+
+ .. versionadded:: 43.0.0
+
+ :raises cryptography.exceptions.UnsupportedAlgorithm: If
+ ``deterministic_signing`` is set to ``True`` and the version of
+ OpenSSL does not support ECDSA with deterministic signing.
+
.. doctest::
>>> from cryptography.hazmat.primitives import hashes