os/security/cryptomgmtlibs/securitytestfw/test/autotesting/runcrypto_wmdrm.bat
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 @rem
     2 @rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 @rem All rights reserved.
     4 @rem This component and the accompanying materials are made available
     5 @rem under the terms of the License "Eclipse Public License v1.0"
     6 @rem which accompanies this distribution, and is available
     7 @rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 @rem
     9 @rem Initial Contributors:
    10 @rem Nokia Corporation - initial contribution.
    11 @rem
    12 @rem Contributors:
    13 @rem
    14 @rem Description: 
    15 @rem
    16 
    17 REM hash
    18 copy /s z:\thash\ c:\thash\
    19 thash
    20 move c:\hashlog.txt c:\testresults\
    21 move c:\testresults\hashlog.txt e:\testresults\hashlog.txt
    22 del /s c:\thash\
    23 
    24 REM random
    25 t_random
    26 move c:\t_random.log c:\testresults\
    27 move c:\testresults\t_random.log e:\testresults\t_random.log
    28 
    29 REM padding - uses testexecute framework
    30 copy /s z:\tpadding\ c:\tpadding\
    31 testexecute c:\tpadding\tpadding.script
    32 move c:\logs\testexecute\tpadding.htm e:\testresults\tpadding.htm
    33 del /s c:\tpadding\
    34 
    35 REM new cryptospi tests
    36 copy /s z:\testdata\tcryptospi\ c:\testdata\tcryptospi\
    37 testexecute z:\testdata\tcryptospi\scripts\tcryptospi.script
    38 move c:\logs\testexecute\tcryptospi.htm e:\testresults\tcryptospi.htm
    39 
    40 testexecute z:\testdata\tcryptospi\scripts\te_dummyeccciphertestcases.script
    41 move c:\logs\testexecute\te_dummyeccciphertestcases.htm e:\testresults\te_dummyeccciphertestcases.htm
    42 
    43 del /s c:\testdata\tcryptospi\
    44 
    45 REM crypto, asymmetric
    46 
    47 REM tasymmetric z:\tasymmetric\asymmetricPerformance.txt c:\testresults\asymmetricPerformance.log
    48 
    49 tasymmetric z:\tasymmetric\tasymmetrictests.script c:\logs\testexecute\tasymmetrictests.htm
    50 move c:\logs\testexecute\tasymmetrictests.htm e:\testresults\tasymmetrictests.htm
    51 
    52 REM crypto, symmetric
    53 
    54 tsymmetric z:\tsymmetric\tsymmetrictests.script c:\logs\testexecute\tsymmetrictests.htm
    55 move c:\logs\testexecute\tsymmetrictests.htm e:\testresults\tsymmetrictests.htm
    56 
    57 tsymmetric z:\tsymmetric\AESECBVectorsScript.script c:\logs\testexecute\AESECBVectorsScript.htm
    58 move c:\logs\testexecute\AESECBVectorsScript.htm e:\testresults\AESECBVectorsScript.htm
    59 
    60 tsymmetric z:\tsymmetric\AESECB_KAT_VT.script c:\logs\testexecute\AESECB_KAT_VT.htm
    61 move c:\logs\testexecute\AESECB_KAT_VT.htm e:\testresults\AESECB_KAT_VT.htm
    62 
    63 tsymmetric z:\tsymmetric\AESECB_KAT_VK.script c:\logs\testexecute\AESECB_KAT_VK.htm
    64 move c:\logs\testexecute\AESECB_KAT_VK.htm e:\testresults\AESECB_KAT_VK.htm
    65 
    66 tsymmetric z:\tsymmetric\AESMonteCarloEncryptECB128.script c:\logs\testexecute\AESMonteCarloEncryptECB128.htm
    67 move c:\logs\testexecute\AESMonteCarloEncryptECB128.htm e:\testresults\AESMonteCarloEncryptECB128.htm
    68 
    69 tsymmetric z:\tsymmetric\AESMonteCarloEncryptECB192.script c:\logs\testexecute\AESMonteCarloEncryptECB192.htm
    70 move c:\logs\testexecute\AESMonteCarloEncryptECB192.htm e:\testresults\AESMonteCarloEncryptECB192.htm
    71 
    72 tsymmetric z:\tsymmetric\AESMonteCarloEncryptECB256.script c:\logs\testexecute\AESMonteCarloEncryptECB256.htm
    73 move c:\logs\testexecute\AESMonteCarloEncryptECB256.htm e:\testresults\AESMonteCarloEncryptECB256.htm
    74 
    75 tsymmetric z:\tsymmetric\AESMonteCarloDecryptECB128.script c:\logs\testexecute\AESMonteCarloDecryptECB128.htm
    76 move c:\logs\testexecute\AESMonteCarloDecryptECB128.htm e:\testresults\AESMonteCarloDecryptECB128.htm
    77 
    78 tsymmetric z:\tsymmetric\AESMonteCarloDecryptECB192.script c:\logs\testexecute\AESMonteCarloDecryptECB192.htm
    79 move c:\logs\testexecute\AESMonteCarloDecryptECB192.htm e:\testresults\AESMonteCarloDecryptECB192.htm
    80 
    81 tsymmetric z:\tsymmetric\AESMonteCarloDecryptECB256.script c:\logs\testexecute\AESMonteCarloDecryptECB256.htm
    82 move c:\logs\testexecute\AESMonteCarloDecryptECB256.htm e:\testresults\AESMonteCarloDecryptECB256.htm
    83 
    84 tsymmetric z:\tsymmetric\AESMonteCarloEncryptCBC128.script c:\logs\testexecute\AESMonteCarloEncryptCBC128.htm
    85 move c:\logs\testexecute\AESMonteCarloEncryptCBC128.htm e:\testresults\AESMonteCarloEncryptCBC128.htm
    86 
    87 tsymmetric z:\tsymmetric\AESMonteCarloEncryptCBC192A.script c:\logs\testexecute\AESMonteCarloEncryptCBC192A.htm
    88 move c:\logs\testexecute\AESMonteCarloEncryptCBC192A.htm e:\testresults\AESMonteCarloEncryptCBC192A.htm
    89 
    90 tsymmetric z:\tsymmetric\AESMonteCarloEncryptCBC192B.script c:\logs\testexecute\AESMonteCarloEncryptCBC192B.htm
    91 move c:\logs\testexecute\AESMonteCarloEncryptCBC192B.htm e:\testresults\AESMonteCarloEncryptCBC192B.htm
    92 
    93 tsymmetric z:\tsymmetric\AESMonteCarloEncryptCBC256.script c:\logs\testexecute\AESMonteCarloEncryptCBC256.htm
    94 move c:\logs\testexecute\AESMonteCarloEncryptCBC256.htm e:\testresults\AESMonteCarloEncryptCBC256.htm
    95 
    96 tsymmetric z:\tsymmetric\AESMonteCarloDecryptCBC128.script c:\logs\testexecute\AESMonteCarloDecryptCBC128.htm
    97 move c:\logs\testexecute\AESMonteCarloDecryptCBC128.htm e:\testresults\AESMonteCarloDecryptCBC128.htm
    98 
    99 tsymmetric z:\tsymmetric\AESMonteCarloDecryptCBC192.script c:\logs\testexecute\AESMonteCarloDecryptCBC192.htm
   100 move c:\logs\testexecute\AESMonteCarloDecryptCBC192.htm e:\testresults\AESMonteCarloDecryptCBC192.htm
   101 
   102 tsymmetric z:\tsymmetric\AESMonteCarloDecryptCBC256.script c:\logs\testexecute\AESMonteCarloDecryptCBC256.htm
   103 move c:\logs\testexecute\AESMonteCarloDecryptCBC256.htm e:\testresults\AESMonteCarloDecryptCBC256.htm
   104 
   105 
   106 
   107 REM crypto, bigint
   108 
   109 tbigint z:\tbigint\tconstructiontests.script c:\logs\testexecute\tconstruction.htm
   110 move c:\logs\testexecute\tconstruction.htm e:\testresults\tconstruction.htm
   111 
   112 tbigint z:\tbigint\tbasicmathstests.script c:\logs\testexecute\tbasicmaths.htm
   113 move c:\logs\testexecute\tbasicmaths.htm e:\testresults\tbasicmaths.htm
   114 
   115 tbigint z:\tbigint\tmontgomerytests.script c:\logs\testexecute\tmontgomery.htm
   116 move c:\logs\testexecute\tmontgomery.htm e:\testresults\tmontgomery.htm
   117 
   118 REM tbigint z:\tbigint\tperformancetests.script c:\logs\testexecute\tperformance.htm
   119 REM move c:\logs\testexecute\tperformance.htm e:\testresults\tperformance.htm
   120 
   121 tbigint z:\tbigint\tprimetests.script c:\logs\testexecute\tprime.htm
   122 move c:\logs\testexecute\tprime.htm e:\testresults\tprime.htm
   123 
   124 REM tbigint z:\tbigint\tprimetests2.script c:\logs\testexecute\tprime2.htm
   125 REM move c:\logs\testexecute\tprime2.htm e:\testresults\tprime2.htm
   126 
   127 tbigint z:\tbigint\tprimefailuretests.script  c:\logs\testexecute\tprimefailure.htm
   128 move c:\logs\testexecute\tprimefailure.htm e:\testresults\tprimefailure.htm
   129 
   130 tbigint z:\tbigint\tprimegen.script c:\logs\testexecute\tprimegen.htm
   131 move c:\logs\testexecute\tprimegen.htm e:\testresults\tprimegen.htm
   132 
   133 
   134 
   135 REM crypto, tpkcs5kdf
   136 md c:\tpkcs5kdf
   137 
   138 copy z:\tpkcs12kdftests.script c:\tpkcs5kdf\tpkcs12kdftests.script
   139 tpkcs5kdf c:\tpkcs5kdf\tpkcs12kdftests.script c:\tpkcs5kdf\tpkcs12kdftests.htm
   140 move c:\tpkcs5kdf\tpkcs12kdftests.htm e:\testresults\tpkcs12kdftests.htm
   141 del /s c:\tpkcs5kdf\
   142 
   143 
   144 REM crypto, pbe
   145 
   146 md c:\tpbe
   147 copy z:\tpbe\*.dat c:\tpbe
   148 attrib c:\tpbe\strong.dat -r
   149 attrib c:\tpbe\weak.dat -r
   150 tpbe z:\tpbe\tpbetests_v2.script c:\logs\testexecute\tpbetestsv2.htm
   151 move c:\logs\testexecute\tpbetestsv2.htm e:\testresults\tpbetestsv2.htm
   152 
   153 del /s c:\tpbe\