Enzyme of the human immunodeficiency virus that is required for post-translational cleavage of gag and gag-pol precursor polyproteins into functional products needed for viral assembly. hiv protease is an aspartic protease encoded by the amino terminus of the pol gene.