package org.spongycastle.crypto.test;

import org.spongycastle.util.test.*;

public class CryptoRegressionTest
{
    public static Test[]    tests = {
        new AESTest(),
        new DESTest(),
        new DESedeTest(),
        new ModeTest(),
        new DHTest(),
        new ElGamalTest(),
        new DSATest(),
        new ECTest(),
        new ECIESTest(),
        new MacTest(),
        new RC2Test(),
        new RC4Test(),
        new RC5Test(),
        new RC6Test(),
        new RijndaelTest(),
        new SerpentTest(),
        new SkipjackTest(),
        new BlowfishTest(),
        new TwofishTest(),
        new CAST5Test(),
        new CAST6Test(),
        new IDEATest(),
        new CamelliaTest(),
        new RSATest(),
        new ISO9796Test(),
        new MD2DigestTest(),
        new MD4DigestTest(),
        new MD5DigestTest(),
        new SHA1DigestTest(),
        new SHA256DigestTest(),
        new SHA384DigestTest(),
        new SHA512DigestTest(),
        new RIPEMD128DigestTest(),
        new RIPEMD160DigestTest(),
        new TigerDigestTest(),
        new MD5HMacTest(),
        new SHA1HMacTest(),
        new RIPEMD128HMacTest(),
        new RIPEMD160HMacTest(),
        /* new OAEPTest() */
        new PSSTest(),
        new CTSTest(),
        /* new PKCS5Test() */
        new PKCS12Test()
    };

    public static void main(
        String[]    args)
    {
        for (int i = 0; i != tests.length; i++)
        {
            TestResult  result = tests[i].perform();
            System.out.println(result);
        }
    }
}

