os/security/crypto/weakcryptospi/test/tcryptospi/testdata/ruleselection_interface_v2.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_interface_v2.ini	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,188 @@
     1.4 +[SymmetricCipherInterface]
     1.5 +InterfaceType			=KSymmetricCipherInterface
     1.6 +EncryptKey			=ABCDEFGH
     1.7 +KeyType				=KSymmetricKeyParameter
     1.8 +AlgorithmUid			=KAlgorithmCipherDes
     1.9 +CryptoMode			=KCryptoModeEncrypt
    1.10 +OperationMode			=KOperationModeNone
    1.11 +PaddingMode			=KPaddingModeNone
    1.12 +AlgorithmParams			=NULL
    1.13 +
    1.14 +InterfaceScopeRule1		=KNone
    1.15 +AlgorithmScopeRule1		=KNone
    1.16 +CharacterUidRule1		=KAlgorithmType
    1.17 +CompareOperatorRule1		=EOpEqual
    1.18 +CharacterValueRule1		=KAlgorithmCipherDes
    1.19 +CharacterValueTypeRule1		=ERuleValueInteger
    1.20 +IsOptionaRule1			=Fasle
    1.21 +
    1.22 +ExAlgorithmUid			=KAlgorithmCipherDes
    1.23 +ExImplementationUid		=KTestPlugin01Des_1
    1.24 +
    1.25 +
    1.26 +[AsymmetricCipherInterface]
    1.27 +InterfaceType			=KAsymmetricCipherInterface
    1.28 +AlgorithmUid			=KAlgorithmCipherRsa
    1.29 +CryptoMode			=KCryptoModeEncrypt
    1.30 +PaddingMode			=KPaddingModeNone
    1.31 +AlgorithmParams			=NULL
    1.32 +
    1.33 +InterfaceScopeRule1		=KNone
    1.34 +AlgorithmScopeRule1		=KNone
    1.35 +CharacterUidRule1		=KAlgorithmType
    1.36 +CompareOperatorRule1		=EOpEqual
    1.37 +CharacterValueRule1		=KAlgorithmCipherRsa
    1.38 +CharacterValueTypeRule1		=ERuleValueInteger
    1.39 +IsOptionaRule1			=Fasle
    1.40 +
    1.41 +ExAlgorithmUid			=KAlgorithmCipherRsa
    1.42 +ExImplementationUid		=KTestPlugin02Rsa_1
    1.43 +
    1.44 +
    1.45 +[HashInterface]
    1.46 +InterfaceType			=KHashInterface
    1.47 +AlgorithmUid			=KAlgorithmHashMd5
    1.48 +OperationMode			=KHashMode
    1.49 +AlgorithmParams			=NULL
    1.50 +
    1.51 +InterfaceScopeRule1		=KNone
    1.52 +AlgorithmScopeRule1		=KNone
    1.53 +CharacterUidRule1		=KAlgorithmType
    1.54 +CompareOperatorRule1		=EOpEqual
    1.55 +CharacterValueRule1		=KAlgorithmHashMd5
    1.56 +CharacterValueTypeRule1		=ERuleValueInteger
    1.57 +IsOptionaRule1			=Fasle
    1.58 +
    1.59 +ExAlgorithmUid			=KAlgorithmHashMd5
    1.60 +ExImplementationUid		=KTestPlugin02Md5_1
    1.61 +
    1.62 +
    1.63 +[HashNewInterface]
    1.64 +InterfaceType			=KHashInterface
    1.65 +AlgorithmUid			=KAlgorithmHashMd5
    1.66 +AlgorithmParams			=NULL
    1.67 +
    1.68 +InterfaceScopeRule1		=KNone
    1.69 +AlgorithmScopeRule1		=KNone
    1.70 +CharacterUidRule1		=KAlgorithmType
    1.71 +CompareOperatorRule1		=EOpEqual
    1.72 +CharacterValueRule1		=KAlgorithmHashMd5
    1.73 +CharacterValueTypeRule1		=ERuleValueInteger
    1.74 +IsOptionaRule1			=Fasle
    1.75 +
    1.76 +ExAlgorithmUid			=KAlgorithmHashMd5
    1.77 +ExImplementationUid		=KTestPlugin02Md5_1
    1.78 +
    1.79 +
    1.80 +[RandomInterface]
    1.81 +InterfaceType			=KRandomInterface
    1.82 +AlgorithmUid			=KAlgorithmRandom
    1.83 +AlgorithmParams			=NULL
    1.84 +
    1.85 +InterfaceScopeRule1		=KNone
    1.86 +AlgorithmScopeRule1		=KNone
    1.87 +CharacterUidRule1		=KAlgorithmType
    1.88 +CompareOperatorRule1		=EOpEqual
    1.89 +CharacterValueRule1		=KAlgorithmRandom
    1.90 +CharacterValueTypeRule1		=ERuleValueInteger
    1.91 +IsOptionaRule1			=Fasle
    1.92 +
    1.93 +ExAlgorithmUid			=KAlgorithmRandom
    1.94 +ExImplementationUid		=KTestPlugin02Random_1
    1.95 +
    1.96 +
    1.97 +[SignerInterface]
    1.98 +InterfaceType			=KSignerInterface
    1.99 +AlgorithmUid			=KAlgorithmSignerRsa
   1.100 +PaddingMode			=KPaddingModePkcs1_v1_5_Signature
   1.101 +AlgorithmParams			=NULL
   1.102 +
   1.103 +InterfaceScopeRule1		=KNone
   1.104 +AlgorithmScopeRule1		=KNone
   1.105 +CharacterUidRule1		=KAlgorithmType
   1.106 +CompareOperatorRule1		=EOpEqual
   1.107 +CharacterValueRule1		=KAlgorithmSignerRsa
   1.108 +CharacterValueTypeRule1		=ERuleValueInteger
   1.109 +IsOptionaRule1			=Fasle
   1.110 +
   1.111 +ExAlgorithmUid			=KAlgorithmSignerRsa
   1.112 +ExImplementationUid		=KTestPlugin02RsaSigner_1
   1.113 +
   1.114 +
   1.115 +[VerifierInterface]
   1.116 +InterfaceType			=KVerifierInterface
   1.117 +AlgorithmUid			=KAlgorithmVerifierRsa
   1.118 +PaddingMode			=KPaddingModePkcs1_v1_5_Signature
   1.119 +AlgorithmParams			=NULL
   1.120 +
   1.121 +InterfaceScopeRule1		=KNone
   1.122 +AlgorithmScopeRule1		=KNone
   1.123 +CharacterUidRule1		=KAlgorithmType
   1.124 +CompareOperatorRule1		=EOpEqual
   1.125 +CharacterValueRule1		=KAlgorithmVerifierRsa
   1.126 +CharacterValueTypeRule1		=ERuleValueInteger
   1.127 +IsOptionaRule1			=Fasle
   1.128 +
   1.129 +ExAlgorithmUid			=KAlgorithmVerifierRsa
   1.130 +ExImplementationUid		=KTestPlugin01RsaVerifier_1
   1.131 +
   1.132 +
   1.133 +[KeyPairGenInterface]
   1.134 +InterfaceType			=KKeypairGeneratorInterface
   1.135 +AlgorithmUid			=KAlgorithmRSAKeyPairGenerator
   1.136 +AlgorithmParams			=NULL
   1.137 +
   1.138 +InterfaceScopeRule1		=KNone
   1.139 +AlgorithmScopeRule1		=KNone
   1.140 +CharacterUidRule1		=KAlgorithmType
   1.141 +CompareOperatorRule1		=EOpEqual
   1.142 +CharacterValueRule1		=KAlgorithmRSAKeyPairGenerator
   1.143 +CharacterValueTypeRule1		=ERuleValueInteger
   1.144 +IsOptionaRule1			=Fasle
   1.145 +
   1.146 +ExAlgorithmUid			=KAlgorithmRSAKeyPairGenerator
   1.147 +ExImplementationUid		=KTestPlugin01RsaKeyGen_1
   1.148 +
   1.149 +
   1.150 +[KeyAgreementInterface]
   1.151 +InterfaceType			=KKeyAgreementInterface
   1.152 +AlgorithmUid			=KAlgorithmKeyAgreementDH
   1.153 +AlgorithmParams			=NULL
   1.154 +
   1.155 +InterfaceScopeRule1		=KNone
   1.156 +AlgorithmScopeRule1		=KNone
   1.157 +CharacterUidRule1		=KAlgorithmType
   1.158 +CompareOperatorRule1		=EOpEqual
   1.159 +CharacterValueRule1		=KAlgorithmKeyAgreementDH
   1.160 +CharacterValueTypeRule1		=ERuleValueInteger
   1.161 +IsOptionaRule1			=Fasle
   1.162 +
   1.163 +ExAlgorithmUid			=KAlgorithmKeyAgreementDH
   1.164 +ExImplementationUid		=KTestPlugin02DHKeyAgree_1
   1.165 +
   1.166 +
   1.167 +[MacInterface]
   1.168 +InterfaceType			=KMacInterface
   1.169 +AlgorithmUid			=KAlgorithmCipherAesXcbcPrf128
   1.170 +EncryptKey			=CryptoSpiValidKe
   1.171 +KeyType				=KSymmetricKeyParameter
   1.172 +AlgorithmParams			=NULL
   1.173 +
   1.174 +InterfaceScopeRule1		=KNone
   1.175 +AlgorithmScopeRule1		=KNone
   1.176 +CharacterUidRule1		=KAlgorithmType
   1.177 +CompareOperatorRule1		=EOpEqual
   1.178 +CharacterValueRule1		=KAlgorithmCipherAesXcbcPrf128
   1.179 +CharacterValueTypeRule1		=ERuleValueInteger
   1.180 +IsOptionaRule1			=True
   1.181 +
   1.182 +InterfaceScopeRule2		=KNone
   1.183 +AlgorithmScopeRule2		=KNone
   1.184 +CharacterUidRule2		=KMacModeType
   1.185 +CompareOperatorRule2		=EOpEqual
   1.186 +CharacterValueRule2		=KSymmetricCipherMode
   1.187 +CharacterValueTypeRule2		=ERuleValueInteger
   1.188 +IsOptionaRule2			=True
   1.189 +
   1.190 +ExAlgorithmUid			=KAlgorithmCipherAesXcbcPrf128
   1.191 +ExImplementationUid		=KTestPlugin02XcbcPrf128