• Niels Möller's avatar
    Separate result area for ecc_mod_mul and ecc_mod_sqr. · 172448b0
    Niels Möller authored
    * ecc-mod-arith.c (ecc_mod_mul, ecc_mod_sqr): Separate argument
    for scratch area, reducing required size of result area. Update
    all callers to naïvely keep using result in scratch area.
    (ecc_mod_pow_2k, ecc_mod_pow_2k_mul): Simplified, also reducing
    required size of result area.
    172448b0