diff -r 675a964f4eb5 -r 35751d3474b7 crypto/weakcryptospi/test/tcryptospi/testdata/hmacsetoperationmodechecking.ini --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/crypto/weakcryptospi/test/tcryptospi/testdata/hmacsetoperationmodechecking.ini Thu Sep 10 14:01:51 2009 +0300 @@ -0,0 +1,118 @@ +[MD2] +SourcePath =c:\testdata\tcryptospi\data\SmallHash-SRC.dat +ExHashValue =fcc623357324e48b4dc5ddf3a84dd4dd +ExSecondHashValue =5bbf0610f604175b8c693e5451f19e7f +AlgorithmUid =KAlgorithmHashMd2 +OperationMode =KHashMode +SecondOperationMode =KHmacMode +EncryptKey =CryptoSpiValidKey +KeyType =KHmacKeyParameter + +[MD4] +SourcePath =c:\testdata\tcryptospi\data\SmallHash-SRC.dat +ExHashValue =cebfea1278e31900dc771e44861df2f4 +ExSecondHashValue =690610e01f9fb08dad9897ca0827b0f9 +AlgorithmUid =KAlgorithmHashMd4 +OperationMode =KHashMode +SecondOperationMode =KHmacMode +EncryptKey =CryptoSpiValidKey +KeyType =KHmacKeyParameter + +[MD5] +SourcePath =c:\testdata\tcryptospi\data\SmallHash-SRC.dat +ExHashValue =785e3f3840b35a8ad31f76c1a2c5a3ec +ExSecondHashValue =6782648a0d7495258a3f88a8522e9ed8 +AlgorithmUid =KAlgorithmHashMd5 +OperationMode =KHashMode +SecondOperationMode =KHmacMode +EncryptKey =CryptoSpiValidKey +KeyType =KHmacKeyParameter + +[SHA1] +SourcePath =c:\testdata\tcryptospi\data\SmallHash-SRC.dat +ExHashValue =d5bed0ed782fe7950684f73606a2ac947c84ea33 +ExSecondHashValue =d905648e5918c371d2f333aba08aaf7c266957f0 +AlgorithmUid =KAlgorithmHashSha1 +OperationMode =KHashMode +SecondOperationMode =KHmacMode +EncryptKey =CryptoSpiValidKey +KeyType =KHmacKeyParameter + + +[SHA224] +SourcePath =c:\testdata\tcryptospi\data\SmallHash-SRC.dat +ExHashValue =745fba18d812535fceaa879307428fa180ef23e6852e647676270d62 +ExSecondHashValue =6a885bd46638baa44b8ed0fcd6112c4c35196e5487ac10a2921db2d6 +AlgorithmUid =KAlgorithmHashSha224 +OperationMode =KHashMode +SecondOperationMode =KHmacMode +EncryptKey =CryptoSpiValidKey +KeyType =KHmacKeyParameter + + +[SHA256] +SourcePath =c:\testdata\tcryptospi\data\SmallHash-SRC.dat +ExHashValue =b088049d7d5701b6071911ad8100263c6536c3a28ddcdb8dbdcc834f4c65b92c +ExSecondHashValue =7def8226ba7a1fe52f5410f9546ee950999eecb21a1b6dd5f608acc72c18ae90 +AlgorithmUid =KAlgorithmHashSha256 +OperationMode =KHashMode +SecondOperationMode =KHmacMode +EncryptKey =CryptoSpiValidKey +KeyType =KHmacKeyParameter + + +[SHA384] +SourcePath =c:\testdata\tcryptospi\data\SmallHash-SRC.dat +ExHashValue =599b99eeb0d1c04dfe8fcbaa33210f7aaafed599ad34b365b55c178dada4409fa394515ddaa711c9d50a9c608972375a +ExSecondHashValue =99fb021f6b21e0846e8529ecea2e83a4391e3f0f0c0e89ac083cda05703d88a57604830ab33661c38891d2011b0632a0 +AlgorithmUid =KAlgorithmHashSha384 +OperationMode =KHashMode +SecondOperationMode =KHmacMode +EncryptKey =CryptoSpiValidKey +KeyType =KHmacKeyParameter + + +[SHA512] +SourcePath =c:\testdata\tcryptospi\data\SmallHash-SRC.dat +ExHashValue =4a73e3ec52e946a7f5b859b2ddfe2f701ee9b614bb22774ac099a6b03940f3a9de75f9ad220b2dbbcb03ac2346685dd206b56ea1106b5e59b16eb967b42be56a +ExSecondHashValue =5954506259323c23f8f273ca0ce9f8b94a8640b5b42addc545da4cad590ab33343d8b994ae7e3bbddb5dea784c2feb052a7c7dffdd0f6099ca4ef3be4e223e58 +AlgorithmUid =KAlgorithmHashSha512 +OperationMode =KHashMode +SecondOperationMode =KHmacMode +EncryptKey =CryptoSpiValidKey +KeyType =KHmacKeyParameter + + +[InvalidInitialOperationMode] +SourcePath =c:\testdata\tcryptospi\data\SmallHash-SRC.dat +ExHashValue =d5bed0ed782fe7950684f73606a2ac947c84ea33 +ExSecondHashValue =d905648e5918c371d2f333aba08aaf7c266957f0 +AlgorithmUid =KAlgorithmHashSha1 +OperationMode =KOperationModeNone +SecondOperationMode =KHmacMode +EncryptKey =CryptoSpiValidKey +KeyType =KHmacKeyParameter + +[InvalidSetOperationMode] +SourcePath =c:\testdata\tcryptospi\data\SmallHash-SRC.dat +ExHashValue =785e3f3840b35a8ad31f76c1a2c5a3ec +ExSecondHashValue =6782648a0d7495258a3f88a8522e9ed8 +AlgorithmUid =KAlgorithmHashMd5 +OperationMode =KHashMode +SecondOperationMode =KOperationModeECB +EncryptKey =CryptoSpiValidKey +KeyType =KHmacKeyParameter + +[InvalidAlgorithm] +SourcePath =c:\testdata\tcryptospi\data\SmallHash-SRC.dat +ExHashValue =d5bed0ed782fe7950684f73606a2ac947c84ea33 +ExSecondHashValue =d905648e5918c371d2f333aba08aaf7c266957f0 +AlgorithmUid =KAlgorithmCipherDes +OperationMode =KHashMode +SecondOperationMode =KHmacMode +EncryptKey =CryptoSpiValidKey +KeyType =KHmacKeyParameter + + + +