In previous versions of TLS, the choice of the Diffie-Hellman parameters was up to the participants. This resulted in some implementations choosing incorrectly, resulting in vulnerable implementations being deployed. How does TLS 1.3 takes this choice away?
How are the X(g^x mod p) and Y(g^y mod p) values determined when creating a pre master key in TLS 1.3?