aboutsummaryrefslogtreecommitdiffstats
path: root/cryptography/hazmat/primitives/asymmetric/padding.py
diff options
context:
space:
mode:
Diffstat (limited to 'cryptography/hazmat/primitives/asymmetric/padding.py')
-rw-r--r--cryptography/hazmat/primitives/asymmetric/padding.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/cryptography/hazmat/primitives/asymmetric/padding.py b/cryptography/hazmat/primitives/asymmetric/padding.py
index dcc6fe06..72806a61 100644
--- a/cryptography/hazmat/primitives/asymmetric/padding.py
+++ b/cryptography/hazmat/primitives/asymmetric/padding.py
@@ -54,19 +54,6 @@ class PSS(object):
self._salt_length = salt_length
-@utils.register_interface(interfaces.AsymmetricPadding)
-class OAEP(object):
- name = "EME-OAEP"
-
- def __init__(self, mgf, algorithm, label):
- if not isinstance(algorithm, interfaces.HashAlgorithm):
- raise TypeError("Expected instance of interfaces.HashAlgorithm.")
-
- self._mgf = mgf
- self._algorithm = algorithm
- self._label = label
-
-
class MGF1(object):
MAX_LENGTH = object()