Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-02-19 | mkfiles: add 'mk test' support | Ori Bernstein | |
9front has several tests scattered throughout the source, as well as more tests in an external 'regress' repository. Many of these tests are broken, because there is no easy way to build and track all of them. This pulls in several tests from different sources, deletes the broken tests, tests with missing data, and adds a single command that can be run from the root of the src directory to test our system. The hope is that as we develop new code, we add more tests, and eventually start running the tests on every commit. Please enter the commit message for your changes. Lines starting | |||
2023-01-06 | libmp: parentesis (from drawterm) | cinap_lenrek | |
2022-01-10 | reduce: use if() to test for exit status of pipeline | cinap_lenrek | |
The new rc's exit status will be '' for a successfull pipeline execution instead of '|'. This is a bit too tightly coupled, so just use if() statement instead, handling this in a portable way. | |||
2019-05-03 | libmp: add dummy mkfile for arm64 | cinap_lenrek | |
2018-12-06 | libmp: fix mptouv behaviour to match mptoui | aiju | |
2018-12-06 | libmp: add tests for integer conversions | aiju | |
2018-12-05 | mptov: make it actually work | aiju | |
2018-05-05 | libmp: add awk-generated tests | aiju | |
2018-05-05 | mpdiv: get signs right... | aiju | |
2018-05-05 | mp: more tests | aiju | |
2018-05-04 | mpmagadd: oops... | aiju | |
2018-05-04 | mpmagadd: force output sign +1 always | aiju | |
2018-05-04 | mpdiv: fix sign bug | aiju | |
2018-05-04 | libmp: add new tests | aiju | |
2018-05-03 | mplogic: don't drop carry out | aiju | |
2018-04-26 | mpdiv: fix dividing 0 by a small power of two | aiju | |
2018-03-09 | mp: add mptod and dtomp | aiju | |
2017-12-31 | libmp: use constant time encode(2) routines instead of lookup tables | cinap_lenrek | |
the encode(2) routines are constant time now, so use them instead of using lookup table that can leak information through cache timing side channel. | |||
2017-02-05 | libmp: fix mpmod() aliasing bug when n == r and x < 0 (thanks aiju, mischief) | cinap_lenrek | |
mischief found this in rsafill()'s call mpmod(c2, x, x), where d parameter is negative (rsagen created a rsa key with negative dk). | |||
2016-12-28 | libmp: avoid temporary buffer allocation in mprand() | cinap_lenrek | |
2016-12-20 | mpxor: sign should be 1/-1, not 0/-1 | aiju | |
2016-09-01 | mptrunc: don't write to r->p[r->top] | aiju | |
2016-08-29 | libmp: remove unused mpeuclid.c | cinap_lenrek | |
2016-08-29 | libmp: allow passing nil to v,x,y results of mpextendedgcd(), simplify ↵ | cinap_lenrek | |
mpinvert() | |||
2016-08-29 | libmp: mpnrand(), what was i *THINKING* | cinap_lenrek | |
the prior implementation was unneccesarily complicated for no good reason due to me misunderstanding how libc's nrand() works. in contrast to libc, we already generate the *closest* power-of-2 random number with mprand() in the sampling loop. | |||
2016-08-28 | libmp: mpdiv(): fix divisor==quotient case (again) | cinap_lenrek | |
2016-08-28 | libmp: timingsafe sign flip for small power-of-two negative divisor for mpdiv() | cinap_lenrek | |
2016-08-28 | mpdiv: negative divisor has to flip sign of quotient | aiju | |
2016-08-28 | mp: fix mptov and mptouv | aiju | |
2016-08-28 | mp: fix mpnot and add mpasr | aiju | |
2016-08-28 | strtomp: update the returned char* even if there were no characters parsed | aiju | |
2016-08-28 | strtomp: fix mpbits() call in octal code | aiju | |
2016-08-08 | mptrunc: normalize after mpassign to handle the case b==r | aiju | |
2016-05-04 | retire the dec alpha port | cinap_lenrek | |
2016-04-10 | libmp: fix build for spim, reduce by the mips assembly files | cinap_lenrek | |
2016-04-10 | libmp: make includes consistent, make test program compile under ape (work ↵ | cinap_lenrek | |
in progress) | |||
2016-02-05 | libmp: remove include of libsec.h | mischief | |
2016-02-04 | libmp: handle out of memory case in gmfield() | cinap_lenrek | |
2016-01-06 | libmp: silence compiler warning for strtomp | cinap_lenrek | |
2016-01-04 | libmp: check nil return value of strtomp() in test program | cinap_lenrek | |
2016-01-04 | libmp: mistake in strtomp() | cinap_lenrek | |
2016-01-03 | libmp: support for c-style base prefixes for strtomp(), octal support | cinap_lenrek | |
2015-12-20 | mpfmt: handle base 2, 4 | aiju | |
2015-12-16 | libmp: add mpfield() function for fast field arithmetic | cinap_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-08 | mp: strtomp support for bases 2,4,8 | aiju | |
2015-12-08 | mp: fix bug in mplogic.c; update mkfile | aiju | |
2015-12-08 | mp: add logic operations; mpfmt: include 0x with # | aiju | |
2015-12-06 | libmp: fix assert() for mpexp() with nil modulus | cinap_lenrek | |
2015-12-06 | libmp: fix wrong move instruction for arm vector operations | cinap_lenrek | |
2015-12-01 | libmp: mpmod() fix typo | cinap_lenrek | |