Topological massive Dirac edge modes and long-range superconducting Hamiltonians