Home
last modified time | relevance | path

Searched refs:authSet (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/security/keymint/aidl/vts/performance/
DKeyMintBenchmark.cpp161 AuthorizationSetBuilder authSet = AuthorizationSetBuilder() in GenerateKey() local
173 authSet.BlockMode(blockMode.value()); in GenerateKey()
175 authSet.Authorization(TAG_MIN_MAC_LENGTH, 128); in GenerateKey()
179 authSet.Authorization(TAG_MIN_MAC_LENGTH, 128); in GenerateKey()
182 authSet.Authorization(TAG_RSA_PUBLIC_EXPONENT, 65537U); in GenerateKey()
183 authSet.SetDefaultValidity(); in GenerateKey()
186 authSet.SetDefaultValidity(); in GenerateKey()
188 error_ = GenerateKey(authSet); in GenerateKey()
/hardware/interfaces/keymaster/4.0/vts/performance/
DBenchmark.cpp124 bool GenerateKey(const AuthorizationSet& authSet) { in GenerateKey() argument
127 authSet.hidl_data(), in GenerateKey()
140 AuthorizationSetBuilder authSet = AuthorizationSetBuilder() local
152 authSet.BlockMode(*blockMode);
155 authSet.Authorization(TAG_RSA_PUBLIC_EXPONENT, 65537U);
157 return GenerateKey(authSet);