Thanks to all.
First, I did the front job already, the wheel hubs were ok, so I used the old ones. When the acident happened, the car was in 4WD and that is why the front differential pinion broke, I got a new pinion and wheel, but the pinion had the fine spline and the flange to the powertrain...