python-mbedtls fails some of its test suite if mbedtls isn't built with ARIA support.
[...]
____________________________________________ TestCipher.test_encrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=16, mode=Mode.CTR, iv_size=16] ____________________________________________
self = <test_cipher.TestCipher object at 0x7f5ceae98850>, params = (<module 'mbedtls.cipher.ARIA' from '/home/sjames/git/python-mbedtls/src/mbedtls/cipher/ARIA.py'>, 16, <Mode.CTR: 5>, 16)
randbytes = <function randbytes.<locals>.function at 0x7f5cea30e020>
def test_encrypt_nothing_raises(
self,
params: Tuple[CipherType, int, Mode, int],
randbytes: Callable[[int], bytes],
) -> None:
module, key_size, mode, iv_size = params
> cipher = module.new(randbytes(key_size), mode, randbytes(iv_size))
tests/test_cipher.py:255:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
src/mbedtls/cipher/ARIA.py:69: in new
return Cipher(name, key, mode_, iv)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> raise NotImplementedError("unsupported cipher: %r" % cipher_name)
E NotImplementedError: unsupported cipher: b'ARIA-128-CTR'
src/mbedtls/cipher/_cipher.pyx:78: NotImplementedError
____________________________________________ TestCipher.test_encrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=24, mode=Mode.CTR, iv_size=16] ____________________________________________
self = <test_cipher.TestCipher object at 0x7f5ceae98b90>, params = (<module 'mbedtls.cipher.ARIA' from '/home/sjames/git/python-mbedtls/src/mbedtls/cipher/ARIA.py'>, 24, <Mode.CTR: 5>, 16)
randbytes = <function randbytes.<locals>.function at 0x7f5cea30ec00>
def test_encrypt_nothing_raises(
self,
params: Tuple[CipherType, int, Mode, int],
randbytes: Callable[[int], bytes],
) -> None:
module, key_size, mode, iv_size = params
> cipher = module.new(randbytes(key_size), mode, randbytes(iv_size))
tests/test_cipher.py:255:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
src/mbedtls/cipher/ARIA.py:69: in new
return Cipher(name, key, mode_, iv)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> raise NotImplementedError("unsupported cipher: %r" % cipher_name)
E NotImplementedError: unsupported cipher: b'ARIA-192-CTR'
src/mbedtls/cipher/_cipher.pyx:78: NotImplementedError
____________________________________________ TestCipher.test_encrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=32, mode=Mode.CTR, iv_size=16] ____________________________________________
self = <test_cipher.TestCipher object at 0x7f5ceae98ed0>, params = (<module 'mbedtls.cipher.ARIA' from '/home/sjames/git/python-mbedtls/src/mbedtls/cipher/ARIA.py'>, 32, <Mode.CTR: 5>, 16)
randbytes = <function randbytes.<locals>.function at 0x7f5cea30e020>
def test_encrypt_nothing_raises(
self,
params: Tuple[CipherType, int, Mode, int],
randbytes: Callable[[int], bytes],
) -> None:
module, key_size, mode, iv_size = params
> cipher = module.new(randbytes(key_size), mode, randbytes(iv_size))
tests/test_cipher.py:255:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
src/mbedtls/cipher/ARIA.py:69: in new
return Cipher(name, key, mode_, iv)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> raise NotImplementedError("unsupported cipher: %r" % cipher_name)
E NotImplementedError: unsupported cipher: b'ARIA-256-CTR'
src/mbedtls/cipher/_cipher.pyx:78: NotImplementedError
____________________________________________ TestCipher.test_encrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=16, mode=Mode.GCM, iv_size=12] ____________________________________________
self = <test_cipher.TestCipher object at 0x7f5ceae99210>, params = (<module 'mbedtls.cipher.ARIA' from '/home/sjames/git/python-mbedtls/src/mbedtls/cipher/ARIA.py'>, 16, <Mode.GCM: 6>, 12)
randbytes = <function randbytes.<locals>.function at 0x7f5cea3a2ac0>
def test_encrypt_nothing_raises(
self,
params: Tuple[CipherType, int, Mode, int],
randbytes: Callable[[int], bytes],
) -> None:
module, key_size, mode, iv_size = params
> cipher = module.new(randbytes(key_size), mode, randbytes(iv_size))
tests/test_cipher.py:255:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
src/mbedtls/cipher/ARIA.py:69: in new
return Cipher(name, key, mode_, iv)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> raise NotImplementedError("unsupported cipher: %r" % cipher_name)
E NotImplementedError: unsupported cipher: b'ARIA-128-GCM'
src/mbedtls/cipher/_cipher.pyx:78: NotImplementedError
____________________________________________ TestCipher.test_encrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=24, mode=Mode.GCM, iv_size=12] ____________________________________________
self = <test_cipher.TestCipher object at 0x7f5ceae99550>, params = (<module 'mbedtls.cipher.ARIA' from '/home/sjames/git/python-mbedtls/src/mbedtls/cipher/ARIA.py'>, 24, <Mode.GCM: 6>, 12)
randbytes = <function randbytes.<locals>.function at 0x7f5cea3a1ee0>
def test_encrypt_nothing_raises(
self,
params: Tuple[CipherType, int, Mode, int],
randbytes: Callable[[int], bytes],
) -> None:
module, key_size, mode, iv_size = params
> cipher = module.new(randbytes(key_size), mode, randbytes(iv_size))
tests/test_cipher.py:255:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
src/mbedtls/cipher/ARIA.py:69: in new
return Cipher(name, key, mode_, iv)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> raise NotImplementedError("unsupported cipher: %r" % cipher_name)
E NotImplementedError: unsupported cipher: b'ARIA-192-GCM'
src/mbedtls/cipher/_cipher.pyx:78: NotImplementedError
____________________________________________ TestCipher.test_encrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=32, mode=Mode.GCM, iv_size=12] ____________________________________________
self = <test_cipher.TestCipher object at 0x7f5ceae99890>, params = (<module 'mbedtls.cipher.ARIA' from '/home/sjames/git/python-mbedtls/src/mbedtls/cipher/ARIA.py'>, 32, <Mode.GCM: 6>, 12)
randbytes = <function randbytes.<locals>.function at 0x7f5cea3a2ac0>
def test_encrypt_nothing_raises(
self,
params: Tuple[CipherType, int, Mode, int],
randbytes: Callable[[int], bytes],
) -> None:
module, key_size, mode, iv_size = params
> cipher = module.new(randbytes(key_size), mode, randbytes(iv_size))
tests/test_cipher.py:255:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
src/mbedtls/cipher/ARIA.py:69: in new
return Cipher(name, key, mode_, iv)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> raise NotImplementedError("unsupported cipher: %r" % cipher_name)
E NotImplementedError: unsupported cipher: b'ARIA-256-GCM'
src/mbedtls/cipher/_cipher.pyx:78: NotImplementedError
____________________________________________ TestCipher.test_decrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=16, mode=Mode.ECB, iv_size=0] _____________________________________________
self = <test_cipher.TestCipher object at 0x7f5ceae0c3d0>, params = (<module 'mbedtls.cipher.ARIA' from '/home/sjames/git/python-mbedtls/src/mbedtls/cipher/ARIA.py'>, 16, <Mode.ECB: 1>, 0)
randbytes = <function randbytes.<locals>.function at 0x7f5cea361760>
def test_decrypt_nothing_raises(
self,
params: Tuple[CipherType, int, Mode, int],
randbytes: Callable[[int], bytes],
) -> None:
module, key_size, mode, iv_size = params
> cipher = module.new(randbytes(key_size), mode, randbytes(iv_size))
tests/test_cipher.py:265:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
src/mbedtls/cipher/ARIA.py:69: in new
return Cipher(name, key, mode_, iv)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> raise NotImplementedError("unsupported cipher: %r" % cipher_name)
E NotImplementedError: unsupported cipher: b'ARIA-128-ECB'
src/mbedtls/cipher/_cipher.pyx:78: NotImplementedError
____________________________________________ TestCipher.test_decrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=24, mode=Mode.ECB, iv_size=0] _____________________________________________
self = <test_cipher.TestCipher object at 0x7f5ceae0c710>, params = (<module 'mbedtls.cipher.ARIA' from '/home/sjames/git/python-mbedtls/src/mbedtls/cipher/ARIA.py'>, 24, <Mode.ECB: 1>, 0)
randbytes = <function randbytes.<locals>.function at 0x7f5cea361940>
def test_decrypt_nothing_raises(
self,
params: Tuple[CipherType, int, Mode, int],
randbytes: Callable[[int], bytes],
) -> None:
module, key_size, mode, iv_size = params
> cipher = module.new(randbytes(key_size), mode, randbytes(iv_size))
tests/test_cipher.py:265:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
src/mbedtls/cipher/ARIA.py:69: in new
return Cipher(name, key, mode_, iv)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> raise NotImplementedError("unsupported cipher: %r" % cipher_name)
E NotImplementedError: unsupported cipher: b'ARIA-192-ECB'
src/mbedtls/cipher/_cipher.pyx:78: NotImplementedError
____________________________________________ TestCipher.test_decrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=32, mode=Mode.ECB, iv_size=0] _____________________________________________
self = <test_cipher.TestCipher object at 0x7f5ceae0ca50>, params = (<module 'mbedtls.cipher.ARIA' from '/home/sjames/git/python-mbedtls/src/mbedtls/cipher/ARIA.py'>, 32, <Mode.ECB: 1>, 0)
randbytes = <function randbytes.<locals>.function at 0x7f5cea361b20>
def test_decrypt_nothing_raises(
self,
params: Tuple[CipherType, int, Mode, int],
randbytes: Callable[[int], bytes],
) -> None:
module, key_size, mode, iv_size = params
> cipher = module.new(randbytes(key_size), mode, randbytes(iv_size))
tests/test_cipher.py:265:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
src/mbedtls/cipher/ARIA.py:69: in new
return Cipher(name, key, mode_, iv)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> raise NotImplementedError("unsupported cipher: %r" % cipher_name)
E NotImplementedError: unsupported cipher: b'ARIA-256-ECB'
src/mbedtls/cipher/_cipher.pyx:78: NotImplementedError
____________________________________________ TestCipher.test_decrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=16, mode=Mode.CBC, iv_size=16] ____________________________________________
self = <test_cipher.TestCipher object at 0x7f5ceae0cd90>, params = (<module 'mbedtls.cipher.ARIA' from '/home/sjames/git/python-mbedtls/src/mbedtls/cipher/ARIA.py'>, 16, <Mode.CBC: 2>, 16)
randbytes = <function randbytes.<locals>.function at 0x7f5cea361e40>
def test_decrypt_nothing_raises(
self,
params: Tuple[CipherType, int, Mode, int],
randbytes: Callable[[int], bytes],
) -> None:
module, key_size, mode, iv_size = params
> cipher = module.new(randbytes(key_size), mode, randbytes(iv_size))
tests/test_cipher.py:265:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
src/mbedtls/cipher/ARIA.py:69: in new
return Cipher(name, key, mode_, iv)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> raise NotImplementedError("unsupported cipher: %r" % cipher_name)
E NotImplementedError: unsupported cipher: b'ARIA-128-CBC'
src/mbedtls/cipher/_cipher.pyx:78: NotImplementedError
____________________________________________ TestCipher.test_decrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=24, mode=Mode.CBC, iv_size=16] ____________________________________________
self = <test_cipher.TestCipher object at 0x7f5ceae0d0d0>, params = (<module 'mbedtls.cipher.ARIA' from '/home/sjames/git/python-mbedtls/src/mbedtls/cipher/ARIA.py'>, 24, <Mode.CBC: 2>, 16)
randbytes = <function randbytes.<locals>.function at 0x7f5cea361b20>
def test_decrypt_nothing_raises(
self,
params: Tuple[CipherType, int, Mode, int],
randbytes: Callable[[int], bytes],
) -> None:
module, key_size, mode, iv_size = params
> cipher = module.new(randbytes(key_size), mode, randbytes(iv_size))
tests/test_cipher.py:265:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
src/mbedtls/cipher/ARIA.py:69: in new
return Cipher(name, key, mode_, iv)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> raise NotImplementedError("unsupported cipher: %r" % cipher_name)
E NotImplementedError: unsupported cipher: b'ARIA-192-CBC'
src/mbedtls/cipher/_cipher.pyx:78: NotImplementedError
____________________________________________ TestCipher.test_decrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=32, mode=Mode.CBC, iv_size=16] ____________________________________________
self = <test_cipher.TestCipher object at 0x7f5ceae0d410>, params = (<module 'mbedtls.cipher.ARIA' from '/home/sjames/git/python-mbedtls/src/mbedtls/cipher/ARIA.py'>, 32, <Mode.CBC: 2>, 16)
randbytes = <function randbytes.<locals>.function at 0x7f5cea3622a0>
def test_decrypt_nothing_raises(
self,
params: Tuple[CipherType, int, Mode, int],
randbytes: Callable[[int], bytes],
) -> None:
module, key_size, mode, iv_size = params
> cipher = module.new(randbytes(key_size), mode, randbytes(iv_size))
tests/test_cipher.py:265:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
src/mbedtls/cipher/ARIA.py:69: in new
return Cipher(name, key, mode_, iv)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> raise NotImplementedError("unsupported cipher: %r" % cipher_name)
E NotImplementedError: unsupported cipher: b'ARIA-256-CBC'
src/mbedtls/cipher/_cipher.pyx:78: NotImplementedError
____________________________________________ TestCipher.test_decrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=16, mode=Mode.CTR, iv_size=16] ____________________________________________
self = <test_cipher.TestCipher object at 0x7f5ceae0d750>, params = (<module 'mbedtls.cipher.ARIA' from '/home/sjames/git/python-mbedtls/src/mbedtls/cipher/ARIA.py'>, 16, <Mode.CTR: 5>, 16)
randbytes = <function randbytes.<locals>.function at 0x7f5cea361b20>
def test_decrypt_nothing_raises(
self,
params: Tuple[CipherType, int, Mode, int],
randbytes: Callable[[int], bytes],
) -> None:
module, key_size, mode, iv_size = params
> cipher = module.new(randbytes(key_size), mode, randbytes(iv_size))
tests/test_cipher.py:265:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
src/mbedtls/cipher/ARIA.py:69: in new
return Cipher(name, key, mode_, iv)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> raise NotImplementedError("unsupported cipher: %r" % cipher_name)
E NotImplementedError: unsupported cipher: b'ARIA-128-CTR'
src/mbedtls/cipher/_cipher.pyx:78: NotImplementedError
____________________________________________ TestCipher.test_decrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=24, mode=Mode.CTR, iv_size=16] ____________________________________________
self = <test_cipher.TestCipher object at 0x7f5ceae0da90>, params = (<module 'mbedtls.cipher.ARIA' from '/home/sjames/git/python-mbedtls/src/mbedtls/cipher/ARIA.py'>, 24, <Mode.CTR: 5>, 16)
randbytes = <function randbytes.<locals>.function at 0x7f5cea362700>
def test_decrypt_nothing_raises(
self,
params: Tuple[CipherType, int, Mode, int],
randbytes: Callable[[int], bytes],
) -> None:
module, key_size, mode, iv_size = params
> cipher = module.new(randbytes(key_size), mode, randbytes(iv_size))
tests/test_cipher.py:265:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
src/mbedtls/cipher/ARIA.py:69: in new
return Cipher(name, key, mode_, iv)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> raise NotImplementedError("unsupported cipher: %r" % cipher_name)
E NotImplementedError: unsupported cipher: b'ARIA-192-CTR'
src/mbedtls/cipher/_cipher.pyx:78: NotImplementedError
____________________________________________ TestCipher.test_decrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=32, mode=Mode.CTR, iv_size=16] ____________________________________________
self = <test_cipher.TestCipher object at 0x7f5ceae0ddd0>, params = (<module 'mbedtls.cipher.ARIA' from '/home/sjames/git/python-mbedtls/src/mbedtls/cipher/ARIA.py'>, 32, <Mode.CTR: 5>, 16)
randbytes = <function randbytes.<locals>.function at 0x7f5cea361b20>
def test_decrypt_nothing_raises(
self,
params: Tuple[CipherType, int, Mode, int],
randbytes: Callable[[int], bytes],
) -> None:
module, key_size, mode, iv_size = params
> cipher = module.new(randbytes(key_size), mode, randbytes(iv_size))
tests/test_cipher.py:265:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
src/mbedtls/cipher/ARIA.py:69: in new
return Cipher(name, key, mode_, iv)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> raise NotImplementedError("unsupported cipher: %r" % cipher_name)
E NotImplementedError: unsupported cipher: b'ARIA-256-CTR'
src/mbedtls/cipher/_cipher.pyx:78: NotImplementedError
____________________________________________ TestCipher.test_decrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=16, mode=Mode.GCM, iv_size=12] ____________________________________________
self = <test_cipher.TestCipher object at 0x7f5ceae0e110>, params = (<module 'mbedtls.cipher.ARIA' from '/home/sjames/git/python-mbedtls/src/mbedtls/cipher/ARIA.py'>, 16, <Mode.GCM: 6>, 12)
randbytes = <function randbytes.<locals>.function at 0x7f5cea362b60>
def test_decrypt_nothing_raises(
self,
params: Tuple[CipherType, int, Mode, int],
randbytes: Callable[[int], bytes],
) -> None:
module, key_size, mode, iv_size = params
> cipher = module.new(randbytes(key_size), mode, randbytes(iv_size))
tests/test_cipher.py:265:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
src/mbedtls/cipher/ARIA.py:69: in new
return Cipher(name, key, mode_, iv)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> raise NotImplementedError("unsupported cipher: %r" % cipher_name)
E NotImplementedError: unsupported cipher: b'ARIA-128-GCM'
src/mbedtls/cipher/_cipher.pyx:78: NotImplementedError
____________________________________________ TestCipher.test_decrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=24, mode=Mode.GCM, iv_size=12] ____________________________________________
self = <test_cipher.TestCipher object at 0x7f5ceae0e450>, params = (<module 'mbedtls.cipher.ARIA' from '/home/sjames/git/python-mbedtls/src/mbedtls/cipher/ARIA.py'>, 24, <Mode.GCM: 6>, 12)
randbytes = <function randbytes.<locals>.function at 0x7f5cea361b20>
def test_decrypt_nothing_raises(
self,
params: Tuple[CipherType, int, Mode, int],
randbytes: Callable[[int], bytes],
) -> None:
module, key_size, mode, iv_size = params
> cipher = module.new(randbytes(key_size), mode, randbytes(iv_size))
tests/test_cipher.py:265:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
src/mbedtls/cipher/ARIA.py:69: in new
return Cipher(name, key, mode_, iv)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> raise NotImplementedError("unsupported cipher: %r" % cipher_name)
E NotImplementedError: unsupported cipher: b'ARIA-192-GCM'
src/mbedtls/cipher/_cipher.pyx:78: NotImplementedError
____________________________________________ TestCipher.test_decrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=32, mode=Mode.GCM, iv_size=12] ____________________________________________
self = <test_cipher.TestCipher object at 0x7f5ceae0e790>, params = (<module 'mbedtls.cipher.ARIA' from '/home/sjames/git/python-mbedtls/src/mbedtls/cipher/ARIA.py'>, 32, <Mode.GCM: 6>, 12)
randbytes = <function randbytes.<locals>.function at 0x7f5cea362fc0>
def test_decrypt_nothing_raises(
self,
params: Tuple[CipherType, int, Mode, int],
randbytes: Callable[[int], bytes],
) -> None:
module, key_size, mode, iv_size = params
> cipher = module.new(randbytes(key_size), mode, randbytes(iv_size))
tests/test_cipher.py:265:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
src/mbedtls/cipher/ARIA.py:69: in new
return Cipher(name, key, mode_, iv)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> raise NotImplementedError("unsupported cipher: %r" % cipher_name)
E NotImplementedError: unsupported cipher: b'ARIA-256-GCM'
src/mbedtls/cipher/_cipher.pyx:78: NotImplementedError
_____________________________________________________________ TestGenericCipher.test_cbc_requires_padding[mbedtls.cipher.ARIA] ______________________________________________________________
self = <test_cipher.TestGenericCipher object at 0x7f5cead43c50>, module = <module 'mbedtls.cipher.ARIA' from '/home/sjames/git/python-mbedtls/src/mbedtls/cipher/ARIA.py'>
randbytes = <function randbytes.<locals>.function at 0x7f5cea4a79c0>
def test_cbc_requires_padding(
self, module: CipherType, randbytes: Callable[[int], bytes]
) -> None:
mode = Mode.CBC
if mode not in SUPPORTED_MODES[module]:
return pytest.skip( # type: ignore[return-value]
f"unsupported mode for {module!r}: {mode!s}"
)
sizes = SUPPORTED_SIZES[module][mode]
for key_size in sizes.key_size:
> cipher = module.new(
randbytes(key_size), mode, iv=randbytes(sizes.iv_size)
)
tests/test_cipher.py:445:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
src/mbedtls/cipher/ARIA.py:69: in new
return Cipher(name, key, mode_, iv)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> raise NotImplementedError("unsupported cipher: %r" % cipher_name)
E NotImplementedError: unsupported cipher: b'ARIA-128-CBC'
src/mbedtls/cipher/_cipher.pyx:78: NotImplementedError
================================================================================== short test summary info ==================================================================================
FAILED tests/test_cipher.py::TestCipher::test_pickle[mbedtls.cipher.ARIA, key_size=16, mode=Mode.ECB, iv_size=0] - NotImplementedError: unsupported cipher: b'ARIA-128-ECB'
FAILED tests/test_cipher.py::TestCipher::test_pickle[mbedtls.cipher.ARIA, key_size=24, mode=Mode.ECB, iv_size=0] - NotImplementedError: unsupported cipher: b'ARIA-192-ECB'
FAILED tests/test_cipher.py::TestCipher::test_pickle[mbedtls.cipher.ARIA, key_size=32, mode=Mode.ECB, iv_size=0] - NotImplementedError: unsupported cipher: b'ARIA-256-ECB'
FAILED tests/test_cipher.py::TestCipher::test_pickle[mbedtls.cipher.ARIA, key_size=16, mode=Mode.CBC, iv_size=16] - NotImplementedError: unsupported cipher: b'ARIA-128-CBC'
FAILED tests/test_cipher.py::TestCipher::test_pickle[mbedtls.cipher.ARIA, key_size=24, mode=Mode.CBC, iv_size=16] - NotImplementedError: unsupported cipher: b'ARIA-192-CBC'
FAILED tests/test_cipher.py::TestCipher::test_pickle[mbedtls.cipher.ARIA, key_size=32, mode=Mode.CBC, iv_size=16] - NotImplementedError: unsupported cipher: b'ARIA-256-CBC'
FAILED tests/test_cipher.py::TestCipher::test_pickle[mbedtls.cipher.ARIA, key_size=16, mode=Mode.CTR, iv_size=16] - NotImplementedError: unsupported cipher: b'ARIA-128-CTR'
FAILED tests/test_cipher.py::TestCipher::test_pickle[mbedtls.cipher.ARIA, key_size=24, mode=Mode.CTR, iv_size=16] - NotImplementedError: unsupported cipher: b'ARIA-192-CTR'
FAILED tests/test_cipher.py::TestCipher::test_pickle[mbedtls.cipher.ARIA, key_size=32, mode=Mode.CTR, iv_size=16] - NotImplementedError: unsupported cipher: b'ARIA-256-CTR'
FAILED tests/test_cipher.py::TestCipher::test_pickle[mbedtls.cipher.ARIA, key_size=16, mode=Mode.GCM, iv_size=12] - NotImplementedError: unsupported cipher: b'ARIA-128-GCM'
FAILED tests/test_cipher.py::TestCipher::test_pickle[mbedtls.cipher.ARIA, key_size=24, mode=Mode.GCM, iv_size=12] - NotImplementedError: unsupported cipher: b'ARIA-192-GCM'
FAILED tests/test_cipher.py::TestCipher::test_pickle[mbedtls.cipher.ARIA, key_size=32, mode=Mode.GCM, iv_size=12] - NotImplementedError: unsupported cipher: b'ARIA-256-GCM'
FAILED tests/test_cipher.py::TestCipher::test_accessors[mbedtls.cipher.ARIA, key_size=16, mode=Mode.ECB, iv_size=0] - NotImplementedError: unsupported cipher: b'ARIA-128-ECB'
FAILED tests/test_cipher.py::TestCipher::test_accessors[mbedtls.cipher.ARIA, key_size=24, mode=Mode.ECB, iv_size=0] - NotImplementedError: unsupported cipher: b'ARIA-192-ECB'
FAILED tests/test_cipher.py::TestCipher::test_accessors[mbedtls.cipher.ARIA, key_size=32, mode=Mode.ECB, iv_size=0] - NotImplementedError: unsupported cipher: b'ARIA-256-ECB'
FAILED tests/test_cipher.py::TestCipher::test_accessors[mbedtls.cipher.ARIA, key_size=16, mode=Mode.CBC, iv_size=16] - NotImplementedError: unsupported cipher: b'ARIA-128-CBC'
FAILED tests/test_cipher.py::TestCipher::test_accessors[mbedtls.cipher.ARIA, key_size=24, mode=Mode.CBC, iv_size=16] - NotImplementedError: unsupported cipher: b'ARIA-192-CBC'
FAILED tests/test_cipher.py::TestCipher::test_accessors[mbedtls.cipher.ARIA, key_size=32, mode=Mode.CBC, iv_size=16] - NotImplementedError: unsupported cipher: b'ARIA-256-CBC'
FAILED tests/test_cipher.py::TestCipher::test_accessors[mbedtls.cipher.ARIA, key_size=16, mode=Mode.CTR, iv_size=16] - NotImplementedError: unsupported cipher: b'ARIA-128-CTR'
FAILED tests/test_cipher.py::TestCipher::test_accessors[mbedtls.cipher.ARIA, key_size=24, mode=Mode.CTR, iv_size=16] - NotImplementedError: unsupported cipher: b'ARIA-192-CTR'
FAILED tests/test_cipher.py::TestCipher::test_accessors[mbedtls.cipher.ARIA, key_size=32, mode=Mode.CTR, iv_size=16] - NotImplementedError: unsupported cipher: b'ARIA-256-CTR'
FAILED tests/test_cipher.py::TestCipher::test_accessors[mbedtls.cipher.ARIA, key_size=16, mode=Mode.GCM, iv_size=12] - NotImplementedError: unsupported cipher: b'ARIA-128-GCM'
FAILED tests/test_cipher.py::TestCipher::test_accessors[mbedtls.cipher.ARIA, key_size=24, mode=Mode.GCM, iv_size=12] - NotImplementedError: unsupported cipher: b'ARIA-192-GCM'
FAILED tests/test_cipher.py::TestCipher::test_accessors[mbedtls.cipher.ARIA, key_size=32, mode=Mode.GCM, iv_size=12] - NotImplementedError: unsupported cipher: b'ARIA-256-GCM'
FAILED tests/test_cipher.py::TestCipher::test_cipher_name[mbedtls.cipher.ARIA, key_size=16, mode=Mode.ECB, iv_size=0] - NotImplementedError: unsupported cipher: b'ARIA-128-ECB'
FAILED tests/test_cipher.py::TestCipher::test_cipher_name[mbedtls.cipher.ARIA, key_size=24, mode=Mode.ECB, iv_size=0] - NotImplementedError: unsupported cipher: b'ARIA-192-ECB'
FAILED tests/test_cipher.py::TestCipher::test_cipher_name[mbedtls.cipher.ARIA, key_size=32, mode=Mode.ECB, iv_size=0] - NotImplementedError: unsupported cipher: b'ARIA-256-ECB'
FAILED tests/test_cipher.py::TestCipher::test_cipher_name[mbedtls.cipher.ARIA, key_size=16, mode=Mode.CBC, iv_size=16] - NotImplementedError: unsupported cipher: b'ARIA-128-CBC'
FAILED tests/test_cipher.py::TestCipher::test_cipher_name[mbedtls.cipher.ARIA, key_size=24, mode=Mode.CBC, iv_size=16] - NotImplementedError: unsupported cipher: b'ARIA-192-CBC'
FAILED tests/test_cipher.py::TestCipher::test_cipher_name[mbedtls.cipher.ARIA, key_size=32, mode=Mode.CBC, iv_size=16] - NotImplementedError: unsupported cipher: b'ARIA-256-CBC'
FAILED tests/test_cipher.py::TestCipher::test_cipher_name[mbedtls.cipher.ARIA, key_size=16, mode=Mode.CTR, iv_size=16] - NotImplementedError: unsupported cipher: b'ARIA-128-CTR'
FAILED tests/test_cipher.py::TestCipher::test_cipher_name[mbedtls.cipher.ARIA, key_size=24, mode=Mode.CTR, iv_size=16] - NotImplementedError: unsupported cipher: b'ARIA-192-CTR'
FAILED tests/test_cipher.py::TestCipher::test_cipher_name[mbedtls.cipher.ARIA, key_size=32, mode=Mode.CTR, iv_size=16] - NotImplementedError: unsupported cipher: b'ARIA-256-CTR'
FAILED tests/test_cipher.py::TestCipher::test_cipher_name[mbedtls.cipher.ARIA, key_size=16, mode=Mode.GCM, iv_size=12] - NotImplementedError: unsupported cipher: b'ARIA-128-GCM'
FAILED tests/test_cipher.py::TestCipher::test_cipher_name[mbedtls.cipher.ARIA, key_size=24, mode=Mode.GCM, iv_size=12] - NotImplementedError: unsupported cipher: b'ARIA-192-GCM'
FAILED tests/test_cipher.py::TestCipher::test_cipher_name[mbedtls.cipher.ARIA, key_size=32, mode=Mode.GCM, iv_size=12] - NotImplementedError: unsupported cipher: b'ARIA-256-GCM'
FAILED tests/test_cipher.py::TestCipher::test_encrypt_decrypt[mbedtls.cipher.ARIA, key_size=16, mode=Mode.ECB, iv_size=0] - NotImplementedError: unsupported cipher: b'ARIA-128-ECB'
FAILED tests/test_cipher.py::TestCipher::test_encrypt_decrypt[mbedtls.cipher.ARIA, key_size=24, mode=Mode.ECB, iv_size=0] - NotImplementedError: unsupported cipher: b'ARIA-192-ECB'
FAILED tests/test_cipher.py::TestCipher::test_encrypt_decrypt[mbedtls.cipher.ARIA, key_size=32, mode=Mode.ECB, iv_size=0] - NotImplementedError: unsupported cipher: b'ARIA-256-ECB'
FAILED tests/test_cipher.py::TestCipher::test_encrypt_decrypt[mbedtls.cipher.ARIA, key_size=16, mode=Mode.CBC, iv_size=16] - NotImplementedError: unsupported cipher: b'ARIA-128-CBC'
FAILED tests/test_cipher.py::TestCipher::test_encrypt_decrypt[mbedtls.cipher.ARIA, key_size=24, mode=Mode.CBC, iv_size=16] - NotImplementedError: unsupported cipher: b'ARIA-192-CBC'
FAILED tests/test_cipher.py::TestCipher::test_encrypt_decrypt[mbedtls.cipher.ARIA, key_size=32, mode=Mode.CBC, iv_size=16] - NotImplementedError: unsupported cipher: b'ARIA-256-CBC'
FAILED tests/test_cipher.py::TestCipher::test_encrypt_decrypt[mbedtls.cipher.ARIA, key_size=16, mode=Mode.CTR, iv_size=16] - NotImplementedError: unsupported cipher: b'ARIA-128-CTR'
FAILED tests/test_cipher.py::TestCipher::test_encrypt_decrypt[mbedtls.cipher.ARIA, key_size=24, mode=Mode.CTR, iv_size=16] - NotImplementedError: unsupported cipher: b'ARIA-192-CTR'
FAILED tests/test_cipher.py::TestCipher::test_encrypt_decrypt[mbedtls.cipher.ARIA, key_size=32, mode=Mode.CTR, iv_size=16] - NotImplementedError: unsupported cipher: b'ARIA-256-CTR'
FAILED tests/test_cipher.py::TestCipher::test_encrypt_decrypt[mbedtls.cipher.ARIA, key_size=16, mode=Mode.GCM, iv_size=12] - NotImplementedError: unsupported cipher: b'ARIA-128-GCM'
FAILED tests/test_cipher.py::TestCipher::test_encrypt_decrypt[mbedtls.cipher.ARIA, key_size=24, mode=Mode.GCM, iv_size=12] - NotImplementedError: unsupported cipher: b'ARIA-192-GCM'
FAILED tests/test_cipher.py::TestCipher::test_encrypt_decrypt[mbedtls.cipher.ARIA, key_size=32, mode=Mode.GCM, iv_size=12] - NotImplementedError: unsupported cipher: b'ARIA-256-GCM'
FAILED tests/test_cipher.py::TestCipher::test_encrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=16, mode=Mode.ECB, iv_size=0] - NotImplementedError: unsupported cipher: b'ARIA-128-ECB'
FAILED tests/test_cipher.py::TestCipher::test_encrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=24, mode=Mode.ECB, iv_size=0] - NotImplementedError: unsupported cipher: b'ARIA-192-ECB'
FAILED tests/test_cipher.py::TestCipher::test_encrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=32, mode=Mode.ECB, iv_size=0] - NotImplementedError: unsupported cipher: b'ARIA-256-ECB'
FAILED tests/test_cipher.py::TestCipher::test_encrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=16, mode=Mode.CBC, iv_size=16] - NotImplementedError: unsupported cipher: b'ARIA-128-CBC'
FAILED tests/test_cipher.py::TestCipher::test_encrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=24, mode=Mode.CBC, iv_size=16] - NotImplementedError: unsupported cipher: b'ARIA-192-CBC'
FAILED tests/test_cipher.py::TestCipher::test_encrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=32, mode=Mode.CBC, iv_size=16] - NotImplementedError: unsupported cipher: b'ARIA-256-CBC'
FAILED tests/test_cipher.py::TestCipher::test_encrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=16, mode=Mode.CTR, iv_size=16] - NotImplementedError: unsupported cipher: b'ARIA-128-CTR'
FAILED tests/test_cipher.py::TestCipher::test_encrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=24, mode=Mode.CTR, iv_size=16] - NotImplementedError: unsupported cipher: b'ARIA-192-CTR'
FAILED tests/test_cipher.py::TestCipher::test_encrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=32, mode=Mode.CTR, iv_size=16] - NotImplementedError: unsupported cipher: b'ARIA-256-CTR'
FAILED tests/test_cipher.py::TestCipher::test_encrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=16, mode=Mode.GCM, iv_size=12] - NotImplementedError: unsupported cipher: b'ARIA-128-GCM'
FAILED tests/test_cipher.py::TestCipher::test_encrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=24, mode=Mode.GCM, iv_size=12] - NotImplementedError: unsupported cipher: b'ARIA-192-GCM'
FAILED tests/test_cipher.py::TestCipher::test_encrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=32, mode=Mode.GCM, iv_size=12] - NotImplementedError: unsupported cipher: b'ARIA-256-GCM'
FAILED tests/test_cipher.py::TestCipher::test_decrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=16, mode=Mode.ECB, iv_size=0] - NotImplementedError: unsupported cipher: b'ARIA-128-ECB'
FAILED tests/test_cipher.py::TestCipher::test_decrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=24, mode=Mode.ECB, iv_size=0] - NotImplementedError: unsupported cipher: b'ARIA-192-ECB'
FAILED tests/test_cipher.py::TestCipher::test_decrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=32, mode=Mode.ECB, iv_size=0] - NotImplementedError: unsupported cipher: b'ARIA-256-ECB'
FAILED tests/test_cipher.py::TestCipher::test_decrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=16, mode=Mode.CBC, iv_size=16] - NotImplementedError: unsupported cipher: b'ARIA-128-CBC'
FAILED tests/test_cipher.py::TestCipher::test_decrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=24, mode=Mode.CBC, iv_size=16] - NotImplementedError: unsupported cipher: b'ARIA-192-CBC'
FAILED tests/test_cipher.py::TestCipher::test_decrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=32, mode=Mode.CBC, iv_size=16] - NotImplementedError: unsupported cipher: b'ARIA-256-CBC'
FAILED tests/test_cipher.py::TestCipher::test_decrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=16, mode=Mode.CTR, iv_size=16] - NotImplementedError: unsupported cipher: b'ARIA-128-CTR'
FAILED tests/test_cipher.py::TestCipher::test_decrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=24, mode=Mode.CTR, iv_size=16] - NotImplementedError: unsupported cipher: b'ARIA-192-CTR'
FAILED tests/test_cipher.py::TestCipher::test_decrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=32, mode=Mode.CTR, iv_size=16] - NotImplementedError: unsupported cipher: b'ARIA-256-CTR'
FAILED tests/test_cipher.py::TestCipher::test_decrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=16, mode=Mode.GCM, iv_size=12] - NotImplementedError: unsupported cipher: b'ARIA-128-GCM'
FAILED tests/test_cipher.py::TestCipher::test_decrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=24, mode=Mode.GCM, iv_size=12] - NotImplementedError: unsupported cipher: b'ARIA-192-GCM'
FAILED tests/test_cipher.py::TestCipher::test_decrypt_nothing_raises[mbedtls.cipher.ARIA, key_size=32, mode=Mode.GCM, iv_size=12] - NotImplementedError: unsupported cipher: b'ARIA-256-GCM'
FAILED tests/test_cipher.py::TestGenericCipher::test_cbc_requires_padding[mbedtls.cipher.ARIA] - NotImplementedError: unsupported cipher: b'ARIA-128-CBC'
================================================================== 73 failed, 2575 passed, 101 skipped, 7 xfailed in 8.20s ==================================================================
Tests fail unexpectedly.
Tests which need ARIA should be skipped if support is unavailable.
I'm using mbedtls-2.28.1 installed from the Gentoo packaging for it. We've not had any problems like this before so I don't think our configuration is too odd, but I've discovered today that mbedtls is wildly configurable!