# Path: jose/constants.py
# ALGORITHMS = Algorithms()


from binascii import hexlify, unhexlify
from jose.constants import ALGORITHMS
    from jose.backends.pycrypto_backend import AESKey as PyCryptoAESKey
    from jose.backends.cryptography_backend import CryptographyAESKey
import pytest



try:
except ImportError as e:
    PyCryptoAESKey = None

try:
except ImportError as e:
    CryptographyAESKey = None


# List of Tuple of (alg, key, kek, wrapped) obtained from
# https://tools.ietf.org/html/rfc3394#section-2.2.3.1
VECTORS = (
    (
        ALGORITHMS.A128KW,
        b"00112233445566778899AABBCCDDEEFF",
        b"000102030405060708090A0B0C0D0E0F",
        b"1FA68B0A8112B447AEF34BD8FB5A7B829D3E862371D2CFE5",
    ),
    (
        ALGORITHMS.A192KW,
        b"00112233445566778899AABBCCDDEEFF0001020304050607",
        b"000102030405060708090A0B0C0D0E0F1011121314151617",
        b"031D33264E15D33268F24EC260743EDCE1C6C7DDEE725A936BA814915C6762D2",
    ),
    (

# Path: jose/constants.py
# ALGORITHMS = Algorithms()


# Path: tests/algorithms/test_AES.py
from binascii import hexlify, unhexlify
from jose.constants import ALGORITHMS
    from jose.backends.pycrypto_backend import AESKey as PyCryptoAESKey
    from jose.backends.cryptography_backend import CryptographyAESKey
import pytest




try:
except ImportError as e:
    PyCryptoAESKey = None

try:
except ImportError as e:
    CryptographyAESKey = None


# List of Tuple of (alg, key, kek, wrapped) obtained from
# https://tools.ietf.org/html/rfc3394#section-2.2.3.1
VECTORS = (
    (
        ALGORITHMS.A128KW,
        b"00112233445566778899AABBCCDDEEFF",
        b"000102030405060708090A0B0C0D0E0F",
        b"1FA68B0A8112B447AEF34BD8FB5A7B829D3E862371D2CFE5",
    ),
    (
        ALGORITHMS.A192KW,
        b"00112233445566778899AABBCCDDEEFF0001020304050607",
        b"000102030405060708090A0B0C0D0E0F1011121314151617",
        b"031D33264E15D33268F24EC260743EDCE1C6C7DDEE725A936BA814915C6762D2",
    ),
    (

        ALGORITHMS.A256KW,