Niall Emmart <nemmart at hotmail.com> writes: Maybe the fastest approach would be to use the low level routines to do repeated squaring in Montgomery space. That would speed things up a lot iff the comutations are performed in an invariant ring (or rings). -- Torbjörn Please encrypt, key id 0xC8601622