os/security/cryptomgmtlibs/securitytestfw/test/autotesting/runcrypto.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 del /s c:\testdata\tcryptospi\
    40 
    41 REM crypto, asymmetric
    42 
    43 REM tasymmetric z:\tasymmetric\asymmetricPerformance.txt c:\testresults\asymmetricPerformance.log
    44 
    45 tasymmetric z:\tasymmetric\tasymmetrictests.script c:\logs\testexecute\tasymmetrictests.htm
    46 move c:\logs\testexecute\tasymmetrictests.htm e:\testresults\tasymmetrictests.htm
    47 
    48 REM crypto, symmetric
    49 
    50 tsymmetric z:\tsymmetric\tsymmetrictests.script c:\logs\testexecute\tsymmetrictests.htm
    51 move c:\logs\testexecute\tsymmetrictests.htm e:\testresults\tsymmetrictests.htm
    52 
    53 tsymmetric z:\tsymmetric\AESECBVectorsScript.script c:\logs\testexecute\AESECBVectorsScript.htm
    54 move c:\logs\testexecute\AESECBVectorsScript.htm e:\testresults\AESECBVectorsScript.htm
    55 
    56 tsymmetric z:\tsymmetric\AESECB_KAT_VT.script c:\logs\testexecute\AESECB_KAT_VT.htm
    57 move c:\logs\testexecute\AESECB_KAT_VT.htm e:\testresults\AESECB_KAT_VT.htm
    58 
    59 tsymmetric z:\tsymmetric\AESECB_KAT_VK.script c:\logs\testexecute\AESECB_KAT_VK.htm
    60 move c:\logs\testexecute\AESECB_KAT_VK.htm e:\testresults\AESECB_KAT_VK.htm
    61 
    62 tsymmetric z:\tsymmetric\AESMonteCarloEncryptECB128.script c:\logs\testexecute\AESMonteCarloEncryptECB128.htm
    63 move c:\logs\testexecute\AESMonteCarloEncryptECB128.htm e:\testresults\AESMonteCarloEncryptECB128.htm
    64 
    65 tsymmetric z:\tsymmetric\AESMonteCarloEncryptECB192.script c:\logs\testexecute\AESMonteCarloEncryptECB192.htm
    66 move c:\logs\testexecute\AESMonteCarloEncryptECB192.htm e:\testresults\AESMonteCarloEncryptECB192.htm
    67 
    68 tsymmetric z:\tsymmetric\AESMonteCarloEncryptECB256.script c:\logs\testexecute\AESMonteCarloEncryptECB256.htm
    69 move c:\logs\testexecute\AESMonteCarloEncryptECB256.htm e:\testresults\AESMonteCarloEncryptECB256.htm
    70 
    71 tsymmetric z:\tsymmetric\AESMonteCarloDecryptECB128.script c:\logs\testexecute\AESMonteCarloDecryptECB128.htm
    72 move c:\logs\testexecute\AESMonteCarloDecryptECB128.htm e:\testresults\AESMonteCarloDecryptECB128.htm
    73 
    74 tsymmetric z:\tsymmetric\AESMonteCarloDecryptECB192.script c:\logs\testexecute\AESMonteCarloDecryptECB192.htm
    75 move c:\logs\testexecute\AESMonteCarloDecryptECB192.htm e:\testresults\AESMonteCarloDecryptECB192.htm
    76 
    77 tsymmetric z:\tsymmetric\AESMonteCarloDecryptECB256.script c:\logs\testexecute\AESMonteCarloDecryptECB256.htm
    78 move c:\logs\testexecute\AESMonteCarloDecryptECB256.htm e:\testresults\AESMonteCarloDecryptECB256.htm
    79 
    80 tsymmetric z:\tsymmetric\AESMonteCarloEncryptCBC128.script c:\logs\testexecute\AESMonteCarloEncryptCBC128.htm
    81 move c:\logs\testexecute\AESMonteCarloEncryptCBC128.htm e:\testresults\AESMonteCarloEncryptCBC128.htm
    82 
    83 tsymmetric z:\tsymmetric\AESMonteCarloEncryptCBC192A.script c:\logs\testexecute\AESMonteCarloEncryptCBC192A.htm
    84 move c:\logs\testexecute\AESMonteCarloEncryptCBC192A.htm e:\testresults\AESMonteCarloEncryptCBC192A.htm
    85 
    86 tsymmetric z:\tsymmetric\AESMonteCarloEncryptCBC192B.script c:\logs\testexecute\AESMonteCarloEncryptCBC192B.htm
    87 move c:\logs\testexecute\AESMonteCarloEncryptCBC192B.htm e:\testresults\AESMonteCarloEncryptCBC192B.htm
    88 
    89 tsymmetric z:\tsymmetric\AESMonteCarloEncryptCBC256.script c:\logs\testexecute\AESMonteCarloEncryptCBC256.htm
    90 move c:\logs\testexecute\AESMonteCarloEncryptCBC256.htm e:\testresults\AESMonteCarloEncryptCBC256.htm
    91 
    92 tsymmetric z:\tsymmetric\AESMonteCarloDecryptCBC128.script c:\logs\testexecute\AESMonteCarloDecryptCBC128.htm
    93 move c:\logs\testexecute\AESMonteCarloDecryptCBC128.htm e:\testresults\AESMonteCarloDecryptCBC128.htm
    94 
    95 tsymmetric z:\tsymmetric\AESMonteCarloDecryptCBC192.script c:\logs\testexecute\AESMonteCarloDecryptCBC192.htm
    96 move c:\logs\testexecute\AESMonteCarloDecryptCBC192.htm e:\testresults\AESMonteCarloDecryptCBC192.htm
    97 
    98 tsymmetric z:\tsymmetric\AESMonteCarloDecryptCBC256.script c:\logs\testexecute\AESMonteCarloDecryptCBC256.htm
    99 move c:\logs\testexecute\AESMonteCarloDecryptCBC256.htm e:\testresults\AESMonteCarloDecryptCBC256.htm
   100 
   101 
   102 
   103 REM crypto, bigint
   104 
   105 tbigint z:\tbigint\tconstructiontests.script c:\logs\testexecute\tconstruction.htm
   106 move c:\logs\testexecute\tconstruction.htm e:\testresults\tconstruction.htm
   107 
   108 tbigint z:\tbigint\tbasicmathstests.script c:\logs\testexecute\tbasicmaths.htm
   109 move c:\logs\testexecute\tbasicmaths.htm e:\testresults\tbasicmaths.htm
   110 
   111 tbigint z:\tbigint\tmontgomerytests.script c:\logs\testexecute\tmontgomery.htm
   112 move c:\logs\testexecute\tmontgomery.htm e:\testresults\tmontgomery.htm
   113 
   114 REM tbigint z:\tbigint\tperformancetests.script c:\logs\testexecute\tperformance.htm
   115 REM move c:\logs\testexecute\tperformance.htm e:\testresults\tperformance.htm
   116 
   117 tbigint z:\tbigint\tprimetests.script c:\logs\testexecute\tprime.htm
   118 move c:\logs\testexecute\tprime.htm e:\testresults\tprime.htm
   119 
   120 REM tbigint z:\tbigint\tprimetests2.script c:\logs\testexecute\tprime2.htm
   121 REM move c:\logs\testexecute\tprime2.htm e:\testresults\tprime2.htm
   122 
   123 tbigint z:\tbigint\tprimefailuretests.script  c:\logs\testexecute\tprimefailure.htm
   124 move c:\logs\testexecute\tprimefailure.htm e:\testresults\tprimefailure.htm
   125 
   126 tbigint z:\tbigint\tprimegen.script c:\logs\testexecute\tprimegen.htm
   127 move c:\logs\testexecute\tprimegen.htm e:\testresults\tprimegen.htm
   128 
   129 
   130 
   131 REM crypto, tpkcs5kdf
   132 md c:\tpkcs5kdf
   133 
   134 copy z:\tpkcs12kdftests.script c:\tpkcs5kdf\tpkcs12kdftests.script
   135 tpkcs5kdf c:\tpkcs5kdf\tpkcs12kdftests.script c:\tpkcs5kdf\tpkcs12kdftests.htm
   136 move c:\tpkcs5kdf\tpkcs12kdftests.htm e:\testresults\tpkcs12kdftests.htm
   137 del /s c:\tpkcs5kdf\
   138 
   139 
   140 REM crypto, pbe
   141 
   142 md c:\tpbe
   143 copy z:\tpbe\*.dat c:\tpbe
   144 attrib c:\tpbe\strong.dat -r
   145 attrib c:\tpbe\weak.dat -r
   146 tpbe z:\tpbe\tpbetests_v2.script c:\logs\testexecute\tpbetestsv2.htm
   147 move c:\logs\testexecute\tpbetestsv2.htm e:\testresults\tpbetestsv2.htm
   148 
   149 del /s c:\tpbe\