Home
last modified time | relevance | path

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

/device/google/cuttlefish/guest/hals/gatekeeper/remote/
Dremote_gatekeeper.cpp125 hidl_vec<uint8_t> auth_token( in verify() local
126 response.auth_token.Data<uint8_t>(), in verify()
127 response.auth_token.Data<uint8_t>() + response.auth_token.size()); in verify()
131 response.retry_timeout, auth_token}); in verify()
/device/google/cuttlefish/guest/hals/keymaster/remote/
Dremote_keymaster4_device.cpp109 hw_auth_token_t* auth_token = reinterpret_cast<hw_auth_token_t*>(p.blob.data()); in injectAuthToken() local
110 auth_token->version = 0; in injectAuthToken()
111 auth_token->challenge = authToken.challenge; in injectAuthToken()
112 auth_token->user_id = authToken.userId; in injectAuthToken()
113 auth_token->authenticator_id = authToken.authenticatorId; in injectAuthToken()
114 auth_token->authenticator_type = in injectAuthToken()
116 auth_token->timestamp = htobe64(authToken.timestamp); in injectAuthToken()
117 static_assert(mac_len == sizeof(auth_token->hmac)); in injectAuthToken()
118 memcpy(auth_token->hmac, authToken.mac.data(), mac_len); in injectAuthToken()
315 request.auth_token.challenge = authToken.challenge; in verifyAuthorization()
[all …]