Lines Matching refs:token
185 response.token.challenge = request.challenge; in VerifyAuthorization()
186 response.token.timestamp = get_current_time_ms(); in VerifyAuthorization()
187 response.token.security_level = SecurityLevel(); in VerifyAuthorization()
190 toBlob(response.token.challenge), in VerifyAuthorization()
191 toBlob(response.token.timestamp), in VerifyAuthorization()
192 toBlob(response.token.security_level), in VerifyAuthorization()
195 response.error = hmacSha256(hmac_key_, data_chunks, 5, &response.token.mac); in VerifyAuthorization()
200 keymaster_error_t SoftKeymasterEnforcement::GenerateTimestampToken(TimestampToken* token) { in GenerateTimestampToken() argument
201 token->timestamp = get_current_time_ms(); in GenerateTimestampToken()
202 token->security_level = SecurityLevel(); in GenerateTimestampToken()
205 toBlob(token->challenge), in GenerateTimestampToken()
206 toBlob(token->timestamp), in GenerateTimestampToken()
207 toBlob(token->security_level), in GenerateTimestampToken()
209 return hmacSha256(hmac_key_, data_chunks, 4, &token->mac); in GenerateTimestampToken()