aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/asymmetric/ec.rst
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2016-11-21 00:20:52 +0800
committerAlex Gaynor <alex.gaynor@gmail.com>2016-11-20 11:20:52 -0500
commit80ec631601a79fef5bd137a895cd70162ff6b4ca (patch)
tree3068e39bd74bc215bb59bb3bade0d334ffca3267 /docs/hazmat/primitives/asymmetric/ec.rst
parent6012ccff0d709a80259f93a406eca5d133b40108 (diff)
downloadcryptography-80ec631601a79fef5bd137a895cd70162ff6b4ca.tar.gz
cryptography-80ec631601a79fef5bd137a895cd70162ff6b4ca.tar.bz2
cryptography-80ec631601a79fef5bd137a895cd70162ff6b4ca.zip
add support for prehashing in ECDSA sign/verify (#3267)
* add support for prehashing in ECDSA sign/verify * move signature_algorithm check to its own function
Diffstat (limited to 'docs/hazmat/primitives/asymmetric/ec.rst')
-rw-r--r--docs/hazmat/primitives/asymmetric/ec.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/hazmat/primitives/asymmetric/ec.rst b/docs/hazmat/primitives/asymmetric/ec.rst
index 27debfa1..99abcc69 100644
--- a/docs/hazmat/primitives/asymmetric/ec.rst
+++ b/docs/hazmat/primitives/asymmetric/ec.rst
@@ -384,12 +384,16 @@ Key Interfaces
.. class:: EllipticCurveSignatureAlgorithm
.. versionadded:: 0.5
+ .. versionchanged:: 1.6
+ :class:`~cryptography.hazmat.primitives.asymmetric.utils.Prehashed`
+ can now be used as an ``algorithm``.
A signature algorithm for use with elliptic curve keys.
.. attribute:: algorithm
- :type: :class:`~cryptography.hazmat.primitives.hashes.HashAlgorithm`
+ :type: :class:`~cryptography.hazmat.primitives.hashes.HashAlgorithm` or
+ :class:`~cryptography.hazmat.primitives.asymmetric.utils.Prehashed`
The digest algorithm to be used with the signature scheme.