1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/security/crypto/weakcryptospi/test/tbigint/scripts/tprimegen.script Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,96 @@
1.4 +//
1.5 +// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
1.6 +// All rights reserved.
1.7 +// This component and the accompanying materials are made available
1.8 +// under the terms of the License "Eclipse Public License v1.0"
1.9 +// which accompanies this distribution, and is available
1.10 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.11 +//
1.12 +// Initial Contributors:
1.13 +// Nokia Corporation - initial contribution.
1.14 +//
1.15 +// Contributors:
1.16 +//
1.17 +// Description:
1.18 +//
1.19 +
1.20 +START_TESTCASE SEC-CRYPTOSPI-TPRIMEGEN-0001
1.21 +
1.22 +//! @SYMTestCaseID SEC-CRYPTOSPI-TPRIMEGEN-0001
1.23 +
1.24 +//! @SYMTestCaseDesc
1.25 +
1.26 +//! @SYMTestActions 1) Prime Generation Vector -- 0 (tests the overflow from something less than KLastPrimeSquared to the probablistic prime generation routines
1.27 +
1.28 +//! 2) Prime Generation Vector -- 0 (tests the overflow from something less than KLastPrimeSquared to the probablistic prime generation routines
1.29 +
1.30 +//! 3) Prime Generation Vector -- 1
1.31 +
1.32 +//! 4) Prime Generation Vector -- 2
1.33 +
1.34 +//! 5) Prime Generation Vector -- 3
1.35 +
1.36 +//! 6) Prime Generation Vector -- 4
1.37 +
1.38 +//! 7) Prime Generation Vector -- 5
1.39 +
1.40 +//! 8) Prime Generation Vector -- 6
1.41 +
1.42 +//! 9) Prime Generation Vector -- 7
1.43 +
1.44 +//! 10) Prime Generation Vector -- 8
1.45 +
1.46 +//! 11) Prime Generation Vector -- 9
1.47 +
1.48 +//! 12) Prime Generation Vector -- 10
1.49 +
1.50 +//! 13) Prime Generation Vector -- 11
1.51 +
1.52 +//! 14) Prime Generation
1.53 +
1.54 +//! 15) OOM start
1.55 +
1.56 +//! 16) Prime Generation
1.57 +
1.58 +//! 17) OOM end
1.59 +
1.60 +RUN_TEST_STEP -1 CTestHandler PrimeGenVector tprimegen.ini SEC-CRYPTOSPI-TPRIMEGEN-0001-001
1.61 +
1.62 +RUN_TEST_STEP -1 CTestHandler PrimeGenVector tprimegen.ini SEC-CRYPTOSPI-TPRIMEGEN-0001-002
1.63 +
1.64 +RUN_TEST_STEP -1 CTestHandler PrimeGenVector tprimegen.ini SEC-CRYPTOSPI-TPRIMEGEN-0001-003
1.65 +
1.66 +RUN_TEST_STEP -1 CTestHandler PrimeGenVector tprimegen.ini SEC-CRYPTOSPI-TPRIMEGEN-0001-004
1.67 +
1.68 +RUN_TEST_STEP -1 CTestHandler PrimeGenVector tprimegen.ini SEC-CRYPTOSPI-TPRIMEGEN-0001-005
1.69 +
1.70 +RUN_TEST_STEP -1 CTestHandler PrimeGenVector tprimegen.ini SEC-CRYPTOSPI-TPRIMEGEN-0001-006
1.71 +
1.72 +RUN_TEST_STEP -1 CTestHandler PrimeGenVector tprimegen.ini SEC-CRYPTOSPI-TPRIMEGEN-0001-007
1.73 +
1.74 +RUN_TEST_STEP -1 CTestHandler PrimeGenVector tprimegen.ini SEC-CRYPTOSPI-TPRIMEGEN-0001-008
1.75 +
1.76 +RUN_TEST_STEP -1 CTestHandler PrimeGenVector tprimegen.ini SEC-CRYPTOSPI-TPRIMEGEN-0001-009
1.77 +
1.78 +RUN_TEST_STEP -1 CTestHandler PrimeGenVector tprimegen.ini SEC-CRYPTOSPI-TPRIMEGEN-0001-010
1.79 +
1.80 +RUN_TEST_STEP -1 CTestHandler PrimeGenVector tprimegen.ini SEC-CRYPTOSPI-TPRIMEGEN-0001-011
1.81 +
1.82 +RUN_TEST_STEP -1 CTestHandler PrimeGenVector tprimegen.ini SEC-CRYPTOSPI-TPRIMEGEN-0001-012
1.83 +
1.84 +RUN_TEST_STEP -1 CTestHandler PrimeGenVector tprimegen.ini SEC-CRYPTOSPI-TPRIMEGEN-0001-013
1.85 +
1.86 +RUN_TEST_STEP -1 CTestHandler PrimeGen tprimegen.ini SEC-CRYPTOSPI-TPRIMEGEN-0001-014
1.87 +
1.88 +RUN_TEST_STEP -1 CTestHandler startmemfailure
1.89 +
1.90 +RUN_TEST_STEP -1 CTestHandler PrimeGen tprimegen.ini SEC-CRYPTOSPI-TPRIMEGEN-0001-016
1.91 +
1.92 +RUN_TEST_STEP -1 CTestHandler stopmemfailure
1.93 +
1.94 +END_TESTCASE SEC-CRYPTOSPI-TPRIMEGEN-0001
1.95 +
1.96 +
1.97 +
1.98 +
1.99 +