rp-process nucleosynthesis at extreme temperature and density conditions