Home
last modified time | relevance | path

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

/hardware/interfaces/confirmationui/support/test/
Dmsg_formatting_test.cpp33 using ::android::hardware::keymaster::V4_0::HardwareAuthToken;
113 HardwareAuthToken expected, actual; in TEST()
124 out = write(Message<HardwareAuthToken>(), out, expected); in TEST()
126 std::tie(in, actual) = read(Message<HardwareAuthToken>(), in); in TEST()
/hardware/interfaces/keymaster/4.0/vts/functional/
DVerificationTokenTest.cpp35 const HardwareAuthToken& authToken) { in verifyAuthorization()
80 1 /* operation handle */, AuthorizationSet() /* paramtersToVerify */, HardwareAuthToken()); in TEST_F()
101 2 /* operation handle */, AuthorizationSet() /* paramtersToVerify */, HardwareAuthToken()); in TEST_F()
DKeymasterHidlTest.cpp279 ->begin(purpose, key_blob, in_params.hidl_data(), HardwareAuthToken(), in Begin()
315 ->update(op_handle, in_params.hidl_data(), HidlBuf(input), HardwareAuthToken(), in Update()
346 HardwareAuthToken(), VerificationToken(), in Finish()
/hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/
DKeymaster3.h67 const HardwareAuthToken&, in verifyAuthorization() argument
106 const hidl_vec<KeyParameter>& inParams, const HardwareAuthToken& authToken,
109 const hidl_vec<uint8_t>& input, const HardwareAuthToken& authToken,
113 const HardwareAuthToken& authToken,
Dkeymaster_utils.h52 HardwareAuthToken hidlVec2AuthToken(const hidl_vec<uint8_t>& buffer);
53 hidl_vec<uint8_t> authToken2HidlVec(const HardwareAuthToken& token);
DKeymaster4.h59 const HardwareAuthToken& authToken, in verifyAuthorization()
122 const hidl_vec<KeyParameter>& inParams, const HardwareAuthToken& authToken, in begin()
128 const hidl_vec<uint8_t>& input, const HardwareAuthToken& authToken, in update()
136 const HardwareAuthToken& authToken, in finish()
/hardware/interfaces/confirmationui/1.0/default/
DConfirmationUI.cpp36 using ::android::hardware::keymaster::V4_0::HardwareAuthToken;
55 const HardwareAuthToken& secureInputToken) { in deliverSecureInputEvent()
DConfirmationUI.h47 const ::android::hardware::keymaster::V4_0::HardwareAuthToken& secureInputToken) override;
/hardware/interfaces/keymaster/4.0/support/
Dkeymaster_utils.cpp59 hidl_vec<uint8_t> authToken2HidlVec(const HardwareAuthToken& token) { in authToken2HidlVec()
86 HardwareAuthToken hidlVec2AuthToken(const hidl_vec<uint8_t>& buffer) { in hidlVec2AuthToken()
87 HardwareAuthToken token; in hidlVec2AuthToken()
DKeymaster3.cpp86 const HardwareAuthToken& authToken) { in convertAndAddAuthToken()
238 const HardwareAuthToken& authToken, begin_cb _hidl_cb) { in begin()
251 const hidl_vec<uint8_t>& input, const HardwareAuthToken& authToken, in update()
267 const HardwareAuthToken& authToken, in finish()
/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/1.0/generic/
DGenericOperation.h34 using ::android::hardware::keymaster::V4_0::HardwareAuthToken;
130 ResponseCode deliverSecureInputEvent(const HardwareAuthToken& secureInputToken) { in deliverSecureInputEvent()
164 bool acceptAuthToken(const HardwareAuthToken&) { return false; } in acceptAuthToken() argument
/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/support/
Dmsg_formatting.h97 using ::android::hardware::keymaster::V4_0::HardwareAuthToken;
124 using DeliverSecureInputEventMsg = Message<DeliverSecureInputEvent_t, HardwareAuthToken>;
257 HardwareAuthToken* hat = nullptr;
268 inline std::tuple<ReadStream, HardwareAuthToken> read(Message<HardwareAuthToken>, ReadStream in_) {
269 std::tuple<ReadStream, HardwareAuthToken> result;
295 inline WriteStream write(WriteStream out, const HardwareAuthToken& v) {
/hardware/interfaces/confirmationui/1.0/
DIConfirmationUI.hal19 import android.hardware.keymaster@4.0::HardwareAuthToken;
71 deliverSecureInputEvent(HardwareAuthToken secureInputToken)
/hardware/interfaces/confirmationui/1.0/vts/functional/
DVtsHalConfirmationUIV1_0TargetTest.cpp88 using ::android::hardware::keymaster::V4_0::HardwareAuthToken;
96 HardwareAuthToken makeTestToken(const TestModeCommands command, uint64_t timestamp = 0) {
97 HardwareAuthToken auth_token;
/hardware/interfaces/keymaster/4.0/
Dtypes.hal343 * present in the userId or authenticatorId field of a HardwareAuthToken provided to begin(),
344 * update(), or finish(). If a key with Tag::USER_SECURE_ID is used without a HardwareAuthToken
351 * and the timestamp in the HardwareAuthToken is less than the value in Tag::AUTH_TIMEOUT * 1000
352 * (the multiplier is because Tag::AUTH_TIMEOUT is in seconds, but the HardwareAuthToken
357 * case, begin() must not require a HardwareAuthToken with appropriate contents. Instead,
358 * update() and finish() must receive a HardwareAuthToken with Tag::USER_SECURE_ID value in
363 * This tag is repeatable. If repeated, and any one of the values matches the HardwareAuthToken
387 * receive a HardwareAuthToken and one or more bits must be set in both the HardwareAuthToken's
392 * where token.authenticatorType is the authenticatorType field of the HardwareAuthToken and
1184 * HardwareAuthToken is used to prove successful user authentication, to unlock the use of a key.
[all …]
DIKeymasterDevice.hal218 * (HardwareAuthToken, VerificationToken and ConfirmationToken all use this HMAC key) must be
354 * @param authToken A HardwareAuthToken if needed to authorize key usage.
364 HardwareAuthToken authToken)
930 * method must receive a non-empty HardwareAuthToken in the authToken argument. For the auth
1080 HardwareAuthToken authToken)
1115 * receive a non-empty and valid HardwareAuthToken. For the auth token to be valid, all of the
1197 HardwareAuthToken authToken, VerificationToken verificationToken)
1308 vec<uint8_t> signature, HardwareAuthToken authToken, VerificationToken verificationToken)
/hardware/interfaces/keymaster/3.0/
Dtypes.hal408 struct HardwareAuthToken {