Lines Matching refs:auth_token
452 hw_auth_token_t auth_token; in AuthTokenMatches() local
453 memcpy(&auth_token, auth_token_blob.data, sizeof(hw_auth_token_t)); in AuthTokenMatches()
454 if (auth_token.version != HW_AUTH_TOKEN_VERSION) { in AuthTokenMatches()
456 auth_token.version, HW_AUTH_TOKEN_VERSION); in AuthTokenMatches()
460 if (!ValidateTokenSignature(auth_token)) { in AuthTokenMatches()
465 if (auth_timeout_index == -1 && op_handle && op_handle != auth_token.challenge) { in AuthTokenMatches()
466 LOG_E("Auth token has the challenge %llu, need %llu", auth_token.challenge, op_handle); in AuthTokenMatches()
470 if (user_secure_id != auth_token.user_id && user_secure_id != auth_token.authenticator_id) { in AuthTokenMatches()
471 LOG_I("Auth token SIDs %llu and %llu do not match key SID %llu", auth_token.user_id, in AuthTokenMatches()
472 auth_token.authenticator_id, user_secure_id); in AuthTokenMatches()
486 uint32_t token_auth_type = ntoh(auth_token.authenticator_type); in AuthTokenMatches()
498 if (auth_token_timed_out(auth_token, auth_set[auth_timeout_index].integer)) { in AuthTokenMatches()