Commit graph

114 commits

Author SHA1 Message Date
Dwayne C. Litzenberger
3103b3789f setup.py: Add more compiler warnings and fix unsigned-signed comparisons 2012-07-03 12:16:53 -04:00
Dwayne C. Litzenberger
373ea760f2 Release v2.6 2012-05-24 08:51:04 -04:00
Dwayne C. Litzenberger
daeea78796 Remove -std=c99 when building using aCC compiler HP-UX
Bug report: https://bugs.launchpad.net/pycrypto/+bug/980358
2012-05-24 07:41:30 -04:00
Legrandin
d42c964da4 Add documentation for XOR cipher 2012-05-14 19:12:12 +02:00
Legrandin
b0cf21ed20 Added documentation for ARC4 2012-05-14 19:03:39 +02:00
Legrandin
6d58363281 Added documentation for CAST-128 2012-05-12 23:51:29 +02:00
Legrandin
a6e43870ee Added documentation for RC2 2012-05-12 23:33:13 +02:00
Legrandin
79bdbe0d55 Added documentation for Blowfish 2012-05-11 23:23:20 +02:00
Legrandin
c47425619c Added documentation for Triple DES. 2012-05-10 23:01:30 +02:00
Legrandin
6f9fe103a5 Added documentation for AES and DES.
A new module (blockalgo) has been added. It contains a class (BlockAlgo)
all ciphers derive from. The only purpose of such base class
is to centralize all general documentation applicable to all block
ciphers (e.g. modes) into a single file.
2012-05-10 19:16:50 +02:00
Dwayne C. Litzenberger
20ee929935 setup.py: Remove download_url so that easy_install downloads from PyPI 2012-01-28 02:32:41 -05:00
Dwayne C. Litzenberger
c7a1573f51 setup.py: PyCrypto is used by lots of people in production 2012-01-28 02:32:19 -05:00
Dwayne C. Litzenberger
3245543c8d Release v2.5 2012-01-13 12:16:38 -05:00
Dwayne C. Litzenberger
f34f3d3c1b Merge commit 'pkcs_20111222' 2012-01-13 09:57:33 -05:00
Thomas
0c2bb47352 Add trove classifiers to indicate Python 2 and 3 compatibility. 2012-01-12 14:02:09 +00:00
Legrandin
114ca5b4d4 Merge from upstream 2011-12-22 14:55:40 +01:00
Dwayne C. Litzenberger
62247ca754 Release v2.4.1 2011-11-04 15:17:40 -04:00
Sebastian Ramacher
6a62dc3006 Run build_configure from build_ext.
When installing with easy_install build_ext ist called directly. Thus we have to
ensure that build_configure is run before we're building the extensions in
build_ext.
2011-11-04 15:01:30 -04:00
Dwayne C. Litzenberger
a23efbfbb7 Bump to v2.4 2011-10-22 13:29:01 -04:00
Legrandin
c22fa18c0d Merged from upstream (py3k support) and modified so that all unit tests pass. 2011-10-18 23:20:26 +02:00
Legrandin
897b75983c Added Lorenz Quack's native C implementation of all SHA-2 algorithm
(as submitted here https://bugs.launchpad.net/pycrypto/+bug/544792)
so that they are available also in Python 2.1, 2.2, 2.3 and 2.4.

Regardless where the implementation comes from (Python standard
library or our native modules, depending on the Python version),
all Crypto.Hash objects are always used as front-ends.
2011-10-16 22:41:21 +02:00
Dwayne C. Litzenberger
323ce9ef95 Fix libgmp/libmpir autodetection 2011-10-10 19:15:50 -04:00
Dwayne C. Litzenberger
c90c797a58 Don't test SHA224/384/512 where hashlib isn't available (Python < 2.5) 2011-10-10 16:05:23 -04:00
Dwayne C. Litzenberger
7e490d9b3a setup.py: configure be quiet when --quiet is specified 2011-10-10 16:05:23 -04:00
Dwayne C. Litzenberger
c263294fe7 setup.py: Don't run ./configure if ./config.status already exists 2011-10-10 16:05:23 -04:00
Dwayne C. Litzenberger
bf38995ffa Merge branch 'master' into py3k
Conflicts:
	setup.py
	src/_fastmath.c
2011-10-10 14:51:07 -04:00
Dwayne C. Litzenberger
9cfb332b22 autoconf: only use side-channel secured mpz_powm_sec if it's available (libgmp 5 or later) 2011-10-10 14:49:26 -04:00
Legrandin
44ed631b69 Replace explicit search for gmp library with an attempt to compile a dummy C file dependent on it. 2011-09-27 18:55:06 +02:00
Anders Sundman
e226cd7f96 Merge from dlitz/master 2011-05-19 19:55:12 +02:00
Legrandin
1166875eb3 The final, tested PKCS#1 v1.5 signature module 2011-02-03 01:35:59 +01:00
Legrandin
abd276c5fa Improve the test command in setup.py, by allowing tests to be
performed on a single sub-package or module only.
2011-01-10 18:52:40 +01:00
Thorsten Behrens
606b17789c Replace tabs with spaces 2011-01-10 07:50:52 -05:00
Thorsten Behrens
4082de9a48 Add Ron Rivet Test
o Add Ron Rivet DES test to test_DES.py
o Started on API documentation for 3.x
2010-12-30 07:15:35 -05:00
Thorsten Behrens
cb48387f66 PY3K _fastmath support
o _fastmath now builds and runs on PY3K
o Changes to setup.py to allow /usr/include for gmp.h
o Changes to setup.py to allow linking fastmath w/ static mpir
  on Windows without warning messages
o Changes to test_DSA/test_RSA to throw an exception if _fastmath
  is present but cannot be imported (due to an issue building
  _fastmath or the shared gmp/mpir libraries not being reachable)
o number.py has the code to flag a failing _fastmath, but that
  code is commented out for a better runtime experience
o Clean up the if for py21compat import - should have been == not is
o Clean up some '== None' occurences, now 'is None' instead
2010-12-29 13:21:05 -05:00
Thorsten Behrens
ca701f92f5 PY3K support for _fastmath.c; removed floordiv(a,b) hack and replaced with divmod(a,b)[0]; move to assertEqual throughout the test suite to prep for assert_ and failIf being removed in 3.3/3.4 2010-12-29 05:29:08 -05:00
Thorsten Behrens
295ce314d9 Changes to allow pycrpyto to work on Python 3.x as well as 2.1 through 2.7 2010-12-28 16:26:52 -05:00
Thorsten Behrens
1873473e13 Removed erroneous print statement from setup.py - it had snuck in from the released 2.3 source 2010-12-23 02:48:45 -05:00
Thorsten Behrens
917bc64f7e Change _fastmath.c to compile with VC++, add support for mpir as alternative to gmp 2010-12-23 02:41:02 -05:00
Dwayne C. Litzenberger
9e9641d0a9 Bump to version 2.3 2010-08-27 00:41:55 -04:00
Dwayne C. Litzenberger
6acbeba215 Bump to version 2.2 2010-08-02 17:15:23 -04:00
Dwayne C. Litzenberger
deeed53e07 Fix build on python compiled with profiling
See https://bugs.launchpad.net/pycrypto/+bug/609175

Apparently, the -pg and -fomit-frame-pointer options to gcc are incompatible,
and -pg is added when python is built using --enable-profiling.

Thanks to Drew Smathers for pointing this out and proposing this fix.
2010-08-02 17:03:30 -04:00
Dwayne C. Litzenberger
574ffac9f5 Tell GCC to compile using the C99 standard
This should fix building on FreeBSD and NetBSD.
2010-05-29 10:13:56 -04:00
Dwayne C. Litzenberger
033fc93615 Release version 2.1.0 2009-12-13 15:39:29 -05:00
Dwayne C. Litzenberger
7ac1798a27 Bump to version 2.1.0b1 2009-11-01 21:00:45 -05:00
Dwayne C. Litzenberger
afbaf76c8c setup.py: Add USE_GCOV variable for building with gcov 2009-10-12 14:53:59 -04:00
Dwayne C. Litzenberger
bf7a2e7598 setup.py: Enable assert() statements, and reduce optimization when debugging 2009-10-11 01:07:44 -04:00
Dwayne C. Litzenberger
d34e3f4e7b setup.py: Update download_url 2009-08-28 12:10:24 -04:00
Dwayne C. Litzenberger
e2f605648b setup.py: Fix "setup.py sdist" 2009-08-28 12:10:24 -04:00
Dwayne C. Litzenberger
e0739da819 setup.py: Update author/email/URL information 2009-08-28 12:10:23 -04:00
Dwayne C. Litzenberger
b2e5f03eac Bump to version 2.1.0a2 2009-08-28 12:09:15 -04:00