// // Externally visible API for invoking the complete test suite // void RunAll() { TestSimpleFormulaBag(); TestFormulas(); TestScopedBag(); TestActionSets(); TestListsAndFunctions(); TestDeserialization(); TestVectors(); }
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // 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; }