We are given the following securitygame $G^{\text{LOSTNAME}}$:
- Generate $k \leftarrow \{0,1\}^{\kappa}$ uniformly at random
- Choose $h \leftarrow \{0,1\}$ uniformly random
- Create decryption oracle $\mathcal{O}_{\text{Dec}}$ that on input c returns $Dec_{k}(c)$
- Create a one-time test oracle $\mathcal{O}_{\text{Test}}$ that on $m_1$ $m_2$ returns $Enc_{k}(m_h)$
- Call $\mathcal{A}$ with the security parameter and the oracles await $h'$
- If $c*$ (output of the testoracle) was input to the decryption oracle ACCEPT/REJECT randomly
- If $h'=h$ ACCEPT else REJECT
Now I should prove that IND-CCA -> LOSTNAME and LOSTNAME -> IND-CCA. The first direction is easy but the second one is not clear to me. In the IND-CCA setting we also have an encryption oracle, so an attacker on a scheme $\Pi$ would not be an attacker against LOSTNAME in my opinion. I also have no idea how I would prove that the encryption oracle can just be omitted. So how would I prove that the encryption oracle is actually irellevant? Any hint is highly appreciacted.