Home
last modified time | relevance | path

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

/hardware/interfaces/gatekeeper/1.0/vts/functional/
DVtsHalGatekeeperV1_0TargetTest.cpp58 const hw_auth_token_t *auth_token = in toAuthToken() local
62 EXPECT_NE(nullptr, auth_token); in toAuthToken()
65 if (auth_token != nullptr && auth_token_size >= sizeof(*auth_token)) { in toAuthToken()
67 uint32_t auth_type = ntohl(auth_token->authenticator_type); in toAuthToken()
68 uint64_t auth_tstamp = ntohq(auth_token->timestamp); in toAuthToken()
72 EXPECT_EQ(HW_AUTH_TOKEN_VERSION, auth_token->version); in toAuthToken()
74 ALOGI("Authenticator ID: %016" PRIX64, auth_token->authenticator_id); in toAuthToken()
75 EXPECT_NE(UINT32_C(0), auth_token->user_id); in toAuthToken()
77 return auth_token; in toAuthToken()
153 const hw_auth_token_t *auth_token = toAuthToken(rsp); in checkVerify() local
[all …]
/hardware/interfaces/gatekeeper/1.0/default/
DGatekeeper.cpp92 uint8_t *auth_token = nullptr; in verify() local
99 &auth_token, &auth_token_length, in verify()
102 rsp.data.setToExternal(auth_token, auth_token_length, true); in verify()
/hardware/libhardware/include/hardware/
Dgatekeeper.h144 uint8_t **auth_token, uint32_t *auth_token_length, bool *request_reenroll);