--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/crypto/weakcryptospi/test/tbigint/scripts/tbasicmathstests.script Thu Sep 10 14:01:51 2009 +0300
@@ -0,0 +1,252 @@
+//
+// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of the License "Symbian Foundation License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+START_TESTCASE SEC-CRYPTOSPI-TBASICMATHSTESTS-0001
+
+//! @SYMTestCaseID SEC-CRYPTOSPI-TBASICMATHSTESTS-0001
+
+//! @SYMTestCaseDesc
+
+//! @SYMTestActions 1) BasicMaths Forward Backward Test
+
+//! 2) BasicMaths Vector Test -- ADD 4 bytes
+
+//! 3) BasicMaths Vector Test -- ADD 4 bytes overflow
+
+//! 4) BasicMaths Vector Test -- ADD 8 bytes
+
+//! 5) BasicMaths Vector Test -- ADD 8 bytes overflow
+
+//! 6) BasicMaths Vector Test -- ADD 4 bytes b > a
+
+//! 7) BasicMaths Vector Test -- ADD 4 bytes overflow, b > a
+
+//! 8) BasicMaths Vector Test -- ADD 8 bytes, b > a
+
+//! 9) BasicMaths Vector Test -- ADD 8 bytes overflow, b > a
+
+//! 10) BasicMaths Vector Test -- ADD two large numbers
+
+//! 11) BasicMaths Vector Test -- ADD two large numbers
+
+//! 12) BasicMaths Vector Test -- ADD two large numbers with overflow
+
+//! 13) BasicMaths Vector Test -- SUB 4 bytes
+
+//! 14) BasicMaths Vector Test -- SUB 4 bytes
+
+//! 15) BasicMaths Vector Test -- SUB 8 bytes
+
+//! 16) BasicMaths Vector Test -- SUB 2 large numbers
+
+//! 17) BasicMaths Vector Test -- multiply small
+
+//! 18) BasicMaths Vector Test -- multiply large
+
+//! 19) BasicMaths Vector Test -- multiply large different size operands
+
+//! 20) BasicMaths Vector Test -- divide basic
+
+//! 21) BasicMaths Vector Test -- modulo basic
+
+//! 22) BasicMaths Vector Test -- divide basic no remainder
+
+//! 23) BasicMaths Vector Test -- modulus basic no remainder
+
+//! 24) BasicMaths Vector Test -- divide large
+
+//! 25) BasicMaths Vector Test -- modulus large
+
+//! 26) BasicMaths Vector Test -- InverseMod 1
+
+//! 27) BasicMaths Vector Test -- InverseMod 2
+
+//! 28) BasicMaths Vector Test -- InverseMod 3
+
+//! 29) BasicMaths Vector Test -- InverseMod 4
+
+//! 30) BasicMaths Vector Test -- InverseMod 5
+
+//! 31) BasicMaths Vector Test -- GCD 1
+
+//! 32) BasicMaths Vector Test -- GCD 2
+
+//! 33) BasicMaths Vector Test -- GCD 3
+
+//! 34) BasicMaths Vector Test -- GCD 4 (two really big prime numbers)
+
+//! 35) OOM start
+
+//! 36) BasicMaths Vector Test -- ADD 4 bytes
+
+//! 37) BasicMaths Vector Test -- ADD 4 bytes overflow
+
+//! 38) BasicMaths Vector Test -- ADD 8 bytes
+
+//! 39) BasicMaths Vector Test -- ADD 8 bytes overflow
+
+//! 40) BasicMaths Vector Test -- ADD 4 bytes b > a
+
+//! 41) BasicMaths Vector Test -- ADD 4 bytes overflow, b > a
+
+//! 42) BasicMaths Vector Test -- ADD 8 bytes, b > a
+
+//! 43) BasicMaths Vector Test -- ADD 8 bytes overflow, b > a
+
+//! 44) BasicMaths Vector Test -- SUB 4 bytes
+
+//! 45) BasicMaths Vector Test -- SUB 4 bytes
+
+//! 46) BasicMaths Vector Test -- SUB 8 bytes
+
+//! 47) BasicMaths Vector Test -- InverseMod 1
+
+//! 48) BasicMaths Vector Test -- InverseMod 2
+
+//! 49) BasicMaths Vector Test -- InverseMod 3
+
+//! 50) BasicMaths Vector Test -- InverseMod 4
+
+//! 51) BasicMaths Vector Test -- InverseMod 5
+
+//! 52) BasicMaths Vector Test -- GCD 1
+
+//! 53) BasicMaths Vector Test -- GCD 2
+
+//! 54) BasicMaths Vector Test -- GCD 3
+
+//! 55) BasicMaths Forward Backward Test
+
+//! 56) OOM end
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsFB tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-001
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-002
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-003
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-004
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-005
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-006
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-007
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-008
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-009
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-010
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-011
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-012
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-013
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-014
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-015
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-016
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-017
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-018
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-019
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-020
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-021
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-022
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-023
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-024
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-025
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-026
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-027
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-028
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-029
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-030
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-031
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-032
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-033
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-034
+
+RUN_TEST_STEP -1 CTestHandler startmemfailure
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-036
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-037
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-038
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-039
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-040
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-041
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-042
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-043
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-044
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-045
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-046
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-047
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-048
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-049
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-050
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-051
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-052
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-053
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsVector tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-054
+
+RUN_TEST_STEP -1 CTestHandler BasicMathsFB tbasicmathstests.ini SEC-CRYPTOSPI-TBASICMATHSTESTS-0001-055
+
+RUN_TEST_STEP -1 CTestHandler stopmemfailure
+
+END_TESTCASE SEC-CRYPTOSPI-TBASICMATHSTESTS-0001
+
+
+
+
+