aboutsummaryrefslogtreecommitdiffstats
path: root/tests/primitives/test_cryptrec.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/primitives/test_cryptrec.py')
-rw-r--r--tests/primitives/test_cryptrec.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/primitives/test_cryptrec.py b/tests/primitives/test_cryptrec.py
index c8e0af0f..59d8b24b 100644
--- a/tests/primitives/test_cryptrec.py
+++ b/tests/primitives/test_cryptrec.py
@@ -18,6 +18,7 @@ Tests using the CRYPTREC (Camellia) Test Vectors
from __future__ import absolute_import, division, print_function
import binascii
+import os
from cryptography.primitives.block import ciphers, modes
@@ -28,8 +29,7 @@ from ..utils import load_cryptrec_vectors_from_file
class TestCamelliaECB(object):
test_NTT = generate_encrypt_test(
load_cryptrec_vectors_from_file,
- "Camellia",
- "NTT",
+ os.path.join("Camellia", "NTT"),
["camellia-128-ecb", "camellia-192-ecb", "camellia-256"],
lambda key: ciphers.Camellia(binascii.unhexlify((key))),
lambda key: modes.EBC(),