aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/test_seed.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hazmat/primitives/test_seed.py')
-rw-r--r--tests/hazmat/primitives/test_seed.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/hazmat/primitives/test_seed.py b/tests/hazmat/primitives/test_seed.py
index 35f89e56..884c22f7 100644
--- a/tests/hazmat/primitives/test_seed.py
+++ b/tests/hazmat/primitives/test_seed.py
@@ -18,6 +18,7 @@ import os
import pytest
+from cryptography.hazmat.backends.interfaces import CipherBackend
from cryptography.hazmat.primitives.ciphers import algorithms, modes
from .utils import generate_encrypt_test
@@ -30,7 +31,7 @@ from ...utils import load_nist_vectors
),
skip_message="Does not support SEED ECB",
)
-@pytest.mark.cipher
+@pytest.mark.requires_backend_interface(interface=CipherBackend)
class TestSEEDModeECB(object):
test_ECB = generate_encrypt_test(
load_nist_vectors,
@@ -47,7 +48,7 @@ class TestSEEDModeECB(object):
),
skip_message="Does not support SEED CBC",
)
-@pytest.mark.cipher
+@pytest.mark.requires_backend_interface(interface=CipherBackend)
class TestSEEDModeCBC(object):
test_CBC = generate_encrypt_test(
load_nist_vectors,
@@ -64,7 +65,7 @@ class TestSEEDModeCBC(object):
),
skip_message="Does not support SEED OFB",
)
-@pytest.mark.cipher
+@pytest.mark.requires_backend_interface(interface=CipherBackend)
class TestSEEDModeOFB(object):
test_OFB = generate_encrypt_test(
load_nist_vectors,
@@ -81,7 +82,7 @@ class TestSEEDModeOFB(object):
),
skip_message="Does not support SEED CFB",
)
-@pytest.mark.cipher
+@pytest.mark.requires_backend_interface(interface=CipherBackend)
class TestSEEDModeCFB(object):
test_CFB = generate_encrypt_test(
load_nist_vectors,