Discretely modulated continuous-variable quantum key distribution with an untrusted entanglement source