def get_tests(config={}):
    tests = []
    from Crypto.SelfTest.Random.Fortuna import test_FortunaAccumulator
    tests += test_FortunaAccumulator.get_tests(config=config)
    from Crypto.SelfTest.Random.Fortuna import test_FortunaGenerator
    tests += test_FortunaGenerator.get_tests(config=config)
    from Crypto.SelfTest.Random.Fortuna import test_SHAd256
    tests += test_SHAd256.get_tests(config=config)
    return tests
示例#2
0
def get_tests(config={}):
    tests = []
    from Crypto.SelfTest.Random.Fortuna import test_FortunaAccumulator;

    tests += test_FortunaAccumulator.get_tests(config=config)
    from Crypto.SelfTest.Random.Fortuna import test_FortunaGenerator;

    tests += test_FortunaGenerator.get_tests(config=config)
    from Crypto.SelfTest.Random.Fortuna import test_SHAd256;

    tests += test_SHAd256.get_tests(config=config)
    return tests