コード例 #1
0
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
コード例 #3
0
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
ファイル: test_DES3.py プロジェクト: nessvm/eVoting
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
ファイル: test_DES.py プロジェクト: nessvm/eVoting
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
ファイル: test_DES.py プロジェクト: Jarthong/Python-Auto
def get_tests():
    from CryptoPlus.Cipher import DES
    from common import make_block_tests
    return make_block_tests(DES, "DES", test_data)
コード例 #10
0
ファイル: test_CAST.py プロジェクト: nessvm/eVoting
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
ファイル: test_Blowfish.py プロジェクト: battyc/pycryptodome
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
ファイル: test_AIDEA.py プロジェクト: mitchellrj/pycrypto
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)
コード例 #14
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)
コード例 #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
ファイル: test_Blowfish.py プロジェクト: Gnof/pycryptodome
def get_tests(config={}):
    from Crypto.Cipher import Blowfish
    from common import make_block_tests
    return make_block_tests(Blowfish, "Blowfish", test_data)
コード例 #20
0
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
ファイル: test_DES3.py プロジェクト: hannesvn/pycryptodome
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)