Seeing as Hungary is in the Schengen area you will be required to 'arrive' and have your passport stamped at Schiphol. Before entering the gate you will find a security check.
If your flight from SFO is on time, no worries - an hour is plenty. If not, that's KLM's problem.