What you're referring to is "pederasty", in ancient Greece, in which an older male grooms a younger male companion for sex. Pederasty is specifically male homosexual pedophilia. Pedophilia in general applies to both sexes.
BTW, hetero & homosexual =/= pedophile.