# Path: pgp/cipher/camellia.py
# class _CamelliaObj(_InternalObj):
# class CamelliaCipher(blockalgo.BlockAlgo):
#     def _create_impl(cls, key):
#     def __init__(self, key, *args, **kwargs):
# def new(key, *args, **kwargs):
# MODE_ECB = 1
# MODE_CBC = 2
# MODE_CFB = 3
# MODE_PGP = 4
# MODE_OFB = 5
# MODE_CTR = 6
# MODE_OPENPGP = 7
# MODE_EAX = 9


import unittest
import warnings
from pgp.cipher import camellia
    from Crypto.SelfTest.Cipher.common import make_block_tests

    # OFB-CAMELLIA256.Encrypt
    ('6bc1bee22e409f96e93d7e117393172a', 'cf6107bb0cea7d7fb1bd31f5e7b06c93',
     '603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4',
     'OFB-CAMELLIA256 1',
     dict(mode='OFB', iv='000102030405060708090a0b0c0d0e0f')
     ),

    ('ae2d8a571e03ac9c9eb76fac45af8e51', '127ad97e8e3994e4820027d7ba109368',
     '603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4',
     'OFB-CAMELLIA256 2',
     dict(mode='OFB', iv='b7bf3a5df43989dd97f0fa97ebce2f4a')
     ),

    ('30c81c46a35ce411e5fbc1191a0a52ef', '6bff6265a6a6b7a535bc65a80b17214e',
     '603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4',
     'OFB-CAMELLIA256 3',
     dict(mode='OFB', iv='e1c656305ed1a7a6563805746fe03edc')
     ),

    ('f69f2445df4f9b17ad2b417be66c3710', '0a4a0404e26aa78a27cb271e8bf3cf20',
     '603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4',
     'OFB-CAMELLIA256 4',
     dict(mode='OFB', iv='41635be625b48afc1666dd42a09d96e7')
     ),
]


def test_camellia():


# Path: pgp/cipher/camellia.py
# class _CamelliaObj(_InternalObj):
# class CamelliaCipher(blockalgo.BlockAlgo):
#     def _create_impl(cls, key):
#     def __init__(self, key, *args, **kwargs):
# def new(key, *args, **kwargs):
# MODE_ECB = 1
# MODE_CBC = 2
# MODE_CFB = 3
# MODE_PGP = 4
# MODE_OFB = 5
# MODE_CTR = 6
# MODE_OPENPGP = 7
# MODE_EAX = 9


# Path: pgp/cipher/tests/test_camellia.py
import unittest
import warnings
from pgp.cipher import camellia
    from Crypto.SelfTest.Cipher.common import make_block_tests


    # OFB-CAMELLIA256.Encrypt
    ('6bc1bee22e409f96e93d7e117393172a', 'cf6107bb0cea7d7fb1bd31f5e7b06c93',
     '603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4',
     'OFB-CAMELLIA256 1',
     dict(mode='OFB', iv='000102030405060708090a0b0c0d0e0f')
     ),

    ('ae2d8a571e03ac9c9eb76fac45af8e51', '127ad97e8e3994e4820027d7ba109368',
     '603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4',
     'OFB-CAMELLIA256 2',
     dict(mode='OFB', iv='b7bf3a5df43989dd97f0fa97ebce2f4a')
     ),

    ('30c81c46a35ce411e5fbc1191a0a52ef', '6bff6265a6a6b7a535bc65a80b17214e',
     '603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4',
     'OFB-CAMELLIA256 3',
     dict(mode='OFB', iv='e1c656305ed1a7a6563805746fe03edc')
     ),

    ('f69f2445df4f9b17ad2b417be66c3710', '0a4a0404e26aa78a27cb271e8bf3cf20',
     '603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4',
     'OFB-CAMELLIA256 4',
     dict(mode='OFB', iv='41635be625b48afc1666dd42a09d96e7')
     ),
]


def test_camellia():


    if camellia is None: