os/security/crypto/weakcryptospi/test/tcryptospi/testdata/ruleselection_ascend.ini
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/security/crypto/weakcryptospi/test/tcryptospi/testdata/ruleselection_ascend.ini	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,319 @@
     1.4 +[CreatorName]
     1.5 +InterfaceType			=KHashInterface
     1.6 +AlgorithmUid			=KAlgorithmHashMd2
     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		=EOpAscendingSort
    1.14 +CharacterValueRule1		=NULL
    1.15 +CharacterValueTypeRule1		=ERuleValueDes16
    1.16 +IsOptionaRule1			=False
    1.17 +
    1.18 +ExAlgorithmUid			=KAlgorithmHashMd2
    1.19 +ExImplementationUid		=KTestPlugin01Md2_2
    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		=KAlgorithmCipherDes
    1.36 +CharacterUidRule1		=KMaxConcurrencySupportedType
    1.37 +CompareOperatorRule1		=EOpAscendingSort
    1.38 +CharacterValueRule1		=NULL
    1.39 +CharacterValueTypeRule1		=ERuleValueInteger
    1.40 +IsOptionaRule1			=False
    1.41 +
    1.42 +ExAlgorithmUid			=KAlgorithmCipherDes
    1.43 +ExImplementationUid		=KTestPlugin01Des_2
    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		=EOpAscendingSort
    1.62 +CharacterValueRule1		=NULL
    1.63 +CharacterValueTypeRule1		=ERuleValueInteger
    1.64 +IsOptionaRule1			=False
    1.65 +
    1.66 +ExAlgorithmUid			=KAlgorithmCipherDes
    1.67 +ExImplementationUid		=KTestPlugin01Des_4
    1.68 +
    1.69 +//****************************************************************************
    1.70 +//****************************************************************************
    1.71 +
    1.72 +[Throughput]
    1.73 +InterfaceType			=KHashInterface
    1.74 +AlgorithmUid			=KAlgorithmHashMd2
    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		=EOpAscendingSort
    1.82 +CharacterValueRule1		=NULL
    1.83 +CharacterValueTypeRule1		=ERuleValueInteger
    1.84 +IsOptionaRule1			=False
    1.85 +
    1.86 +ExAlgorithmUid			=KAlgorithmHashMd2
    1.87 +ExImplementationUid		=KTestPlugin01Md2_1
    1.88 +
    1.89 +//****************************************************************************
    1.90 +//****************************************************************************
    1.91 +
    1.92 +[HashBlockSize]
    1.93 +InterfaceType			=KHashInterface
    1.94 +AlgorithmUid			=KAlgorithmHashMd2
    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		=EOpAscendingSort
   1.102 +CharacterValueRule1		=NULL
   1.103 +CharacterValueTypeRule1		=ERuleValueInteger
   1.104 +IsOptionaRule1			=False
   1.105 +
   1.106 +ExAlgorithmUid			=KAlgorithmHashMd2
   1.107 +ExImplementationUid		=KTestPlugin01Md2_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		=EOpAscendingSort
   1.122 +CharacterValueRule1		=NULL
   1.123 +CharacterValueTypeRule1		=ERuleValueInteger
   1.124 +IsOptionaRule1			=False
   1.125 +
   1.126 +ExAlgorithmUid			=KAlgorithmHashMd2
   1.127 +ExImplementationUid		=KTestPlugin01Md2_1
   1.128 +
   1.129 +//****************************************************************************
   1.130 +//****************************************************************************
   1.131 +
   1.132 +[SymmetricCipherKeyLength]
   1.133 +InterfaceType			=KSymmetricCipherInterface
   1.134 +EncryptKey			=ABCDEFGH
   1.135 +KeyType				=KSymmetricKeyParameter
   1.136 +AlgorithmUid			=KAlgorithmCipherDes
   1.137 +CryptoMode			=KCryptoModeEncrypt
   1.138 +OperationMode			=KOperationModeNone
   1.139 +PaddingMode			=KPaddingModeNone
   1.140 +AlgorithmParams			=NULL
   1.141 +
   1.142 +InterfaceScopeRule1		=KSymmetricCipherInterface
   1.143 +AlgorithmScopeRule1		=KNone
   1.144 +CharacterUidRule1		=KMaximumKeyLengthType
   1.145 +CompareOperatorRule1		=EOpAscendingSort
   1.146 +CharacterValueRule1		=NULL
   1.147 +CharacterValueTypeRule1		=ERuleValueInteger
   1.148 +IsOptionaRule1			=False
   1.149 +
   1.150 +ExAlgorithmUid			=KAlgorithmCipherDes
   1.151 +ExImplementationUid		=KTestPlugin01Des_1
   1.152 +
   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		=EOpAscendingSort
   1.171 +CharacterValueRule1		=NULL
   1.172 +CharacterValueTypeRule1		=ERuleValueInteger
   1.173 +IsOptionaRule1			=False
   1.174 +
   1.175 +ExAlgorithmUid			=KAlgorithmCipherDes
   1.176 +ExImplementationUid		=KTestPlugin02Des_2
   1.177 +
   1.178 +
   1.179 +//****************************************************************************
   1.180 +//****************************************************************************
   1.181 +
   1.182 +[SymmetricCipherKeySupport]
   1.183 +InterfaceType			=KSymmetricCipherInterface
   1.184 +EncryptKey			=ABCDEFGH
   1.185 +KeyType				=KSymmetricKeyParameter
   1.186 +AlgorithmUid			=KAlgorithmCipherDes
   1.187 +CryptoMode			=KCryptoModeEncrypt
   1.188 +OperationMode			=KOperationModeNone
   1.189 +PaddingMode			=KPaddingModeNone
   1.190 +AlgorithmParams			=NULL
   1.191 +
   1.192 +InterfaceScopeRule1		=KSymmetricCipherInterface
   1.193 +AlgorithmScopeRule1		=KAlgorithmCipherDes
   1.194 +CharacterUidRule1		=KKeySupportModeType
   1.195 +CompareOperatorRule1		=EOpAscendingSort
   1.196 +CharacterValueRule1		=NULL
   1.197 +CharacterValueTypeRule1		=ERuleValueInteger
   1.198 +IsOptionaRule1			=False
   1.199 +
   1.200 +ExAlgorithmUid			=KAlgorithmCipherDes
   1.201 +ExImplementationUid		=KTestPlugin01Des_4
   1.202 +
   1.203 +//****************************************************************************
   1.204 +//****************************************************************************
   1.205 +
   1.206 +[AsymmetricCipherKeyLength]
   1.207 +InterfaceType			=KAsymmetricCipherInterface
   1.208 +AlgorithmUid			=KAlgorithmCipherRsa
   1.209 +CryptoMode			=KCryptoModeEncrypt
   1.210 +PaddingMode			=KPaddingModeNone
   1.211 +AlgorithmParams			=NULL
   1.212 +
   1.213 +InterfaceScopeRule1		=KAsymmetricCipherInterface
   1.214 +AlgorithmScopeRule1		=KNone
   1.215 +CharacterUidRule1		=KMaximumKeyLengthType
   1.216 +CompareOperatorRule1		=EOpAscendingSort
   1.217 +CharacterValueRule1		=NULL
   1.218 +CharacterValueTypeRule1		=ERuleValueInteger
   1.219 +IsOptionaRule1			=False
   1.220 +
   1.221 +ExAlgorithmUid			=KAlgorithmCipherRsa
   1.222 +ExImplementationUid		=KTestPlugin02Rsa_1
   1.223 +
   1.224 +//****************************************************************************
   1.225 +//****************************************************************************
   1.226 +
   1.227 +[AsymmetricCipherKeySupport]
   1.228 +InterfaceType			=KAsymmetricCipherInterface
   1.229 +AlgorithmUid			=KAlgorithmCipherRsa
   1.230 +CryptoMode			=KCryptoModeEncrypt
   1.231 +PaddingMode			=KPaddingModeNone
   1.232 +AlgorithmParams			=NULL
   1.233 +
   1.234 +InterfaceScopeRule1		=KNone
   1.235 +AlgorithmScopeRule1		=KAlgorithmCipherRsa
   1.236 +CharacterUidRule1		=KKeySupportModeType
   1.237 +CompareOperatorRule1		=EOpAscendingSort
   1.238 +CharacterValueRule1		=NULL
   1.239 +CharacterValueTypeRule1		=ERuleValueInteger
   1.240 +IsOptionaRule1			=False
   1.241 +
   1.242 +ExAlgorithmUid			=KAlgorithmCipherRsa
   1.243 +ExImplementationUid		=KTestPlugin02Rsa_2
   1.244 +
   1.245 +//****************************************************************************
   1.246 +//****************************************************************************
   1.247 +
   1.248 +[SignatureKeyLength]
   1.249 +InterfaceType			=KVerifierInterface
   1.250 +AlgorithmUid			=KAlgorithmVerifierRsa
   1.251 +PaddingMode			=KPaddingModePkcs1_v1_5_Signature
   1.252 +AlgorithmParams			=NULL
   1.253 +
   1.254 +InterfaceScopeRule1		=KVerifierInterface
   1.255 +AlgorithmScopeRule1		=KAlgorithmVerifierRsa
   1.256 +CharacterUidRule1		=KMaximumKeyLengthType
   1.257 +CompareOperatorRule1		=EOpAscendingSort
   1.258 +CharacterValueRule1		=NULL
   1.259 +CharacterValueTypeRule1		=ERuleValueInteger
   1.260 +IsOptionaRule1			=False
   1.261 +
   1.262 +ExAlgorithmUid			=KAlgorithmVerifierRsa
   1.263 +ExImplementationUid		=KTestPlugin01RsaVerifier_2
   1.264 +
   1.265 +//****************************************************************************
   1.266 +//****************************************************************************
   1.267 +
   1.268 +[SignatureKeySupport]
   1.269 +InterfaceType			=KVerifierInterface
   1.270 +AlgorithmUid			=KAlgorithmVerifierRsa
   1.271 +PaddingMode			=KPaddingModePkcs1_v1_5_Signature
   1.272 +AlgorithmParams			=NULL
   1.273 +
   1.274 +InterfaceScopeRule1		=KVerifierInterface
   1.275 +AlgorithmScopeRule1		=KNone
   1.276 +CharacterUidRule1		=KKeySupportModeType
   1.277 +CompareOperatorRule1		=EOpAscendingSort
   1.278 +CharacterValueRule1		=NULL
   1.279 +CharacterValueTypeRule1		=ERuleValueInteger
   1.280 +IsOptionaRule1			=False
   1.281 +
   1.282 +ExAlgorithmUid			=KAlgorithmVerifierRsa
   1.283 +ExImplementationUid		=KTestPlugin01RsaVerifier_1
   1.284 +
   1.285 +//****************************************************************************
   1.286 +//****************************************************************************
   1.287 +
   1.288 +[RandomBlockingMode]
   1.289 +InterfaceType			=KRandomInterface
   1.290 +AlgorithmUid			=KAlgorithmRandom
   1.291 +AlgorithmParams			=NULL
   1.292 +
   1.293 +InterfaceScopeRule1		=KRandomInterface
   1.294 +AlgorithmScopeRule1		=KNone
   1.295 +CharacterUidRule1		=KBlockingModeType
   1.296 +CompareOperatorRule1		=EOpAscendingSort
   1.297 +CharacterValueRule1		=NULL
   1.298 +CharacterValueTypeRule1		=ERuleValueInteger
   1.299 +IsOptionaRule1			=False
   1.300 +
   1.301 +ExAlgorithmUid			=KAlgorithmRandom
   1.302 +ExImplementationUid		=KTestPlugin02Random_2
   1.303 +
   1.304 +//****************************************************************************
   1.305 +//****************************************************************************
   1.306 +
   1.307 +[KeyPairGenKeyLength]
   1.308 +InterfaceType			=KKeypairGeneratorInterface
   1.309 +AlgorithmUid			=KAlgorithmRSAKeyPairGenerator
   1.310 +AlgorithmParams			=NULL
   1.311 +
   1.312 +InterfaceScopeRule1		=KKeypairGeneratorInterface
   1.313 +AlgorithmScopeRule1		=KAlgorithmRSAKeyPairGenerator
   1.314 +CharacterUidRule1		=KMaximumKeyLengthType
   1.315 +CompareOperatorRule1		=EOpAscendingSort
   1.316 +CharacterValueRule1		=NULL
   1.317 +CharacterValueTypeRule1		=ERuleValueInteger
   1.318 +IsOptionaRule1			=False
   1.319 +
   1.320 +ExAlgorithmUid			=KAlgorithmRSAKeyPairGenerator
   1.321 +ExImplementationUid		=KTestPlugin02RsaKeyGen_1
   1.322 +