is a constant-time algorithm just an algorithm that completes the entire calculation before returning even if it knows the correct answer sooner?
What matters is that the variance of execution time, which memory addresses are accessed, etc. is independent of any secret inputs.
https://soatok.blog/2020/08/27/soatoks-guide-to-side-channel...