summaryrefslogtreecommitdiffstats
path: root/factor
Commit message (Collapse)AuthorAgeFilesLines
* Fixed a comment that said the factors in the output would be strictlyrillig2005-06-271-3/+3
| | | ascending.
* Add -lcrypt where -lcrypto is specified.christos2005-03-091-3/+3
|
* Separate primes manpage from that of factor. Correct DIAGNOSTICSjsm2004-02-082-46/+7
| | | information.
* Check large factor for being prime before applying Pollard'sjsm2004-02-081-6/+14
| | | | | | algorithm; fixes "factor 2147483647111311". Correct comment; algorithm is Pollard p-1, not Pollard rho. Increase base if p-1 algorithm reaches 1; fixes "factor 99999999999991". Testcases from David A Bagley <bagleyd@tux.org>.
* Move UCB-licensed code from 4-clause to 3-clause licence.agc2003-08-072-13/+5
| | | Patches provided by Joel Baker in PR 22269, verified by myself.
* Lots of minor fixes resulting from reading these man pages in detail.wiz2002-09-261-9/+6
|
* use NETBSDSRCDIR as appropriatelukem2002-09-191-3/+5
|
* Provide a BN_dec2bn() shim for the non-openssl case that reports an errorsimonb2002-06-181-3/+21
| | | if strtoul() fails.
* Fix a logic botch where if a number smaller than the square of the seivesimonb2002-06-171-12/+25
| | | | | | | | was prime to still called the Pollard Rho function when it didn't have to. Problem report by Nathan Williams. Unfortunately this one can't be picked up by a simple regression test since the broken way still produced the correct output, but just took far longer...
* make factor work with and without openssl.itojun2002-06-162-4/+55
|
* Use libcrypto's bignum support to implement a Pollard Rho factoringsimonb2002-06-152-40/+111
| | | algorithm so we can factorise numbers larger than a host long.
* Whitespace and/or punctuation fixes.wiz2001-04-021-5/+5
|
* Add use of `const' where appropriate to the games.jsm1999-09-081-5/+5
| | | | | | | | | This merges in all such remaining changes from the Linux port of the NetBSD games, except in hunt (where substantial changes from OpenBSD need to be looked at). Some such changes were previously covered in PRs bin/6041, bin/6146, bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994, bin/8039, bin/8057 and bin/8093.
* mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)hubertf1998-09-131-3/+3
|
* use CPPFLAGS instead of CFLAGSlukem1997-10-221-2/+2
|
* WARNSifylukem1997-10-102-13/+14
|
* Back out the .PATH.c changes. The .depend problem (and others)gwr1997-05-081-2/+2
| | | will be fixed using the new .NOPATH make feature instead.
* Use .PATH.c: ...gwr1997-05-061-2/+2
|
* Sync to 4.4BSD-Lite2tls1997-01-071-3/+4
|
* merge with Lite, new RCS id conventions, etc.cgd1995-03-233-243/+103
|
* specify man pages the new way.cgd1994-12-221-2/+2
|
* bring in limits.hderaadt1994-03-031-1/+2
|
* Eliminate a compiler warning.mycroft1993-12-081-2/+2
|
* Update to use new -mandoc macros.jtc1993-08-051-40/+48
|
* Add RCS identifiers.mycroft1993-08-011-1/+2
|
* Add RCS indentifiers.mycroft1993-08-011-1/+2
|
* Add RCS identifiers.mycroft1993-08-011-1/+2
|
* initial import of 386bsd-0.1 sourcescgd1993-03-213-0/+472