This is an old set of macros I made for doing modular arithmetic within a single machine word (32 or 64 bits) using Peter L. Montgomery's REDC method. (See mpm for some bignum code.) Download version 2 here:

redc1-2.tar.gz (14k)

The .asc is a Gnu PG ascii armoured signatures, generated from my key.

This page Copyright 2007, 2009, 2011, 2013, 2014, 2015, 2016 Kevin Ryde, except for the GPLv3 logo which is Copyright Free Software Foundation and used here in accordance with its terms.

(Back to the sitemap.)