Fast constant-time gcd computation and modular inversion. (2019). IACR Transactions on Cryptographic Hardware and Embedded Systems, 2019(3), 340-398. https://doi.org/10.13154/tches.v2019.i3.340-398