diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/math/numbertheory/powm_mnt.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/math/numbertheory/powm_mnt.cpp b/src/lib/math/numbertheory/powm_mnt.cpp index ba7fddef2..ad3038e5d 100644 --- a/src/lib/math/numbertheory/powm_mnt.cpp +++ b/src/lib/math/numbertheory/powm_mnt.cpp @@ -88,9 +88,7 @@ BigInt Montgomery_Exponentiator::execute() const const uint32_t nibble = m_exp.get_substring(m_window_bits*(i-1), m_window_bits); - const BigInt& y = m_g[nibble]; - - bigint_monty_mul(z, x, y, + bigint_monty_mul(z, x, m_g[nibble], m_modulus.data(), m_mod_words, m_mod_prime, workspace.data()); |