os/security/crypto/weakcryptospi/test/tcryptospi/testdata/ruleselection_descend.ini
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/security/crypto/weakcryptospi/test/tcryptospi/testdata/ruleselection_descend.ini Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,317 @@
1.4 +[CreatorName]
1.5 +InterfaceType =KHashInterface
1.6 +AlgorithmUid =KAlgorithmHashMd5
1.7 +OperationMode =KHashMode
1.8 +AlgorithmParams =NULL
1.9 +
1.10 +InterfaceScopeRule1 =KHashInterface
1.11 +AlgorithmScopeRule1 =KNone
1.12 +CharacterUidRule1 =KCreatorNameType
1.13 +CompareOperatorRule1 =EOpDescendingSort
1.14 +CharacterValueRule1 =NULL
1.15 +CharacterValueTypeRule1 =ERuleValueDes16
1.16 +IsOptionaRule1 =False
1.17 +
1.18 +ExAlgorithmUid =KAlgorithmHashMd5
1.19 +ExImplementationUid =KTestPlugin02Md5_1
1.20 +
1.21 +//****************************************************************************
1.22 +//****************************************************************************
1.23 +
1.24 +[MaxConcurrency]
1.25 +InterfaceType =KSymmetricCipherInterface
1.26 +EncryptKey =ABCDEFGH
1.27 +KeyType =KSymmetricKeyParameter
1.28 +AlgorithmUid =KAlgorithmCipherDes
1.29 +CryptoMode =KCryptoModeEncrypt
1.30 +OperationMode =KOperationModeNone
1.31 +PaddingMode =KPaddingModeNone
1.32 +AlgorithmParams =NULL
1.33 +
1.34 +InterfaceScopeRule1 =KNone
1.35 +AlgorithmScopeRule1 =KNone
1.36 +CharacterUidRule1 =KMaxConcurrencySupportedType
1.37 +CompareOperatorRule1 =EOpDescendingSort
1.38 +CharacterValueRule1 =NULL
1.39 +CharacterValueTypeRule1 =ERuleValueInteger
1.40 +IsOptionaRule1 =False
1.41 +
1.42 +ExAlgorithmUid =KAlgorithmCipherDes
1.43 +ExImplementationUid =KTestPlugin01Des_3
1.44 +
1.45 +//****************************************************************************
1.46 +//****************************************************************************
1.47 +
1.48 +[Latency]
1.49 +InterfaceType =KSymmetricCipherInterface
1.50 +EncryptKey =ABCDEFGH
1.51 +KeyType =KSymmetricKeyParameter
1.52 +AlgorithmUid =KAlgorithmCipherDes
1.53 +CryptoMode =KCryptoModeEncrypt
1.54 +OperationMode =KOperationModeNone
1.55 +PaddingMode =KPaddingModeNone
1.56 +AlgorithmParams =NULL
1.57 +
1.58 +InterfaceScopeRule1 =KNone
1.59 +AlgorithmScopeRule1 =KNone
1.60 +CharacterUidRule1 =KLatencyType
1.61 +CompareOperatorRule1 =EOpDescendingSort
1.62 +CharacterValueRule1 =NULL
1.63 +CharacterValueTypeRule1 =ERuleValueInteger
1.64 +IsOptionaRule1 =False
1.65 +
1.66 +ExAlgorithmUid =KAlgorithmCipherDes
1.67 +ExImplementationUid =KTestPlugin02Des_2
1.68 +
1.69 +//****************************************************************************
1.70 +//****************************************************************************
1.71 +
1.72 +[Throughput]
1.73 +InterfaceType =KHashInterface
1.74 +AlgorithmUid =KAlgorithmHashMd5
1.75 +OperationMode =KHashMode
1.76 +AlgorithmParams =NULL
1.77 +
1.78 +InterfaceScopeRule1 =KHashInterface
1.79 +AlgorithmScopeRule1 =KNone
1.80 +CharacterUidRule1 =KThroughputType
1.81 +CompareOperatorRule1 =EOpDescendingSort
1.82 +CharacterValueRule1 =NULL
1.83 +CharacterValueTypeRule1 =ERuleValueInteger
1.84 +IsOptionaRule1 =False
1.85 +
1.86 +ExAlgorithmUid =KAlgorithmHashMd5
1.87 +ExImplementationUid =KTestPlugin02Md5_1
1.88 +
1.89 +//****************************************************************************
1.90 +//****************************************************************************
1.91 +
1.92 +[HashBlockSize]
1.93 +InterfaceType =KHashInterface
1.94 +AlgorithmUid =KAlgorithmHashMd5
1.95 +OperationMode =KHashMode
1.96 +AlgorithmParams =NULL
1.97 +
1.98 +InterfaceScopeRule1 =KHashInterface
1.99 +AlgorithmScopeRule1 =KNone
1.100 +CharacterUidRule1 =KBlockSizeType
1.101 +CompareOperatorRule1 =EOpDescendingSort
1.102 +CharacterValueRule1 =NULL
1.103 +CharacterValueTypeRule1 =ERuleValueInteger
1.104 +IsOptionaRule1 =False
1.105 +
1.106 +ExAlgorithmUid =KAlgorithmHashMd5
1.107 +ExImplementationUid =KTestPlugin02Md5_1
1.108 +
1.109 +//****************************************************************************
1.110 +//****************************************************************************
1.111 +
1.112 +[HashOutputSize]
1.113 +InterfaceType =KHashInterface
1.114 +AlgorithmUid =KAlgorithmHashMd2
1.115 +OperationMode =KHashMode
1.116 +AlgorithmParams =NULL
1.117 +
1.118 +InterfaceScopeRule1 =KHashInterface
1.119 +AlgorithmScopeRule1 =KNone
1.120 +CharacterUidRule1 =KOutputSizeType
1.121 +CompareOperatorRule1 =EOpDescendingSort
1.122 +CharacterValueRule1 =NULL
1.123 +CharacterValueTypeRule1 =ERuleValueInteger
1.124 +IsOptionaRule1 =False
1.125 +
1.126 +ExAlgorithmUid =KAlgorithmHashMd2
1.127 +ExImplementationUid =KTestPlugin01Md2_2
1.128 +
1.129 +
1.130 +//****************************************************************************
1.131 +//****************************************************************************
1.132 +
1.133 +[SymmetricCipherKeyLength]
1.134 +InterfaceType =KSymmetricCipherInterface
1.135 +EncryptKey =ABCDEFGH
1.136 +KeyType =KSymmetricKeyParameter
1.137 +AlgorithmUid =KAlgorithmCipherDes
1.138 +CryptoMode =KCryptoModeEncrypt
1.139 +OperationMode =KOperationModeNone
1.140 +PaddingMode =KPaddingModeNone
1.141 +AlgorithmParams =NULL
1.142 +
1.143 +InterfaceScopeRule1 =KSymmetricCipherInterface
1.144 +AlgorithmScopeRule1 =KNone
1.145 +CharacterUidRule1 =KMaximumKeyLengthType
1.146 +CompareOperatorRule1 =EOpDescendingSort
1.147 +CharacterValueRule1 =NULL
1.148 +CharacterValueTypeRule1 =ERuleValueInteger
1.149 +IsOptionaRule1 =False
1.150 +
1.151 +ExAlgorithmUid =KAlgorithmCipherDes
1.152 +ExImplementationUid =KTestPlugin01Des_3
1.153 +
1.154 +//****************************************************************************
1.155 +//****************************************************************************
1.156 +
1.157 +[SymmetricCipherBlockSize]
1.158 +InterfaceType =KSymmetricCipherInterface
1.159 +EncryptKey =ABCDEFGH
1.160 +KeyType =KSymmetricKeyParameter
1.161 +AlgorithmUid =KAlgorithmCipherDes
1.162 +CryptoMode =KCryptoModeEncrypt
1.163 +OperationMode =KOperationModeNone
1.164 +PaddingMode =KPaddingModeNone
1.165 +AlgorithmParams =NULL
1.166 +
1.167 +InterfaceScopeRule1 =KNone
1.168 +AlgorithmScopeRule1 =KAlgorithmCipherDes
1.169 +CharacterUidRule1 =KBlockSizeType
1.170 +CompareOperatorRule1 =EOpDescendingSort
1.171 +CharacterValueRule1 =NULL
1.172 +CharacterValueTypeRule1 =ERuleValueInteger
1.173 +IsOptionaRule1 =False
1.174 +
1.175 +ExAlgorithmUid =KAlgorithmCipherDes
1.176 +ExImplementationUid =KTestPlugin01Des_3
1.177 +
1.178 +//****************************************************************************
1.179 +//****************************************************************************
1.180 +
1.181 +[SymmetricCipherKeySupport]
1.182 +InterfaceType =KSymmetricCipherInterface
1.183 +EncryptKey =ABCDEFGH
1.184 +KeyType =KSymmetricKeyParameter
1.185 +AlgorithmUid =KAlgorithmCipherDes
1.186 +CryptoMode =KCryptoModeEncrypt
1.187 +OperationMode =KOperationModeNone
1.188 +PaddingMode =KPaddingModeNone
1.189 +AlgorithmParams =NULL
1.190 +
1.191 +InterfaceScopeRule1 =KSymmetricCipherInterface
1.192 +AlgorithmScopeRule1 =KAlgorithmCipherDes
1.193 +CharacterUidRule1 =KKeySupportModeType
1.194 +CompareOperatorRule1 =EOpDescendingSort
1.195 +CharacterValueRule1 =NULL
1.196 +CharacterValueTypeRule1 =ERuleValueInteger
1.197 +IsOptionaRule1 =False
1.198 +
1.199 +ExAlgorithmUid =KAlgorithmCipherDes
1.200 +ExImplementationUid =KTestPlugin02Des_1
1.201 +
1.202 +//****************************************************************************
1.203 +//****************************************************************************
1.204 +
1.205 +[AsymmetricCipherKeyLength]
1.206 +InterfaceType =KAsymmetricCipherInterface
1.207 +AlgorithmUid =KAlgorithmCipherRsa
1.208 +CryptoMode =KCryptoModeEncrypt
1.209 +PaddingMode =KPaddingModeNone
1.210 +AlgorithmParams =NULL
1.211 +
1.212 +InterfaceScopeRule1 =KAsymmetricCipherInterface
1.213 +AlgorithmScopeRule1 =KNone
1.214 +CharacterUidRule1 =KMaximumKeyLengthType
1.215 +CompareOperatorRule1 =EOpDescendingSort
1.216 +CharacterValueRule1 =NULL
1.217 +CharacterValueTypeRule1 =ERuleValueInteger
1.218 +IsOptionaRule1 =False
1.219 +
1.220 +ExAlgorithmUid =KAlgorithmCipherRsa
1.221 +ExImplementationUid =KTestPlugin02Rsa_2
1.222 +
1.223 +//****************************************************************************
1.224 +//****************************************************************************
1.225 +
1.226 +[AsymmetricCipherKeySupport]
1.227 +InterfaceType =KAsymmetricCipherInterface
1.228 +AlgorithmUid =KAlgorithmCipherRsa
1.229 +CryptoMode =KCryptoModeEncrypt
1.230 +PaddingMode =KPaddingModeNone
1.231 +AlgorithmParams =NULL
1.232 +
1.233 +InterfaceScopeRule1 =KNone
1.234 +AlgorithmScopeRule1 =KAlgorithmCipherRsa
1.235 +CharacterUidRule1 =KKeySupportModeType
1.236 +CompareOperatorRule1 =EOpDescendingSort
1.237 +CharacterValueRule1 =NULL
1.238 +CharacterValueTypeRule1 =ERuleValueInteger
1.239 +IsOptionaRule1 =False
1.240 +
1.241 +ExAlgorithmUid =KAlgorithmCipherRsa
1.242 +ExImplementationUid =KTestPlugin02Rsa_1
1.243 +
1.244 +//****************************************************************************
1.245 +//****************************************************************************
1.246 +
1.247 +[SignatureKeyLength]
1.248 +InterfaceType =KVerifierInterface
1.249 +AlgorithmUid =KAlgorithmVerifierRsa
1.250 +PaddingMode =KPaddingModePkcs1_v1_5_Signature
1.251 +AlgorithmParams =NULL
1.252 +
1.253 +InterfaceScopeRule1 =KVerifierInterface
1.254 +AlgorithmScopeRule1 =KNone
1.255 +CharacterUidRule1 =KMaximumKeyLengthType
1.256 +CompareOperatorRule1 =EOpDescendingSort
1.257 +CharacterValueRule1 =NULL
1.258 +CharacterValueTypeRule1 =ERuleValueInteger
1.259 +IsOptionaRule1 =False
1.260 +
1.261 +ExAlgorithmUid =KAlgorithmVerifierRsa
1.262 +ExImplementationUid =KTestPlugin01RsaVerifier_1
1.263 +
1.264 +//****************************************************************************
1.265 +//****************************************************************************
1.266 +
1.267 +[SignatureKeySupport]
1.268 +InterfaceType =KVerifierInterface
1.269 +AlgorithmUid =KAlgorithmVerifierRsa
1.270 +PaddingMode =KPaddingModePkcs1_v1_5_Signature
1.271 +AlgorithmParams =NULL
1.272 +
1.273 +InterfaceScopeRule1 =KVerifierInterface
1.274 +AlgorithmScopeRule1 =KAlgorithmVerifierRsa
1.275 +CharacterUidRule1 =KKeySupportModeType
1.276 +CompareOperatorRule1 =EOpDescendingSort
1.277 +CharacterValueRule1 =NULL
1.278 +CharacterValueTypeRule1 =ERuleValueInteger
1.279 +IsOptionaRule1 =False
1.280 +
1.281 +ExAlgorithmUid =KAlgorithmVerifierRsa
1.282 +ExImplementationUid =KTestPlugin01RsaVerifier_2
1.283 +
1.284 +//****************************************************************************
1.285 +//****************************************************************************
1.286 +
1.287 +[RandomBlockingMode]
1.288 +InterfaceType =KRandomInterface
1.289 +AlgorithmUid =KAlgorithmRandom
1.290 +AlgorithmParams =NULL
1.291 +
1.292 +InterfaceScopeRule1 =KNone
1.293 +AlgorithmScopeRule1 =KAlgorithmRandom
1.294 +CharacterUidRule1 =KBlockingModeType
1.295 +CompareOperatorRule1 =EOpDescendingSort
1.296 +CharacterValueRule1 =NULL
1.297 +CharacterValueTypeRule1 =ERuleValueInteger
1.298 +IsOptionaRule1 =False
1.299 +
1.300 +ExAlgorithmUid =KAlgorithmRandom
1.301 +ExImplementationUid =KTestPlugin02Random_1
1.302 +
1.303 +//****************************************************************************
1.304 +//****************************************************************************
1.305 +
1.306 +[KeyPairGenKeyLength]
1.307 +InterfaceType =KKeypairGeneratorInterface
1.308 +AlgorithmUid =KAlgorithmRSAKeyPairGenerator
1.309 +AlgorithmParams =NULL
1.310 +
1.311 +InterfaceScopeRule1 =KKeypairGeneratorInterface
1.312 +AlgorithmScopeRule1 =KAlgorithmRSAKeyPairGenerator
1.313 +CharacterUidRule1 =KMaximumKeyLengthType
1.314 +CompareOperatorRule1 =EOpDescendingSort
1.315 +CharacterValueRule1 =NULL
1.316 +CharacterValueTypeRule1 =ERuleValueInteger
1.317 +IsOptionaRule1 =False
1.318 +
1.319 +ExAlgorithmUid =KAlgorithmRSAKeyPairGenerator
1.320 +ExImplementationUid =KTestPlugin01RsaKeyGen_1
1.321 \ No newline at end of file