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
Beispiel #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
Beispiel #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)
Beispiel #6
0
def get_tests():
    from CryptoPlus.Cipher import CAST
    from common import make_block_tests
    return make_block_tests(CAST, "CAST", test_data)
Beispiel #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()]
Beispiel #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()]
Beispiel #9
0
def get_tests():
    from CryptoPlus.Cipher import DES
    from common import make_block_tests
    return make_block_tests(DES, "DES", test_data)
Beispiel #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)
Beispiel #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
Beispiel #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
Beispiel #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)
Beispiel #15
0
def get_tests():
    from CryptoPlus.Cipher import CAST
    from common import make_block_tests
    return make_block_tests(CAST, "CAST", test_data)
Beispiel #16
0
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)
Beispiel #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)
Beispiel #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
Beispiel #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
Beispiel #21
0
def get_tests():
    from CryptoPlus.Cipher import IDEA
    from common import make_block_tests
    return make_block_tests(IDEA, "IDEA", test_data)
Beispiel #22
0
def get_tests():
    from CryptoPlus.Cipher import RC5
    from common import make_block_tests
    return make_block_tests(RC5, "RC5", test_data)
Beispiel #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)
Beispiel #24
0
def get_tests():
    from CryptoPlus.Cipher import ARC2
    from common import make_block_tests
    return make_block_tests(ARC2, "ARC2", test_data)
Beispiel #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)
Beispiel #26
0
def get_tests():
    from CryptoPlus.Cipher import ARC2
    from common import make_block_tests

    return make_block_tests(ARC2, "ARC2", test_data)