Home
last modified time | relevance | path

Searched refs:secureInputToken (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/1.0/generic/
DGenericOperation.h130 ResponseCode deliverSecureInputEvent(const HardwareAuthToken& secureInputToken) { in deliverSecureInputEvent() argument
133 auto hmac = HMacer::hmac256(testKey, "\0", bytes_cast(secureInputToken.challenge), in deliverSecureInputEvent()
134 bytes_cast(secureInputToken.userId), in deliverSecureInputEvent()
135 bytes_cast(secureInputToken.authenticatorId), in deliverSecureInputEvent()
136 bytes_cast(hton(secureInputToken.authenticatorType)), in deliverSecureInputEvent()
137 bytes_cast(hton(secureInputToken.timestamp))); in deliverSecureInputEvent()
139 if (hmac.value() == secureInputToken.mac) { in deliverSecureInputEvent()
141 switch (static_cast<TestModeCommands>(secureInputToken.challenge)) { in deliverSecureInputEvent()
/hardware/interfaces/confirmationui/1.0/default/
DConfirmationUI.h47 const ::android::hardware::keymaster::V4_0::HardwareAuthToken& secureInputToken) override;
/hardware/interfaces/confirmationui/1.0/
DIConfirmationUI.hal66 * @param secureInputToken An authentication token as generated by Android authentication
71 deliverSecureInputEvent(HardwareAuthToken secureInputToken)