--Point 24 of the National Socialist Party platform, 1923
Come to think of it, Hillary supports most of that platform.
Absent those distinctions, the motivation of both was to subsume the individual in favor of the state (ie 'common good'). In fact, Hayek noted that Nazis recruited heavily from Communist ranks since the basic principles of totalitarianism were already accepted.