Bernstein, D.J. and Yang, B.-Y. (2019) “Fast constant-time gcd computation and modular inversion”, IACR Transactions on Cryptographic Hardware and Embedded Systems, 2019(3), pp. 340–398. doi:10.13154/tches.v2019.i3.340-398.