os/security/crypto/weakcryptospi/test/tcryptospi/testdata/hmacsetoperationmodechecking.ini
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/security/crypto/weakcryptospi/test/tcryptospi/testdata/hmacsetoperationmodechecking.ini Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,118 @@
1.4 +[MD2]
1.5 +SourcePath =c:\testdata\tcryptospi\data\SmallHash-SRC.dat
1.6 +ExHashValue =fcc623357324e48b4dc5ddf3a84dd4dd
1.7 +ExSecondHashValue =5bbf0610f604175b8c693e5451f19e7f
1.8 +AlgorithmUid =KAlgorithmHashMd2
1.9 +OperationMode =KHashMode
1.10 +SecondOperationMode =KHmacMode
1.11 +EncryptKey =CryptoSpiValidKey
1.12 +KeyType =KHmacKeyParameter
1.13 +
1.14 +[MD4]
1.15 +SourcePath =c:\testdata\tcryptospi\data\SmallHash-SRC.dat
1.16 +ExHashValue =cebfea1278e31900dc771e44861df2f4
1.17 +ExSecondHashValue =690610e01f9fb08dad9897ca0827b0f9
1.18 +AlgorithmUid =KAlgorithmHashMd4
1.19 +OperationMode =KHashMode
1.20 +SecondOperationMode =KHmacMode
1.21 +EncryptKey =CryptoSpiValidKey
1.22 +KeyType =KHmacKeyParameter
1.23 +
1.24 +[MD5]
1.25 +SourcePath =c:\testdata\tcryptospi\data\SmallHash-SRC.dat
1.26 +ExHashValue =785e3f3840b35a8ad31f76c1a2c5a3ec
1.27 +ExSecondHashValue =6782648a0d7495258a3f88a8522e9ed8
1.28 +AlgorithmUid =KAlgorithmHashMd5
1.29 +OperationMode =KHashMode
1.30 +SecondOperationMode =KHmacMode
1.31 +EncryptKey =CryptoSpiValidKey
1.32 +KeyType =KHmacKeyParameter
1.33 +
1.34 +[SHA1]
1.35 +SourcePath =c:\testdata\tcryptospi\data\SmallHash-SRC.dat
1.36 +ExHashValue =d5bed0ed782fe7950684f73606a2ac947c84ea33
1.37 +ExSecondHashValue =d905648e5918c371d2f333aba08aaf7c266957f0
1.38 +AlgorithmUid =KAlgorithmHashSha1
1.39 +OperationMode =KHashMode
1.40 +SecondOperationMode =KHmacMode
1.41 +EncryptKey =CryptoSpiValidKey
1.42 +KeyType =KHmacKeyParameter
1.43 +
1.44 +
1.45 +[SHA224]
1.46 +SourcePath =c:\testdata\tcryptospi\data\SmallHash-SRC.dat
1.47 +ExHashValue =745fba18d812535fceaa879307428fa180ef23e6852e647676270d62
1.48 +ExSecondHashValue =6a885bd46638baa44b8ed0fcd6112c4c35196e5487ac10a2921db2d6
1.49 +AlgorithmUid =KAlgorithmHashSha224
1.50 +OperationMode =KHashMode
1.51 +SecondOperationMode =KHmacMode
1.52 +EncryptKey =CryptoSpiValidKey
1.53 +KeyType =KHmacKeyParameter
1.54 +
1.55 +
1.56 +[SHA256]
1.57 +SourcePath =c:\testdata\tcryptospi\data\SmallHash-SRC.dat
1.58 +ExHashValue =b088049d7d5701b6071911ad8100263c6536c3a28ddcdb8dbdcc834f4c65b92c
1.59 +ExSecondHashValue =7def8226ba7a1fe52f5410f9546ee950999eecb21a1b6dd5f608acc72c18ae90
1.60 +AlgorithmUid =KAlgorithmHashSha256
1.61 +OperationMode =KHashMode
1.62 +SecondOperationMode =KHmacMode
1.63 +EncryptKey =CryptoSpiValidKey
1.64 +KeyType =KHmacKeyParameter
1.65 +
1.66 +
1.67 +[SHA384]
1.68 +SourcePath =c:\testdata\tcryptospi\data\SmallHash-SRC.dat
1.69 +ExHashValue =599b99eeb0d1c04dfe8fcbaa33210f7aaafed599ad34b365b55c178dada4409fa394515ddaa711c9d50a9c608972375a
1.70 +ExSecondHashValue =99fb021f6b21e0846e8529ecea2e83a4391e3f0f0c0e89ac083cda05703d88a57604830ab33661c38891d2011b0632a0
1.71 +AlgorithmUid =KAlgorithmHashSha384
1.72 +OperationMode =KHashMode
1.73 +SecondOperationMode =KHmacMode
1.74 +EncryptKey =CryptoSpiValidKey
1.75 +KeyType =KHmacKeyParameter
1.76 +
1.77 +
1.78 +[SHA512]
1.79 +SourcePath =c:\testdata\tcryptospi\data\SmallHash-SRC.dat
1.80 +ExHashValue =4a73e3ec52e946a7f5b859b2ddfe2f701ee9b614bb22774ac099a6b03940f3a9de75f9ad220b2dbbcb03ac2346685dd206b56ea1106b5e59b16eb967b42be56a
1.81 +ExSecondHashValue =5954506259323c23f8f273ca0ce9f8b94a8640b5b42addc545da4cad590ab33343d8b994ae7e3bbddb5dea784c2feb052a7c7dffdd0f6099ca4ef3be4e223e58
1.82 +AlgorithmUid =KAlgorithmHashSha512
1.83 +OperationMode =KHashMode
1.84 +SecondOperationMode =KHmacMode
1.85 +EncryptKey =CryptoSpiValidKey
1.86 +KeyType =KHmacKeyParameter
1.87 +
1.88 +
1.89 +[InvalidInitialOperationMode]
1.90 +SourcePath =c:\testdata\tcryptospi\data\SmallHash-SRC.dat
1.91 +ExHashValue =d5bed0ed782fe7950684f73606a2ac947c84ea33
1.92 +ExSecondHashValue =d905648e5918c371d2f333aba08aaf7c266957f0
1.93 +AlgorithmUid =KAlgorithmHashSha1
1.94 +OperationMode =KOperationModeNone
1.95 +SecondOperationMode =KHmacMode
1.96 +EncryptKey =CryptoSpiValidKey
1.97 +KeyType =KHmacKeyParameter
1.98 +
1.99 +[InvalidSetOperationMode]
1.100 +SourcePath =c:\testdata\tcryptospi\data\SmallHash-SRC.dat
1.101 +ExHashValue =785e3f3840b35a8ad31f76c1a2c5a3ec
1.102 +ExSecondHashValue =6782648a0d7495258a3f88a8522e9ed8
1.103 +AlgorithmUid =KAlgorithmHashMd5
1.104 +OperationMode =KHashMode
1.105 +SecondOperationMode =KOperationModeECB
1.106 +EncryptKey =CryptoSpiValidKey
1.107 +KeyType =KHmacKeyParameter
1.108 +
1.109 +[InvalidAlgorithm]
1.110 +SourcePath =c:\testdata\tcryptospi\data\SmallHash-SRC.dat
1.111 +ExHashValue =d5bed0ed782fe7950684f73606a2ac947c84ea33
1.112 +ExSecondHashValue =d905648e5918c371d2f333aba08aaf7c266957f0
1.113 +AlgorithmUid =KAlgorithmCipherDes
1.114 +OperationMode =KHashMode
1.115 +SecondOperationMode =KHmacMode
1.116 +EncryptKey =CryptoSpiValidKey
1.117 +KeyType =KHmacKeyParameter
1.118 +
1.119 +
1.120 +
1.121 +