This is the classic Fenchel-Rockafellar primal dual link. It will be easier to check the maths, notably in the enet case.