Are we allowed to recite portions of surahs if they are longer in the Salah or do we have to recite the entire surah?

As an obligatory precaution, we must recite a full Surah in Salat.