aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/asymmetric/padding.rst
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-04-15 14:16:35 -0400
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-04-20 16:53:03 -0500
commit7bdcdc175675bc78edaa7e0f931676652ab7a427 (patch)
treef33ccfc69cb384debea40eef14454667a15bd620 /docs/hazmat/primitives/asymmetric/padding.rst
parent4d7d44e1be9f4bfe0aae9e395b231f34d431aaaf (diff)
downloadcryptography-7bdcdc175675bc78edaa7e0f931676652ab7a427.tar.gz
cryptography-7bdcdc175675bc78edaa7e0f931676652ab7a427.tar.bz2
cryptography-7bdcdc175675bc78edaa7e0f931676652ab7a427.zip
remove OAEP decryption to simplify review
Diffstat (limited to 'docs/hazmat/primitives/asymmetric/padding.rst')
-rw-r--r--docs/hazmat/primitives/asymmetric/padding.rst16
1 files changed, 0 insertions, 16 deletions
diff --git a/docs/hazmat/primitives/asymmetric/padding.rst b/docs/hazmat/primitives/asymmetric/padding.rst
index 06bd2c42..f33ca4e2 100644
--- a/docs/hazmat/primitives/asymmetric/padding.rst
+++ b/docs/hazmat/primitives/asymmetric/padding.rst
@@ -10,21 +10,6 @@ Padding
correct padding signatures can be forged, messages decrypted, and private
keys compromised.
-.. class:: OAEP(mgf, label)
-
- .. versionadded:: 0.4
-
- OAEP (Optimal Asymmetric Encryption Padding) is a padding scheme defined in
- :rfc:`3447`. It provides probabilistic encryption and is `proven secure`_
- against several attack types. This is the `recommended padding algorithm`_
- for RSA encryption. It cannot be used with RSA signing.
-
- :param mgf: A mask generation function object. At this time the only
- supported MGF is :class:`MGF1`.
-
- :param bytes label: A label to apply. This is a rarely used field and
- should typically be set to ``None`` or ``b""`` (equivalent values).
-
.. class:: PSS(mgf, salt_length)
.. versionadded:: 0.3
@@ -75,6 +60,5 @@ Mask generation functions
.. _`Padding is critical`: http://rdist.root.org/2009/10/06/why-rsa-encryption-padding-is-critical/
-.. _`proven secure`: http://cseweb.ucsd.edu/users/mihir/papers/oae.pdf
.. _`security proof`: http://eprint.iacr.org/2001/062.pdf
.. _`recommended padding algorithm`: http://www.daemonology.net/blog/2009-06-11-cryptographic-right-answers.html