summaryrefslogtreecommitdiff
path: root/sys/include/mp.h
AgeCommit message (Collapse)Author
2018-11-04libmp: declare mpfactorialmischief
2018-03-09mptod/dtomp: add to mp.haiju
2016-08-28mp.h: add mpasraiju
2015-12-16libmp: add mpfield() function for fast field arithmeticcinap_lenrek
instead of testing for special field primes each time in mpmod(), make it explicit with a mpfiled() function that tests a modulus N to be of some special form that can be reduced more efficiently with some precalculation, and replaces N with a Mfield* when it can. the Mfield*'s are recognized by mpmod() as they have the MPfield flag set and provide a function pointer that executes the fast reduction.
2015-12-08mp: add logic operations; mpfmt: include 0x with #aiju
2015-11-21libmp: initial attempt at constant time code, faster reductions for special ↵cinap_lenrek
primes (for ecc) introduce MPtimesafe flag to request time invariant computation disables normalization so significant digits are not leaked.
2015-08-27mp.h: third time's a charmglenda
2015-08-27mp.h: oopsglenda
2015-08-27mp.h: define mpnrandglenda
2013-02-10mp.h: fix typoftrvxmtrx
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso image - sys/includeTaru Karttunen