Exemplo n.º 1
0
//
// Externally visible API for invoking the complete test suite
//
void RunAll() {
	TestSimpleFormulaBag();
	TestFormulas();
	TestScopedBag();
	TestActionSets();
	TestListsAndFunctions();
	TestDeserialization();
	TestVectors();
}
Exemplo n.º 2
0
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//  TestAesCtr
//
//  Test AES CTR algorithm
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool
    TestAesCtr
    (
        void
    )
{
    bool        totalSuccess = true;
    bool        success;

    success = TestVectors( );
    if( !success ) { totalSuccess = false; }

    success = TestLargeVector( );
    if( !success ) { totalSuccess = false; }

    success = TestStreamConsistency( );
    if( !success ) { totalSuccess = false; }

    success = TestEndianCorrectness( );
    if( !success ) { totalSuccess = false; }

    return totalSuccess;
}