Bernstein, Daniel J., and Bo-Yin Yang. “Fast Constant-Time Gcd Computation and Modular Inversion”. IACR Transactions on Cryptographic Hardware and Embedded Systems 2019, no. 3 (May 9, 2019): 340–398. Accessed April 23, 2024. https://tches.iacr.org/index.php/TCHES/article/view/8298.