I understand that a cipher suite should contain the MAC algorithm at the end.
So ECDHE-RSA-AES128-SHA256
should use SHA256 in HMAC for the MAC.
But what about the PRF? From the RFC this is what I understand: new cipher suites need to include the PRF at the end. The only "new" cipher suites I can think of is AES-GCM: ECDHE-ECDSA-AES128-GCM-SHA256
and here if I understand correctly, since no MAC is used SHA256 refers to the PRF p_SHA256?
I'm confused