/system/security/keystore/ |
D | keymaster_enforcement.h | 101 const HardwareAuthToken& auth_token, uint64_t op_handle, 112 NullOr<const HardwareAuthToken&> auth_token); 119 ErrorCode AuthorizeUpdate(const AuthorizationSet& auth_set, const HardwareAuthToken& auth_token, in AuthorizeUpdate() 129 ErrorCode AuthorizeFinish(const AuthorizationSet& auth_set, const HardwareAuthToken& auth_token, in AuthorizeFinish() 172 virtual bool auth_token_timed_out(const HardwareAuthToken& token, uint32_t timeout) const = 0; 189 virtual bool ValidateTokenSignature(const HardwareAuthToken& token) const = 0; 198 const HardwareAuthToken& auth_token, uint64_t op_handle); 202 bool AuthTokenMatches(const AuthorizationSet& auth_set, const HardwareAuthToken& auth_token,
|
D | auth_token_table.h | 62 void AddAuthenticationToken(HardwareAuthToken&& auth_token); 74 std::tuple<Error, HardwareAuthToken> FindAuthorization(const AuthorizationSet& key_info, 77 std::tuple<Error, HardwareAuthToken> 108 Entry(HardwareAuthToken&& token, time_t current_time); 138 const HardwareAuthToken& token() const & { return token_; } in token() 148 HardwareAuthToken token_; 154 std::tuple<Error, HardwareAuthToken> 157 std::tuple<Error, HardwareAuthToken> FindTimedAuthorization(const std::vector<uint64_t>& sids,
|
D | keystore_keymaster_enforcement.h | 76 bool auth_token_timed_out(const HardwareAuthToken&, uint32_t) const { in auth_token_timed_out() argument 82 bool ValidateTokenSignature(const HardwareAuthToken&) const override { in ValidateTokenSignature() argument
|
D | auth_token_table.cpp | 80 void AuthTokenTable::AddAuthenticationToken(HardwareAuthToken&& auth_token) { in AddAuthenticationToken() 114 std::tuple<AuthTokenTable::Error, HardwareAuthToken> 134 std::tuple<AuthTokenTable::Error, HardwareAuthToken> AuthTokenTable::FindAuthPerOpAuthorization( in FindAuthPerOpAuthorization() 148 std::tuple<AuthTokenTable::Error, HardwareAuthToken> 176 std::tuple<AuthTokenTable::Error, HardwareAuthToken> 274 AuthTokenTable::Entry::Entry(HardwareAuthToken&& token, time_t current_time) in Entry()
|
D | operation_struct.h | 58 HardwareAuthToken authToken;
|
D | keymaster_worker.h | 189 std::pair<KeyStoreServiceReturnCode, HardwareAuthToken> 235 std::function<void(KeyStoreServiceReturnCode ec, HardwareAuthToken, VerificationToken)>; 237 HardwareAuthToken token, verifyAuthorization_cb _hidl_cb); 284 HardwareAuthToken authToken, begin_cb _hidl_cb);
|
D | keymaster_enforcement.cpp | 75 const HardwareAuthToken& auth_token, in AuthorizeOperation() 102 const HardwareAuthToken& auth_token, in AuthorizeUpdateOrFinish() 150 NullOr<const HardwareAuthToken&> auth_token) { in AuthorizeBegin() 432 const HardwareAuthToken& auth_token, in AuthTokenMatches()
|
D | keymaster_worker.cpp | 298 std::pair<KeyStoreServiceReturnCode, HardwareAuthToken> 306 HardwareAuthToken authToken; in getAuthToken() 408 HardwareAuthToken authToken; in begin() 521 HardwareAuthToken authToken, in begin() 565 HardwareAuthToken found; in getOperationAuthTokenIfNeeded() 753 HardwareAuthToken token, in verifyAuthorization()
|
/system/core/trusty/keymaster/include/trusty_keymaster/ |
D | TrustyKeymaster4Device.h | 35 using ::android::hardware::keymaster::V4_0::HardwareAuthToken; 57 const HardwareAuthToken& authToken, 87 const hidl_vec<KeyParameter>& inParams, const HardwareAuthToken& authToken, 90 const hidl_vec<uint8_t>& input, const HardwareAuthToken& authToken, 94 const HardwareAuthToken& authToken,
|
/system/keymaster/ng/include/ |
D | AndroidKeymaster4Device.h | 39 using ::android::hardware::keymaster::V4_0::HardwareAuthToken; 61 const HardwareAuthToken& authToken, 91 const hidl_vec<KeyParameter>& inParams, const HardwareAuthToken& authToken, 94 const hidl_vec<uint8_t>& input, const HardwareAuthToken& authToken, 98 const HardwareAuthToken& authToken,
|
D | AndroidKeymaster41Device.h | 39 using ::android::hardware::keymaster::V4_0::HardwareAuthToken; 87 const HardwareAuthToken& authToken, in verifyAuthorization() 151 const hidl_vec<KeyParameter>& inParams, const HardwareAuthToken& authToken, in begin() 157 const hidl_vec<uint8_t>& input, const HardwareAuthToken& authToken, in update() 166 const HardwareAuthToken& authToken, in finish()
|
D | keystore_hidl_support.h | 103 inline static hidl_vec<uint8_t> authToken2HidlVec(const HardwareAuthToken& token) { in authToken2HidlVec()
|
/system/security/keystore/tests/ |
D | auth_token_table_test.cpp | 65 static HardwareAuthToken make_token(uint64_t rsid, uint64_t ssid = 0, uint64_t challenge = 0, in make_token() 67 HardwareAuthToken token; in make_token() 100 HardwareAuthToken found; in TEST() 139 HardwareAuthToken found; in TEST() 165 HardwareAuthToken found; in TEST() 278 HardwareAuthToken found; in TEST() 290 HardwareAuthToken found; in TEST() 312 HardwareAuthToken found; in TEST() 324 HardwareAuthToken found; in TEST() 336 HardwareAuthToken found; in TEST() [all …]
|
D | auth_token_formatting_test.cpp | 90 static const HardwareAuthToken km4_hidl_test_token = { 144 HardwareAuthToken km4_from_hidl = hidlVec2AuthToken(hidl_test_token); in TEST()
|
/system/security/keystore/include/keystore/ |
D | keymaster_types.h | 55 using keymaster::HardwareAuthToken; 98 using Km3HardwareAuthToken = ::android::hardware::keymaster::V3_0::HardwareAuthToken;
|
/system/vold/ |
D | KeyStorage.cpp | 163 static std::pair<km::AuthorizationSet, km::HardwareAuthToken> beginParams( in beginParams() 168 km::HardwareAuthToken authToken; in beginParams() 233 const km::HardwareAuthToken& authToken, in begin() 271 … const km::HardwareAuthToken& authToken, const KeyBuffer& message, in encryptWithKeymasterKey() 299 const km::HardwareAuthToken& authToken, in decryptWithKeymasterKey() 511 km::HardwareAuthToken authToken; in storeKey() 567 km::HardwareAuthToken authToken; in retrieveKey()
|
D | Keymaster.cpp | 53 km::HardwareAuthToken(), km::VerificationToken(), hidlCB); in updateCompletely() 82 hidl_vec<uint8_t>(), km::HardwareAuthToken(), in finish() 201 const km::HardwareAuthToken& authToken, in begin() 346 … op = dev.begin(km::KeyPurpose::SIGN, key, paramBuilder, km::HardwareAuthToken(), &outParams); in keymaster_sign_object_for_cryptfs_scrypt()
|
D | Keymaster.h | 127 const km::HardwareAuthToken& authToken,
|
/system/core/trusty/confirmationui/ |
D | TrustyConfirmationUI.h | 60 const ::android::hardware::keymaster::V4_0::HardwareAuthToken& secureInputToken) override;
|
D | TrustyConfirmationUI.cpp | 67 using ::android::hardware::keymaster::V4_0::HardwareAuthToken; 451 TrustyConfirmationUI::deliverSecureInputEvent(const HardwareAuthToken& secureInputToken) { in deliverSecureInputEvent()
|
/system/core/trusty/keymaster/4.0/ |
D | TrustyKeymaster4Device.cpp | 94 const HardwareAuthToken& authToken) { in injectAuthToken() 311 const HardwareAuthToken& authToken, verifyAuthorization_cb _hidl_cb) { in verifyAuthorization() 517 const HardwareAuthToken& authToken, begin_cb _hidl_cb) { in begin() 539 const HardwareAuthToken& authToken, in update() 580 const HardwareAuthToken& authToken, in finish()
|
/system/keymaster/ng/ |
D | AndroidKeymaster4Device.cpp | 280 const ::android::hardware::keymaster::V4_0::HardwareAuthToken& authToken, in verifyAuthorization() 494 const HardwareAuthToken& authToken, begin_cb _hidl_cb) { in begin() 518 const HardwareAuthToken& /* authToken */, in update() argument 545 const HardwareAuthToken& /* authToken */, in finish() argument
|
/system/security/identity/ |
D | Credential.cpp | 55 using android::hardware::keymaster::V4_0::HardwareAuthToken; 57 using AidlHardwareAuthToken = android::hardware::keymaster::HardwareAuthToken; 298 HardwareAuthToken authToken = in getEntries()
|
/system/keymaster/include/keymaster/ |
D | android_keymaster_messages.h | 821 struct HardwareAuthToken : public Serializable { struct 822 HardwareAuthToken() = default; 823 HardwareAuthToken(HardwareAuthToken&& other) { in HardwareAuthToken() argument 889 HardwareAuthToken auth_token;
|
/system/keymaster/android_keymaster/ |
D | android_keymaster_messages.cpp | 691 size_t HardwareAuthToken::SerializedSize() const { in SerializedSize() 696 uint8_t* HardwareAuthToken::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize() 705 bool HardwareAuthToken::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize()
|