Can $\ce{HI/P}$ reduction be used to reduce nitroalkanes and nitroarenes to alkyl amines and aryl amines ?
I learnt from my textbook that heating the nitroalkanes and nitroarenes with $\ce{H2}/\ce{Pt}$ is sufficient for the above conversion. But I am not sure whether $\ce{HI}$ and red $\ce{P}$ reduction will give the same products. Also, I could not find related information about this on the Internet.