def get_tests(config={}):
    from common import make_block_tests

    tests = []
    tests = make_block_tests(DES3, "DES3", test_data)
    tests.append(DegenerateToDESTest())
    tests += list_test_cases(CheckParity)
    return tests
Exemple #2
0
def get_tests(config={}):
    from Crypto.Cipher import ARC2
    from common import make_block_tests

    tests = make_block_tests(ARC2, "ARC2", test_data)
    tests.append(BufferOverflowTest())

    return tests
def get_tests(config={}):
    from common import make_block_tests

    tests = []
    tests = make_block_tests(DES3, "DES3", test_data)
    tests.append(DegenerateToDESTest())
    tests += list_test_cases(CheckParity)
    return tests
Exemple #4
0
def get_tests(config={}):
    from Crypto.Cipher import DES3
    from common import make_block_tests

    return make_block_tests(DES3, "DES3", test_data)
def get_tests():
    from CryptoPlus.Cipher import DES3
    from common import make_block_tests
    return make_block_tests(DES3, "DES3", test_data)
Exemple #6
0
def get_tests():
    from CryptoPlus.Cipher import CAST
    from common import make_block_tests
    return make_block_tests(CAST, "CAST", test_data)
Exemple #7
0
def get_tests(config={}):
    from Crypto.Cipher import DES
    from common import make_block_tests

    return make_block_tests(DES, "DES", test_data) + [RonRivestTest()]
Exemple #8
0
def get_tests(config={}):
    from Crypto.Cipher import DES
    from common import make_block_tests
    return make_block_tests(DES, "DES", test_data) + [RonRivestTest()]
Exemple #9
0
def get_tests():
    from CryptoPlus.Cipher import DES
    from common import make_block_tests
    return make_block_tests(DES, "DES", test_data)
Exemple #10
0
def get_tests(config={}):
    from Crypto.Cipher import CAST
    from common import make_block_tests

    return make_block_tests(CAST, "CAST", test_data)
Exemple #11
0
def get_tests(config={}):
    from common import make_block_tests
    tests = make_block_tests(Blowfish, "Blowfish", test_data)
    tests.append(KeyLength())
    return tests
Exemple #12
0
def get_tests(config={}):
    from Crypto.Cipher import AIDEA
    from common import make_block_tests

    tests = make_block_tests(AIDEA, "AIDEA", test_data)
    return tests
Exemple #13
0
def get_tests():
    from CryptoPlus.Cipher import IDEA
    from common import make_block_tests
    return make_block_tests(IDEA, "IDEA", test_data)
def get_tests():
    from CryptoPlus.Cipher import python_AES
    from common import make_block_tests
    return make_block_tests(python_AES, "python_AES", test_data)
def get_tests():
    from CryptoPlus.Cipher import CAST
    from common import make_block_tests
    return make_block_tests(CAST, "CAST", test_data)
def get_tests():
    from CryptoPlus.Cipher import python_AES
    from common import make_block_tests
    return make_block_tests(python_AES, "python_AES", test_data)
Exemple #17
0
def get_tests(config={}):
    from Crypto.Cipher import CAST
    from common import make_block_tests
    return make_block_tests(CAST, "CAST", test_data)
Exemple #18
0
def get_tests(config={}):
    from common import make_block_tests
    tests = make_block_tests(Blowfish, "Blowfish", test_data)
    tests.append(KeyLength())
    return tests
Exemple #19
0
def get_tests(config={}):
    from Crypto.Cipher import Blowfish
    from common import make_block_tests
    return make_block_tests(Blowfish, "Blowfish", test_data)
def get_tests(config={}):
    from common import make_block_tests

    tests = make_block_tests(CAST, "CAST", test_data)
    tests.append(KeyLength())
    return tests
def get_tests():
    from CryptoPlus.Cipher import IDEA
    from common import make_block_tests
    return make_block_tests(IDEA, "IDEA", test_data)
Exemple #22
0
def get_tests():
    from CryptoPlus.Cipher import RC5
    from common import make_block_tests
    return make_block_tests(RC5, "RC5", test_data)
Exemple #23
0
def get_tests(config={}):
    from Crypto.Cipher import DES3
    from common import make_block_tests
    return make_block_tests(DES3, "DES3", test_data)
Exemple #24
0
def get_tests():
    from CryptoPlus.Cipher import ARC2
    from common import make_block_tests
    return make_block_tests(ARC2, "ARC2", test_data)
Exemple #25
0
def get_tests(config={}):
    from Crypto.Cipher import Blowfish
    from common import make_block_tests
    return make_block_tests(Blowfish, "Blowfish", test_data)
def get_tests():
    from CryptoPlus.Cipher import ARC2
    from common import make_block_tests

    return make_block_tests(ARC2, "ARC2", test_data)