X448.cswap

private void cswap(uint doSwap, ref BigInt a, ref BigInt b)

Conditional swap for Montgomery ladder.

Swaps a and b if swap is non-zero. The Montgomery ladder structure ensures a regular pattern of operations regardless of scalar bits.