crypto/weakcryptospi/test/tcryptospi/testdata/hmacsetoperationmodechecking.ini
changeset 8 35751d3474b7
equal deleted inserted replaced
2:675a964f4eb5 8:35751d3474b7
       
     1 [MD2]
       
     2 SourcePath		=c:\testdata\tcryptospi\data\SmallHash-SRC.dat
       
     3 ExHashValue		=fcc623357324e48b4dc5ddf3a84dd4dd
       
     4 ExSecondHashValue	=5bbf0610f604175b8c693e5451f19e7f
       
     5 AlgorithmUid		=KAlgorithmHashMd2
       
     6 OperationMode		=KHashMode
       
     7 SecondOperationMode	=KHmacMode
       
     8 EncryptKey		=CryptoSpiValidKey
       
     9 KeyType			=KHmacKeyParameter
       
    10 
       
    11 [MD4]
       
    12 SourcePath		=c:\testdata\tcryptospi\data\SmallHash-SRC.dat
       
    13 ExHashValue		=cebfea1278e31900dc771e44861df2f4
       
    14 ExSecondHashValue	=690610e01f9fb08dad9897ca0827b0f9
       
    15 AlgorithmUid		=KAlgorithmHashMd4
       
    16 OperationMode		=KHashMode
       
    17 SecondOperationMode	=KHmacMode
       
    18 EncryptKey		=CryptoSpiValidKey
       
    19 KeyType			=KHmacKeyParameter
       
    20 
       
    21 [MD5]
       
    22 SourcePath		=c:\testdata\tcryptospi\data\SmallHash-SRC.dat
       
    23 ExHashValue		=785e3f3840b35a8ad31f76c1a2c5a3ec
       
    24 ExSecondHashValue	=6782648a0d7495258a3f88a8522e9ed8
       
    25 AlgorithmUid		=KAlgorithmHashMd5
       
    26 OperationMode		=KHashMode
       
    27 SecondOperationMode	=KHmacMode
       
    28 EncryptKey		=CryptoSpiValidKey
       
    29 KeyType			=KHmacKeyParameter
       
    30 
       
    31 [SHA1]
       
    32 SourcePath		=c:\testdata\tcryptospi\data\SmallHash-SRC.dat
       
    33 ExHashValue		=d5bed0ed782fe7950684f73606a2ac947c84ea33
       
    34 ExSecondHashValue	=d905648e5918c371d2f333aba08aaf7c266957f0
       
    35 AlgorithmUid		=KAlgorithmHashSha1
       
    36 OperationMode		=KHashMode
       
    37 SecondOperationMode	=KHmacMode
       
    38 EncryptKey		=CryptoSpiValidKey
       
    39 KeyType			=KHmacKeyParameter
       
    40 
       
    41 
       
    42 [SHA224]
       
    43 SourcePath		=c:\testdata\tcryptospi\data\SmallHash-SRC.dat
       
    44 ExHashValue		=745fba18d812535fceaa879307428fa180ef23e6852e647676270d62
       
    45 ExSecondHashValue	=6a885bd46638baa44b8ed0fcd6112c4c35196e5487ac10a2921db2d6
       
    46 AlgorithmUid		=KAlgorithmHashSha224
       
    47 OperationMode		=KHashMode
       
    48 SecondOperationMode	=KHmacMode
       
    49 EncryptKey		=CryptoSpiValidKey
       
    50 KeyType			=KHmacKeyParameter
       
    51 
       
    52 
       
    53 [SHA256]
       
    54 SourcePath		=c:\testdata\tcryptospi\data\SmallHash-SRC.dat
       
    55 ExHashValue		=b088049d7d5701b6071911ad8100263c6536c3a28ddcdb8dbdcc834f4c65b92c
       
    56 ExSecondHashValue	=7def8226ba7a1fe52f5410f9546ee950999eecb21a1b6dd5f608acc72c18ae90
       
    57 AlgorithmUid		=KAlgorithmHashSha256
       
    58 OperationMode		=KHashMode
       
    59 SecondOperationMode	=KHmacMode
       
    60 EncryptKey		=CryptoSpiValidKey
       
    61 KeyType			=KHmacKeyParameter
       
    62 
       
    63 
       
    64 [SHA384]
       
    65 SourcePath		=c:\testdata\tcryptospi\data\SmallHash-SRC.dat
       
    66 ExHashValue		=599b99eeb0d1c04dfe8fcbaa33210f7aaafed599ad34b365b55c178dada4409fa394515ddaa711c9d50a9c608972375a
       
    67 ExSecondHashValue	=99fb021f6b21e0846e8529ecea2e83a4391e3f0f0c0e89ac083cda05703d88a57604830ab33661c38891d2011b0632a0
       
    68 AlgorithmUid		=KAlgorithmHashSha384
       
    69 OperationMode		=KHashMode
       
    70 SecondOperationMode	=KHmacMode
       
    71 EncryptKey		=CryptoSpiValidKey
       
    72 KeyType			=KHmacKeyParameter
       
    73 
       
    74 
       
    75 [SHA512]
       
    76 SourcePath		=c:\testdata\tcryptospi\data\SmallHash-SRC.dat
       
    77 ExHashValue		=4a73e3ec52e946a7f5b859b2ddfe2f701ee9b614bb22774ac099a6b03940f3a9de75f9ad220b2dbbcb03ac2346685dd206b56ea1106b5e59b16eb967b42be56a
       
    78 ExSecondHashValue	=5954506259323c23f8f273ca0ce9f8b94a8640b5b42addc545da4cad590ab33343d8b994ae7e3bbddb5dea784c2feb052a7c7dffdd0f6099ca4ef3be4e223e58
       
    79 AlgorithmUid		=KAlgorithmHashSha512
       
    80 OperationMode		=KHashMode
       
    81 SecondOperationMode	=KHmacMode
       
    82 EncryptKey		=CryptoSpiValidKey
       
    83 KeyType			=KHmacKeyParameter
       
    84 
       
    85 
       
    86 [InvalidInitialOperationMode]
       
    87 SourcePath		=c:\testdata\tcryptospi\data\SmallHash-SRC.dat
       
    88 ExHashValue		=d5bed0ed782fe7950684f73606a2ac947c84ea33
       
    89 ExSecondHashValue	=d905648e5918c371d2f333aba08aaf7c266957f0
       
    90 AlgorithmUid		=KAlgorithmHashSha1
       
    91 OperationMode		=KOperationModeNone
       
    92 SecondOperationMode	=KHmacMode
       
    93 EncryptKey		=CryptoSpiValidKey
       
    94 KeyType			=KHmacKeyParameter
       
    95 
       
    96 [InvalidSetOperationMode]
       
    97 SourcePath		=c:\testdata\tcryptospi\data\SmallHash-SRC.dat
       
    98 ExHashValue		=785e3f3840b35a8ad31f76c1a2c5a3ec
       
    99 ExSecondHashValue	=6782648a0d7495258a3f88a8522e9ed8
       
   100 AlgorithmUid		=KAlgorithmHashMd5
       
   101 OperationMode		=KHashMode
       
   102 SecondOperationMode	=KOperationModeECB
       
   103 EncryptKey		=CryptoSpiValidKey
       
   104 KeyType			=KHmacKeyParameter
       
   105 
       
   106 [InvalidAlgorithm]
       
   107 SourcePath		=c:\testdata\tcryptospi\data\SmallHash-SRC.dat
       
   108 ExHashValue		=d5bed0ed782fe7950684f73606a2ac947c84ea33
       
   109 ExSecondHashValue	=d905648e5918c371d2f333aba08aaf7c266957f0
       
   110 AlgorithmUid		=KAlgorithmCipherDes
       
   111 OperationMode		=KHashMode
       
   112 SecondOperationMode	=KHmacMode
       
   113 EncryptKey		=CryptoSpiValidKey
       
   114 KeyType			=KHmacKeyParameter
       
   115 
       
   116 
       
   117 
       
   118