os/security/crypto/weakcryptospi/test/tcryptospi/testdata/ruleselection_interface_v2.ini
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 [SymmetricCipherInterface]
     2 InterfaceType			=KSymmetricCipherInterface
     3 EncryptKey			=ABCDEFGH
     4 KeyType				=KSymmetricKeyParameter
     5 AlgorithmUid			=KAlgorithmCipherDes
     6 CryptoMode			=KCryptoModeEncrypt
     7 OperationMode			=KOperationModeNone
     8 PaddingMode			=KPaddingModeNone
     9 AlgorithmParams			=NULL
    10 
    11 InterfaceScopeRule1		=KNone
    12 AlgorithmScopeRule1		=KNone
    13 CharacterUidRule1		=KAlgorithmType
    14 CompareOperatorRule1		=EOpEqual
    15 CharacterValueRule1		=KAlgorithmCipherDes
    16 CharacterValueTypeRule1		=ERuleValueInteger
    17 IsOptionaRule1			=Fasle
    18 
    19 ExAlgorithmUid			=KAlgorithmCipherDes
    20 ExImplementationUid		=KTestPlugin01Des_1
    21 
    22 
    23 [AsymmetricCipherInterface]
    24 InterfaceType			=KAsymmetricCipherInterface
    25 AlgorithmUid			=KAlgorithmCipherRsa
    26 CryptoMode			=KCryptoModeEncrypt
    27 PaddingMode			=KPaddingModeNone
    28 AlgorithmParams			=NULL
    29 
    30 InterfaceScopeRule1		=KNone
    31 AlgorithmScopeRule1		=KNone
    32 CharacterUidRule1		=KAlgorithmType
    33 CompareOperatorRule1		=EOpEqual
    34 CharacterValueRule1		=KAlgorithmCipherRsa
    35 CharacterValueTypeRule1		=ERuleValueInteger
    36 IsOptionaRule1			=Fasle
    37 
    38 ExAlgorithmUid			=KAlgorithmCipherRsa
    39 ExImplementationUid		=KTestPlugin02Rsa_1
    40 
    41 
    42 [HashInterface]
    43 InterfaceType			=KHashInterface
    44 AlgorithmUid			=KAlgorithmHashMd5
    45 OperationMode			=KHashMode
    46 AlgorithmParams			=NULL
    47 
    48 InterfaceScopeRule1		=KNone
    49 AlgorithmScopeRule1		=KNone
    50 CharacterUidRule1		=KAlgorithmType
    51 CompareOperatorRule1		=EOpEqual
    52 CharacterValueRule1		=KAlgorithmHashMd5
    53 CharacterValueTypeRule1		=ERuleValueInteger
    54 IsOptionaRule1			=Fasle
    55 
    56 ExAlgorithmUid			=KAlgorithmHashMd5
    57 ExImplementationUid		=KTestPlugin02Md5_1
    58 
    59 
    60 [HashNewInterface]
    61 InterfaceType			=KHashInterface
    62 AlgorithmUid			=KAlgorithmHashMd5
    63 AlgorithmParams			=NULL
    64 
    65 InterfaceScopeRule1		=KNone
    66 AlgorithmScopeRule1		=KNone
    67 CharacterUidRule1		=KAlgorithmType
    68 CompareOperatorRule1		=EOpEqual
    69 CharacterValueRule1		=KAlgorithmHashMd5
    70 CharacterValueTypeRule1		=ERuleValueInteger
    71 IsOptionaRule1			=Fasle
    72 
    73 ExAlgorithmUid			=KAlgorithmHashMd5
    74 ExImplementationUid		=KTestPlugin02Md5_1
    75 
    76 
    77 [RandomInterface]
    78 InterfaceType			=KRandomInterface
    79 AlgorithmUid			=KAlgorithmRandom
    80 AlgorithmParams			=NULL
    81 
    82 InterfaceScopeRule1		=KNone
    83 AlgorithmScopeRule1		=KNone
    84 CharacterUidRule1		=KAlgorithmType
    85 CompareOperatorRule1		=EOpEqual
    86 CharacterValueRule1		=KAlgorithmRandom
    87 CharacterValueTypeRule1		=ERuleValueInteger
    88 IsOptionaRule1			=Fasle
    89 
    90 ExAlgorithmUid			=KAlgorithmRandom
    91 ExImplementationUid		=KTestPlugin02Random_1
    92 
    93 
    94 [SignerInterface]
    95 InterfaceType			=KSignerInterface
    96 AlgorithmUid			=KAlgorithmSignerRsa
    97 PaddingMode			=KPaddingModePkcs1_v1_5_Signature
    98 AlgorithmParams			=NULL
    99 
   100 InterfaceScopeRule1		=KNone
   101 AlgorithmScopeRule1		=KNone
   102 CharacterUidRule1		=KAlgorithmType
   103 CompareOperatorRule1		=EOpEqual
   104 CharacterValueRule1		=KAlgorithmSignerRsa
   105 CharacterValueTypeRule1		=ERuleValueInteger
   106 IsOptionaRule1			=Fasle
   107 
   108 ExAlgorithmUid			=KAlgorithmSignerRsa
   109 ExImplementationUid		=KTestPlugin02RsaSigner_1
   110 
   111 
   112 [VerifierInterface]
   113 InterfaceType			=KVerifierInterface
   114 AlgorithmUid			=KAlgorithmVerifierRsa
   115 PaddingMode			=KPaddingModePkcs1_v1_5_Signature
   116 AlgorithmParams			=NULL
   117 
   118 InterfaceScopeRule1		=KNone
   119 AlgorithmScopeRule1		=KNone
   120 CharacterUidRule1		=KAlgorithmType
   121 CompareOperatorRule1		=EOpEqual
   122 CharacterValueRule1		=KAlgorithmVerifierRsa
   123 CharacterValueTypeRule1		=ERuleValueInteger
   124 IsOptionaRule1			=Fasle
   125 
   126 ExAlgorithmUid			=KAlgorithmVerifierRsa
   127 ExImplementationUid		=KTestPlugin01RsaVerifier_1
   128 
   129 
   130 [KeyPairGenInterface]
   131 InterfaceType			=KKeypairGeneratorInterface
   132 AlgorithmUid			=KAlgorithmRSAKeyPairGenerator
   133 AlgorithmParams			=NULL
   134 
   135 InterfaceScopeRule1		=KNone
   136 AlgorithmScopeRule1		=KNone
   137 CharacterUidRule1		=KAlgorithmType
   138 CompareOperatorRule1		=EOpEqual
   139 CharacterValueRule1		=KAlgorithmRSAKeyPairGenerator
   140 CharacterValueTypeRule1		=ERuleValueInteger
   141 IsOptionaRule1			=Fasle
   142 
   143 ExAlgorithmUid			=KAlgorithmRSAKeyPairGenerator
   144 ExImplementationUid		=KTestPlugin01RsaKeyGen_1
   145 
   146 
   147 [KeyAgreementInterface]
   148 InterfaceType			=KKeyAgreementInterface
   149 AlgorithmUid			=KAlgorithmKeyAgreementDH
   150 AlgorithmParams			=NULL
   151 
   152 InterfaceScopeRule1		=KNone
   153 AlgorithmScopeRule1		=KNone
   154 CharacterUidRule1		=KAlgorithmType
   155 CompareOperatorRule1		=EOpEqual
   156 CharacterValueRule1		=KAlgorithmKeyAgreementDH
   157 CharacterValueTypeRule1		=ERuleValueInteger
   158 IsOptionaRule1			=Fasle
   159 
   160 ExAlgorithmUid			=KAlgorithmKeyAgreementDH
   161 ExImplementationUid		=KTestPlugin02DHKeyAgree_1
   162 
   163 
   164 [MacInterface]
   165 InterfaceType			=KMacInterface
   166 AlgorithmUid			=KAlgorithmCipherAesXcbcPrf128
   167 EncryptKey			=CryptoSpiValidKe
   168 KeyType				=KSymmetricKeyParameter
   169 AlgorithmParams			=NULL
   170 
   171 InterfaceScopeRule1		=KNone
   172 AlgorithmScopeRule1		=KNone
   173 CharacterUidRule1		=KAlgorithmType
   174 CompareOperatorRule1		=EOpEqual
   175 CharacterValueRule1		=KAlgorithmCipherAesXcbcPrf128
   176 CharacterValueTypeRule1		=ERuleValueInteger
   177 IsOptionaRule1			=True
   178 
   179 InterfaceScopeRule2		=KNone
   180 AlgorithmScopeRule2		=KNone
   181 CharacterUidRule2		=KMacModeType
   182 CompareOperatorRule2		=EOpEqual
   183 CharacterValueRule2		=KSymmetricCipherMode
   184 CharacterValueTypeRule2		=ERuleValueInteger
   185 IsOptionaRule2			=True
   186 
   187 ExAlgorithmUid			=KAlgorithmCipherAesXcbcPrf128
   188 ExImplementationUid		=KTestPlugin02XcbcPrf128