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
示例#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
示例#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)
示例#5
0
def get_tests():
    from CryptoPlus.Cipher import DES3
    from common import make_block_tests
    return make_block_tests(DES3, "DES3", test_data)
示例#6
0
def get_tests():
    from CryptoPlus.Cipher import CAST
    from common import make_block_tests
    return make_block_tests(CAST, "CAST", test_data)
示例#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()]
示例#8
0
文件: test_DES.py 项目: 4ZM/pycrypto
def get_tests(config={}):
    from Crypto.Cipher import DES
    from common import make_block_tests
    return make_block_tests(DES, "DES", test_data) + [RonRivestTest()]
示例#9
0
def get_tests():
    from CryptoPlus.Cipher import DES
    from common import make_block_tests
    return make_block_tests(DES, "DES", test_data)
示例#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)
示例#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
示例#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
示例#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)
示例#15
0
def get_tests():
    from CryptoPlus.Cipher import CAST
    from common import make_block_tests
    return make_block_tests(CAST, "CAST", test_data)
示例#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)
示例#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)
示例#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
示例#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
示例#21
0
def get_tests():
    from CryptoPlus.Cipher import IDEA
    from common import make_block_tests
    return make_block_tests(IDEA, "IDEA", test_data)
示例#22
0
def get_tests():
    from CryptoPlus.Cipher import RC5
    from common import make_block_tests
    return make_block_tests(RC5, "RC5", test_data)
示例#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)
示例#24
0
def get_tests():
    from CryptoPlus.Cipher import ARC2
    from common import make_block_tests
    return make_block_tests(ARC2, "ARC2", test_data)
示例#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)
示例#26
0
def get_tests():
    from CryptoPlus.Cipher import ARC2
    from common import make_block_tests

    return make_block_tests(ARC2, "ARC2", test_data)