Home
last modified time | relevance | path

Searched refs:HardwareAuthToken (Results 1 – 25 of 27) sorted by relevance

12

/system/security/keystore/
Dkeymaster_enforcement.h101 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,
Dauth_token_table.h62 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,
Dkeystore_keymaster_enforcement.h76 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
Dauth_token_table.cpp80 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()
Doperation_struct.h58 HardwareAuthToken authToken;
Dkeymaster_worker.h189 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);
Dkeymaster_enforcement.cpp75 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()
Dkeymaster_worker.cpp298 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/
DTrustyKeymaster4Device.h35 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/
DAndroidKeymaster4Device.h39 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,
DAndroidKeymaster41Device.h39 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()
Dkeystore_hidl_support.h103 inline static hidl_vec<uint8_t> authToken2HidlVec(const HardwareAuthToken& token) { in authToken2HidlVec()
/system/security/keystore/tests/
Dauth_token_table_test.cpp65 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 …]
Dauth_token_formatting_test.cpp90 static const HardwareAuthToken km4_hidl_test_token = {
144 HardwareAuthToken km4_from_hidl = hidlVec2AuthToken(hidl_test_token); in TEST()
/system/security/keystore/include/keystore/
Dkeymaster_types.h55 using keymaster::HardwareAuthToken;
98 using Km3HardwareAuthToken = ::android::hardware::keymaster::V3_0::HardwareAuthToken;
/system/vold/
DKeyStorage.cpp163 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()
DKeymaster.cpp53 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()
DKeymaster.h127 const km::HardwareAuthToken& authToken,
/system/core/trusty/confirmationui/
DTrustyConfirmationUI.h60 const ::android::hardware::keymaster::V4_0::HardwareAuthToken& secureInputToken) override;
DTrustyConfirmationUI.cpp67 using ::android::hardware::keymaster::V4_0::HardwareAuthToken;
451 TrustyConfirmationUI::deliverSecureInputEvent(const HardwareAuthToken& secureInputToken) { in deliverSecureInputEvent()
/system/core/trusty/keymaster/4.0/
DTrustyKeymaster4Device.cpp94 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/
DAndroidKeymaster4Device.cpp280 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/
DCredential.cpp55 using android::hardware::keymaster::V4_0::HardwareAuthToken;
57 using AidlHardwareAuthToken = android::hardware::keymaster::HardwareAuthToken;
298 HardwareAuthToken authToken = in getEntries()
/system/keymaster/include/keymaster/
Dandroid_keymaster_messages.h821 struct HardwareAuthToken : public Serializable { struct
822 HardwareAuthToken() = default;
823 HardwareAuthToken(HardwareAuthToken&& other) { in HardwareAuthToken() function
889 HardwareAuthToken auth_token;
/system/keymaster/android_keymaster/
Dandroid_keymaster_messages.cpp691 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()

12