Home
last modified time | relevance | path

Searched refs:authToken (Results 1 – 11 of 11) sorted by relevance

/system/security/keystore/
Doperation_struct.h43 characteristics(characteristics_), appToken(appToken_), authToken(), verificationToken(), in Operation()
48 bool hasAuthToken() const { return authToken.mac.size() != 0; } in hasAuthToken()
58 HardwareAuthToken authToken; member
Dkeymaster_worker.cpp271 HardwareAuthToken authToken; in getAuthToken() local
273 std::tie(err, authToken) = keyStore_->getAuthTokenTable().FindAuthorization( in getAuthToken()
301 return {rc, std::move(authToken)}; in getAuthToken()
372 HardwareAuthToken authToken; in begin() local
373 std::tie(authRc, authToken) = getAuthToken(characteristics, 0 /* no challenge */, purpose, in begin()
404 purpose, *keyid, key_auths, opParams, authToken, 0 /* op_handle */, in begin()
437 opParams.hidl_data(), authToken, hidlCb)); in begin()
450 opParams.hidl_data(), authToken, hidlCb)); in begin()
479 if (authRc.isOk() && authToken.mac.size() && in begin()
485 HardwareAuthToken authToken, in begin()
[all …]
Dkey_store_service.h134 ::android::binder::Status addAuthToken(const ::std::vector<uint8_t>& authToken,
Dkeymaster_worker.h289 HardwareAuthToken authToken, begin_cb _hidl_cb);
Dkey_store_service.cpp980 hw_auth_token_t authToken; in addAuthToken() local
981 memcpy(reinterpret_cast<void*>(&authToken), authTokenAsVector.data(), sizeof(hw_auth_token_t)); in addAuthToken()
982 if (authToken.version != 0) { in addAuthToken()
/system/vold/
DKeyStorage.cpp137 km::HardwareAuthToken authToken; in beginParams() local
140 authToken = km::support::hidlVec2AuthToken(km::support::blob2hidlVec(auth.token)); in beginParams()
142 return {paramBuilder, authToken}; in beginParams()
202 const km::HardwareAuthToken& authToken, in begin() argument
210 auto opHandle = keymaster.begin(purpose, kmKey, inParams, authToken, outParams); in begin()
240 … const km::HardwareAuthToken& authToken, const KeyBuffer& message, in encryptWithKeymasterKey() argument
244 auto opHandle = begin(keymaster, dir, km::KeyPurpose::ENCRYPT, keyParams, opParams, authToken, in encryptWithKeymasterKey()
268 const km::HardwareAuthToken& authToken, in decryptWithKeymasterKey() argument
275 auto opHandle = begin(keymaster, dir, km::KeyPurpose::DECRYPT, keyParams, opParams, authToken, in decryptWithKeymasterKey()
480 km::HardwareAuthToken authToken; in storeKey() local
[all …]
DKeymaster.h113 const km::HardwareAuthToken& authToken,
DKeymaster.cpp180 const km::HardwareAuthToken& authToken, in begin() argument
194 auto error = mDevice->begin(purpose, keyBlob, inParams.hidl_data(), authToken, hidlCb); in begin()
/system/keymaster/ng/include/
DAndroidKeymaster4Device.h60 const HardwareAuthToken& authToken,
90 const hidl_vec<KeyParameter>& inParams, const HardwareAuthToken& authToken,
93 const hidl_vec<uint8_t>& input, const HardwareAuthToken& authToken,
97 const HardwareAuthToken& authToken,
/system/keymaster/ng/
DAndroidKeymaster4Device.cpp267 const ::android::hardware::keymaster::V4_0::HardwareAuthToken& authToken, in verifyAuthorization()
273 request.auth_token.challenge = authToken.challenge; in verifyAuthorization()
274 request.auth_token.user_id = authToken.userId; in verifyAuthorization()
275 request.auth_token.authenticator_id = authToken.authenticatorId; in verifyAuthorization()
276 request.auth_token.authenticator_type = legacy_enum_conversion(authToken.authenticatorType); in verifyAuthorization()
277 request.auth_token.timestamp = authToken.timestamp; in verifyAuthorization()
278 KeymasterBlob mac(authToken.mac.data(), authToken.mac.size()); in verifyAuthorization()
/system/security/keystore/binder/android/security/keystore/
DIKeystoreService.aidl64 int addAuthToken(in byte[] authToken); in addAuthToken() argument