def get_tests(config={}): from common import make_stream_tests tests = make_stream_tests(ARC4, "ARC4", test_data) tests += list_test_cases(RFC6229_Tests) tests += list_test_cases(Drop_Tests) tests.append(KeyLength()) return tests
def get_tests(config={}): from common import make_stream_tests tests = make_stream_tests(Salsa20, "Salsa20", test_data) tests.append(KeyLength()) tests += list_test_cases(NonceTests) return tests
def get_tests(config={}): tests = make_stream_tests(Salsa20, "Salsa20", test_data) tests.append(KeyLength()) tests += list_test_cases(NonceTests) tests.append(ByteArrayTest()) import types if _memoryview != types.NoneType: tests.append(MemoryviewTest()) return tests
def get_tests(config={}): from Crypto.Cipher import ARC4 from common import make_stream_tests return make_stream_tests(ARC4, "ARC4", test_data)
def get_tests(config={}): global XOR from Crypto.Cipher import XOR from common import make_stream_tests return make_stream_tests(XOR, "XOR", test_data) + [TruncationSelfTest()]
def get_tests(): from CryptoPlus.Cipher import ARC4 from common import make_stream_tests return make_stream_tests(ARC4, "ARC4", test_data)
def get_tests(config={}): global Salsa20 from Crypto.Cipher import Salsa20 from common import make_stream_tests return make_stream_tests(Salsa20, "Salsa20", test_data)
def get_tests(): from CryptoPlus.Cipher import XOR from common import make_stream_tests return make_stream_tests(XOR, "XOR", test_data)