Home
last modified time | relevance | path

Searched refs:binder_result (Results 1 – 5 of 5) sorted by relevance

/system/security/keystore-engine/
Dkeystore_backend_binder.cpp111 auto binder_result = service->getKeyCharacteristics(kc_promise, key_name16, KeymasterBlob(), in sign() local
113 if (!binder_result.isOk()) { in sign()
143 binder_result = service->begin(promise, token, key_name16, (int)KeyPurpose::SIGN, in sign()
146 if (!binder_result.isOk()) { in sign()
168 binder_result = service->update(promise, handle, KeymasterArguments(params), in sign()
170 if (!binder_result.isOk()) { in sign()
191 binder_result = service->abort(abortPromise, handle, &error_code); in sign()
192 if (!binder_result.isOk()) { in sign()
214 binder_result = service->finish(promise, handle, KeymasterArguments(params), in sign()
218 if (!binder_result.isOk()) { in sign()
[all …]
/system/security/keystore/
Dkeystore_client_impl.cpp192 auto binder_result = in addRandomNumberGeneratorEntropy() local
194 if (!binder_result.isOk()) return ResponseCode::SYSTEM_ERROR; in addRandomNumberGeneratorEntropy()
212 auto binder_result = keystore_->generateKey( in generateKey() local
216 if (!binder_result.isOk()) return ResponseCode::SYSTEM_ERROR; in generateKey()
239 auto binder_result = keystore_->getKeyCharacteristics( in getKeyCharacteristics() local
242 if (!binder_result.isOk()) return ResponseCode::SYSTEM_ERROR; in getKeyCharacteristics()
267 auto binder_result = keystore_->importKey( in importKey() local
271 if (!binder_result.isOk()) return ResponseCode::SYSTEM_ERROR; in importKey()
293 auto binder_result = keystore_->exportKey( in exportKey() local
296 if (!binder_result.isOk()) return ResponseCode::SYSTEM_ERROR; in exportKey()
[all …]
/system/hardware/interfaces/wifi/keystore/1.0/default/
Dkeystore.cpp96 auto binder_result = service->exportKey( in getPublicKey() local
99 if (!binder_result.isOk()) { in getPublicKey()
152 auto binder_result = service->getKeyCharacteristics(kc_promise, key_name16, KeymasterBlob(), in sign() local
154 if (!binder_result.isOk()) { in sign()
189 binder_result = service->begin(promise, token, key_name16, (int)KeyPurpose::SIGN, in sign()
192 if (!binder_result.isOk()) { in sign()
218 binder_result = service->update(promise, handle, KeymasterArguments(params), in sign()
220 if (!binder_result.isOk()) { in sign()
244 binder_result = service->abort(abortPromise, handle, &error_code); in sign()
245 if (!binder_result.isOk()) { in sign()
[all …]
/system/hardware/interfaces/wifi/keystore/1.0/vts/functional/
DVtsHalWifiKeystoreV1_0TargetTest.cpp107 auto binder_result = service->del(keyName16, uid, &result); in deleteKey() local
108 if (!binder_result.isOk()) { in deleteKey()
159 auto binder_result = service->generateKey( in generateKey() local
165 if (!binder_result.isOk()) { in generateKey()
195 auto binder_result = service->insert(keyName16, item, in insert() local
200 if (!binder_result.isOk()) { in insert()
/system/core/gatekeeperd/
Dgatekeeperd.cpp346 auto binder_result = service->addAuthToken(auth_token_vector, &result); in verifyChallenge() local
347 if (!binder_result.isOk() || !keystore::KeyStoreServiceReturnCode(result).isOk()) { in verifyChallenge()