summaryrefslogtreecommitdiff
path: root/src/_fastmath.c
Commit message (Expand)AuthorAgeFilesLines
* Increase attempts for recovering RSA (p,q) from (n,e,d)stageWouter Bolsterlee2014-06-231-1/+1
* Add side-channel countermeasures to DSA.Legrandin2014-06-221-9/+19
* Py3k cleanup: Module initializationDwayne Litzenberger2013-07-141-14/+29
* Py3k cleanup: Remove PyModule_GetDictDwayne Litzenberger2013-07-141-10/+8
* Py3k cleanup: Always use tp_getattroDwayne Litzenberger2013-07-141-88/+27
* Py3k cleanup: PyMODINIT_FUNCDwayne Litzenberger2013-07-141-2/+1
* Py3k cleanup: OB_SIZEDwayne Litzenberger2013-07-141-18/+10
* Py3k cleanup: PyVarObject_HEAD_INITDwayne Litzenberger2013-07-141-10/+0
* Py3k cleanup: PyType_ReadyDwayne Litzenberger2013-07-141-3/+4
* Py3k cleanup: Define PyLong_SHIFT and PyLong_MASK in Python 2.5 and belowDwayne Litzenberger2013-07-141-13/+0
* Add pycrypto_common.h and clean up a bunch of miscellaneous includes & typedefsDwayne Litzenberger2013-04-211-10/+2
* Fix compiler warning about "_POSIX_C_SOURCE" being redefined in string.hDwayne Litzenberger2013-02-171-1/+1
* Fix leaks in _fastmathSebastian Ramacher2013-02-161-2/+3
* setup.py: Add more compiler warnings and fix unsigned-signed comparisonsDwayne C. Litzenberger2012-07-031-2/+2
* _fastmath: Replace 'long int' with 'long' to avoid confusionDwayne C. Litzenberger2012-07-031-12/+12
* _fastmath: Use default false_positive_prob is one is not specifiedDwayne C. Litzenberger2012-07-031-1/+1
* Fix typo in commentDwayne C. Litzenberger2012-07-031-1/+1
* _fastmath: Propagate errors raised in rabinMillerTestDwayne C. Litzenberger2012-07-031-3/+6
* Store result of rabinMillerTest in an int.Sebastian Ramacher2012-07-031-2/+2
* _fastmath: Convert negative numbers properlyDwayne C. Litzenberger2012-04-251-7/+18
* some commentsDwayne C. Litzenberger2012-04-251-1/+2
* _fastmath: missing Py_BLOCK_THREADS on isPrime(1)Dwayne C. Litzenberger2012-04-251-2/+5
* Fix segfault if Crypto.Random.new is missing for some reason.Dwayne C. Litzenberger2012-02-181-0/+5
* Fix typoDwayne C. Litzenberger2012-02-181-1/+1
* Fix segfaults & reference leaks in error-handlingDwayne C. Litzenberger2012-02-181-10/+58
* Merged from upstream (py3k support) and modified so that all unit tests pass.Legrandin2011-10-181-65/+258
|\
| * Fix libgmp/libmpir autodetectionDwayne C. Litzenberger2011-10-101-2/+8
| * Merge branch 'master' into py3kDwayne C. Litzenberger2011-10-101-9/+23
| |\
| | * autoconf: only use side-channel secured mpz_powm_sec if it's available (libgm...Dwayne C. Litzenberger2011-10-101-9/+23
| * | Merge from dlitz/masterAnders Sundman2011-05-191-9/+9
| |\ \ | | |/
| * | Add Ron Rivet TestThorsten Behrens2010-12-301-0/+0
| * | PY3K _fastmath supportThorsten Behrens2010-12-291-1/+0
| * | PY3K support for _fastmath.c; removed floordiv(a,b) hack and replaced with di...Thorsten Behrens2010-12-291-7/+8
| * | Changes to allow pycrpyto to work on Python 3.x as well as 2.1 through 2.7Thorsten Behrens2010-12-281-53/+228
| * | Change _fastmath.c to compile with VC++, add support for mpir as alternative ...Thorsten Behrens2010-12-231-2/+9
* | | Fastmath can still be compiled with LIBGMP<=4.xLegrandin2011-09-201-9/+18
* | | Merged with upstream.Legrandin2011-09-201-9/+9
|\ \ \ | | |/ | |/|
| * | Replace calls to mpz_powm with mpz_powm_sec. This should help avoid some tim...Dwayne C. Litzenberger2011-02-211-9/+9
| |/
* | Factorization of n from d stops after 100 attempts, with test cases.Legrandin2011-02-061-4/+13
* | Keep p<q check while generating an RSA key, but tell people why really we do ...Legrandin2011-01-191-3/+0
* | Allow RSA to be generated with an arbitary public exponent e.Legrandin2011-01-181-5/+62
* | Fix comments in rsaDecrypt(), to match what the code really does.Legrandin2011-01-161-2/+2
|/
* getRandomNumber API compatibility:Dwayne C. Litzenberger2010-08-021-6/+6
* Fix potential uninitialized use of randfunc pointerDwayne C. Litzenberger2010-06-101-1/+1
* Fix compiler warnings & clean up the code a bit.Dwayne C. Litzenberger2010-06-101-6/+10
* getStrongPrime() implementationLorenz Quack2010-06-101-10/+1582
* Apply patch to release the GIL inside isPrime()Lorenz Quack2009-10-081-0/+2
* _fastmath.c: Replace the legal noticeDwayne C. Litzenberger2009-08-031-3/+19
* Crypto.PublicKey: Raise ValueError/TypeError/RuntimeError instead of the vari...Dwayne C. Litzenberger2009-04-251-9/+9
* Reduce symbol table pollution by declaring most things "static".Dwayne C. Litzenberger2009-03-041-20/+20