我们从Python开源项目中,提取了以下50个代码示例,用于说明如何使用common.make_block_tests()。
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 Crypto.Cipher import DES3 from common import make_block_tests return make_block_tests(DES3, "DES3", test_data)
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 Crypto.Cipher import CAST from common import make_block_tests return make_block_tests(CAST, "CAST", test_data)
def get_tests(config={}): from Crypto.Cipher import AES from common import make_block_tests return make_block_tests(AES, "AES", test_data)