Bernstein, Daniel J., and Bo-Yin Yang. 2019. “Fast Constant-Time Gcd Computation and Modular Inversion”. IACR Transactions on Cryptographic Hardware and Embedded Systems 2019 (3):340-98. https://doi.org/10.13154/tches.v2019.i3.340-398.