diff options
Diffstat (limited to 'src/math/numbertheory/powm_mnt.cpp')
-rw-r--r-- | src/math/numbertheory/powm_mnt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/numbertheory/powm_mnt.cpp b/src/math/numbertheory/powm_mnt.cpp index e565d9368..4ca0083a8 100644 --- a/src/math/numbertheory/powm_mnt.cpp +++ b/src/math/numbertheory/powm_mnt.cpp @@ -153,7 +153,7 @@ BigInt Montgomery_Exponentiator::execute() const x.grow_to(2*m_mod_words + 1); - bigint_monty_redc(&x[0], x.size(), + bigint_monty_redc(x.mutable_data(), x.size(), m_modulus.data(), m_mod_words, m_mod_prime, &workspace[0]); |