8.8 swap

An 8.8 and a 8.25 take the same length driveshaft?
Mine worked fine. With a 457 u joint.