BERNSTEIN, D. J.; YANG, B.-Y. Fast constant-time gcd computation and modular inversion. IACR Transactions on Cryptographic Hardware and Embedded Systems, v. 2019, n. 3, p. 340-398, 9 May 2019.