Prevent small subgroup attacks on DH/DHE