diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2016-11-21 00:20:52 +0800 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2016-11-20 11:20:52 -0500 |
commit | 80ec631601a79fef5bd137a895cd70162ff6b4ca (patch) | |
tree | 3068e39bd74bc215bb59bb3bade0d334ffca3267 /docs/hazmat/primitives/asymmetric/ec.rst | |
parent | 6012ccff0d709a80259f93a406eca5d133b40108 (diff) | |
download | cryptography-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.rst | 6 |
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. |