No, as far as we know, it’s entirely possible that both P!=NP and that one-way functions don’t exist.