Integer factorization is not known to be NP-complete nor NP-hard, thus a polynomial time solution would not imply P=NP.