mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-28 04:32:20 +01:00
mp_exptmod_base_2() uses Montogmery method and does not support even modulus. Added check. mp_exptmod_fast() uses Montogmery method when odd not when dr > 0. Comment updated at call. Reduce value of zero doesn't work for mp_reduece_2k. Changed setup of use to check for zero and won't use it. Other methods won't work either.