Searched refs:secureInputToken (Results 1 – 3 of 3) sorted by relevance
130 ResponseCode deliverSecureInputEvent(const HardwareAuthToken& secureInputToken) { in deliverSecureInputEvent() argument133 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()
47 const ::android::hardware::keymaster::V4_0::HardwareAuthToken& secureInputToken) override;
66 * @param secureInputToken An authentication token as generated by Android authentication71 deliverSecureInputEvent(HardwareAuthToken secureInputToken)