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