Yes. There are no auxiliary terminals at SFO; it's all one set of terminal buildings, all of them more or less connected and all are connected by means of a “people mover.” However if you are changing terminals you will need exit one secure area and go through screening again at the other terminal.