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