/system/security/keystore/ |
D | operation_struct.h | 43 characteristics(characteristics_), appToken(appToken_), authToken(), verificationToken(), in Operation() 48 bool hasAuthToken() const { return authToken.mac.size() != 0; } in hasAuthToken() 58 HardwareAuthToken authToken; member
|
D | keymaster_worker.cpp | 271 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 …]
|
D | key_store_service.h | 134 ::android::binder::Status addAuthToken(const ::std::vector<uint8_t>& authToken,
|
D | keymaster_worker.h | 289 HardwareAuthToken authToken, begin_cb _hidl_cb);
|
D | key_store_service.cpp | 980 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/ |
D | KeyStorage.cpp | 137 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 …]
|
D | Keymaster.h | 113 const km::HardwareAuthToken& authToken,
|
D | Keymaster.cpp | 180 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/ |
D | AndroidKeymaster4Device.h | 60 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/ |
D | AndroidKeymaster4Device.cpp | 267 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/ |
D | IKeystoreService.aidl | 64 int addAuthToken(in byte[] authToken); in addAuthToken() argument
|