cryptomgmtlibs/securitytestfw/test/autotesting/runcrypto_wmdrm.bat
changeset 15 da2ae96f639b
child 61 641f389e9157
equal deleted inserted replaced
10:afc583cfa176 15:da2ae96f639b
       
     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 temb
       
    17 move c:\temblog.txt c:\testresults\
       
    18 move c:\testresults\temblog.txt e:\testresults\temblog.txt
       
    19 
       
    20 REM hash
       
    21 copy /s z:\thash\ c:\thash\
       
    22 thash
       
    23 move c:\hashlog.txt c:\testresults\
       
    24 move c:\testresults\hashlog.txt e:\testresults\hashlog.txt
       
    25 del /s c:\thash\
       
    26 
       
    27 REM random
       
    28 t_random
       
    29 move c:\t_random.log c:\testresults\
       
    30 move c:\testresults\t_random.log e:\testresults\t_random.log
       
    31 
       
    32 REM padding - uses testexecute framework
       
    33 copy /s z:\tpadding\ c:\tpadding\
       
    34 testexecute c:\tpadding\tpadding.script
       
    35 move c:\logs\testexecute\tpadding.htm e:\testresults\tpadding.htm
       
    36 del /s c:\tpadding\
       
    37 
       
    38 REM new cryptospi tests
       
    39 copy /s z:\testdata\tcryptospi\ c:\testdata\tcryptospi\
       
    40 testexecute z:\testdata\tcryptospi\scripts\tcryptospi.script
       
    41 move c:\logs\testexecute\tcryptospi.htm e:\testresults\tcryptospi.htm
       
    42 
       
    43 testexecute z:\testdata\tcryptospi\scripts\te_dummyeccciphertestcases.script
       
    44 move c:\logs\testexecute\te_dummyeccciphertestcases.htm e:\testresults\te_dummyeccciphertestcases.htm
       
    45 
       
    46 del /s c:\testdata\tcryptospi\
       
    47 
       
    48 REM crypto, asymmetric
       
    49 
       
    50 REM tasymmetric z:\tasymmetric\asymmetricPerformance.txt c:\testresults\asymmetricPerformance.log
       
    51 
       
    52 tasymmetric z:\tasymmetric\tasymmetrictests.script c:\logs\testexecute\tasymmetrictests.htm
       
    53 move c:\logs\testexecute\tasymmetrictests.htm e:\testresults\tasymmetrictests.htm
       
    54 
       
    55 REM crypto, symmetric
       
    56 
       
    57 tsymmetric z:\tsymmetric\tsymmetrictests.script c:\logs\testexecute\tsymmetrictests.htm
       
    58 move c:\logs\testexecute\tsymmetrictests.htm e:\testresults\tsymmetrictests.htm
       
    59 
       
    60 tsymmetric z:\tsymmetric\AESECBVectorsScript.script c:\logs\testexecute\AESECBVectorsScript.htm
       
    61 move c:\logs\testexecute\AESECBVectorsScript.htm e:\testresults\AESECBVectorsScript.htm
       
    62 
       
    63 tsymmetric z:\tsymmetric\AESECB_KAT_VT.script c:\logs\testexecute\AESECB_KAT_VT.htm
       
    64 move c:\logs\testexecute\AESECB_KAT_VT.htm e:\testresults\AESECB_KAT_VT.htm
       
    65 
       
    66 tsymmetric z:\tsymmetric\AESECB_KAT_VK.script c:\logs\testexecute\AESECB_KAT_VK.htm
       
    67 move c:\logs\testexecute\AESECB_KAT_VK.htm e:\testresults\AESECB_KAT_VK.htm
       
    68 
       
    69 tsymmetric z:\tsymmetric\AESMonteCarloEncryptECB128.script c:\logs\testexecute\AESMonteCarloEncryptECB128.htm
       
    70 move c:\logs\testexecute\AESMonteCarloEncryptECB128.htm e:\testresults\AESMonteCarloEncryptECB128.htm
       
    71 
       
    72 tsymmetric z:\tsymmetric\AESMonteCarloEncryptECB192.script c:\logs\testexecute\AESMonteCarloEncryptECB192.htm
       
    73 move c:\logs\testexecute\AESMonteCarloEncryptECB192.htm e:\testresults\AESMonteCarloEncryptECB192.htm
       
    74 
       
    75 tsymmetric z:\tsymmetric\AESMonteCarloEncryptECB256.script c:\logs\testexecute\AESMonteCarloEncryptECB256.htm
       
    76 move c:\logs\testexecute\AESMonteCarloEncryptECB256.htm e:\testresults\AESMonteCarloEncryptECB256.htm
       
    77 
       
    78 tsymmetric z:\tsymmetric\AESMonteCarloDecryptECB128.script c:\logs\testexecute\AESMonteCarloDecryptECB128.htm
       
    79 move c:\logs\testexecute\AESMonteCarloDecryptECB128.htm e:\testresults\AESMonteCarloDecryptECB128.htm
       
    80 
       
    81 tsymmetric z:\tsymmetric\AESMonteCarloDecryptECB192.script c:\logs\testexecute\AESMonteCarloDecryptECB192.htm
       
    82 move c:\logs\testexecute\AESMonteCarloDecryptECB192.htm e:\testresults\AESMonteCarloDecryptECB192.htm
       
    83 
       
    84 tsymmetric z:\tsymmetric\AESMonteCarloDecryptECB256.script c:\logs\testexecute\AESMonteCarloDecryptECB256.htm
       
    85 move c:\logs\testexecute\AESMonteCarloDecryptECB256.htm e:\testresults\AESMonteCarloDecryptECB256.htm
       
    86 
       
    87 tsymmetric z:\tsymmetric\AESMonteCarloEncryptCBC128.script c:\logs\testexecute\AESMonteCarloEncryptCBC128.htm
       
    88 move c:\logs\testexecute\AESMonteCarloEncryptCBC128.htm e:\testresults\AESMonteCarloEncryptCBC128.htm
       
    89 
       
    90 tsymmetric z:\tsymmetric\AESMonteCarloEncryptCBC192A.script c:\logs\testexecute\AESMonteCarloEncryptCBC192A.htm
       
    91 move c:\logs\testexecute\AESMonteCarloEncryptCBC192A.htm e:\testresults\AESMonteCarloEncryptCBC192A.htm
       
    92 
       
    93 tsymmetric z:\tsymmetric\AESMonteCarloEncryptCBC192B.script c:\logs\testexecute\AESMonteCarloEncryptCBC192B.htm
       
    94 move c:\logs\testexecute\AESMonteCarloEncryptCBC192B.htm e:\testresults\AESMonteCarloEncryptCBC192B.htm
       
    95 
       
    96 tsymmetric z:\tsymmetric\AESMonteCarloEncryptCBC256.script c:\logs\testexecute\AESMonteCarloEncryptCBC256.htm
       
    97 move c:\logs\testexecute\AESMonteCarloEncryptCBC256.htm e:\testresults\AESMonteCarloEncryptCBC256.htm
       
    98 
       
    99 tsymmetric z:\tsymmetric\AESMonteCarloDecryptCBC128.script c:\logs\testexecute\AESMonteCarloDecryptCBC128.htm
       
   100 move c:\logs\testexecute\AESMonteCarloDecryptCBC128.htm e:\testresults\AESMonteCarloDecryptCBC128.htm
       
   101 
       
   102 tsymmetric z:\tsymmetric\AESMonteCarloDecryptCBC192.script c:\logs\testexecute\AESMonteCarloDecryptCBC192.htm
       
   103 move c:\logs\testexecute\AESMonteCarloDecryptCBC192.htm e:\testresults\AESMonteCarloDecryptCBC192.htm
       
   104 
       
   105 tsymmetric z:\tsymmetric\AESMonteCarloDecryptCBC256.script c:\logs\testexecute\AESMonteCarloDecryptCBC256.htm
       
   106 move c:\logs\testexecute\AESMonteCarloDecryptCBC256.htm e:\testresults\AESMonteCarloDecryptCBC256.htm
       
   107 
       
   108 
       
   109 
       
   110 REM crypto, bigint
       
   111 
       
   112 tbigint z:\tbigint\tconstructiontests.script c:\logs\testexecute\tconstruction.htm
       
   113 move c:\logs\testexecute\tconstruction.htm e:\testresults\tconstruction.htm
       
   114 
       
   115 tbigint z:\tbigint\tbasicmathstests.script c:\logs\testexecute\tbasicmaths.htm
       
   116 move c:\logs\testexecute\tbasicmaths.htm e:\testresults\tbasicmaths.htm
       
   117 
       
   118 tbigint z:\tbigint\tmontgomerytests.script c:\logs\testexecute\tmontgomery.htm
       
   119 move c:\logs\testexecute\tmontgomery.htm e:\testresults\tmontgomery.htm
       
   120 
       
   121 REM tbigint z:\tbigint\tperformancetests.script c:\logs\testexecute\tperformance.htm
       
   122 REM move c:\logs\testexecute\tperformance.htm e:\testresults\tperformance.htm
       
   123 
       
   124 tbigint z:\tbigint\tprimetests.script c:\logs\testexecute\tprime.htm
       
   125 move c:\logs\testexecute\tprime.htm e:\testresults\tprime.htm
       
   126 
       
   127 REM tbigint z:\tbigint\tprimetests2.script c:\logs\testexecute\tprime2.htm
       
   128 REM move c:\logs\testexecute\tprime2.htm e:\testresults\tprime2.htm
       
   129 
       
   130 tbigint z:\tbigint\tprimefailuretests.script  c:\logs\testexecute\tprimefailure.htm
       
   131 move c:\logs\testexecute\tprimefailure.htm e:\testresults\tprimefailure.htm
       
   132 
       
   133 tbigint z:\tbigint\tprimegen.script c:\logs\testexecute\tprimegen.htm
       
   134 move c:\logs\testexecute\tprimegen.htm e:\testresults\tprimegen.htm
       
   135 
       
   136 
       
   137 
       
   138 REM crypto, tpkcs5kdf
       
   139 md c:\tpkcs5kdf
       
   140 
       
   141 copy z:\tpkcs12kdftests.script c:\tpkcs5kdf\tpkcs12kdftests.script
       
   142 tpkcs5kdf c:\tpkcs5kdf\tpkcs12kdftests.script c:\tpkcs5kdf\tpkcs12kdftests.htm
       
   143 move c:\tpkcs5kdf\tpkcs12kdftests.htm e:\testresults\tpkcs12kdftests.htm
       
   144 del /s c:\tpkcs5kdf\
       
   145 
       
   146 
       
   147 REM crypto, pbe
       
   148 
       
   149 md c:\tpbe
       
   150 copy z:\tpbe\*.dat c:\tpbe
       
   151 attrib c:\tpbe\strong.dat -r
       
   152 attrib c:\tpbe\weak.dat -r
       
   153 tpbe z:\tpbe\tpbetests_v2.script c:\logs\testexecute\tpbetestsv2.htm
       
   154 move c:\logs\testexecute\tpbetestsv2.htm e:\testresults\tpbetestsv2.htm
       
   155 
       
   156 del /s c:\tpbe\