summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Mark Wooding [Sat, 4 Feb 2006 17:53:52 +0000 (17:53 +0000)]
gf: Make GF.fromstring consistent with MP.fromstring
The latter raises an exception if given an empty string, and reports
`bad radix' if it is, rather than `out of range'.
Mark Wooding [Sun, 29 Jan 2006 13:55:35 +0000 (13:55 +0000)]
mp: Forbid negative bit numbers in {set,clear,test}bit methods.
Mark Wooding [Sat, 28 Jan 2006 19:31:46 +0000 (19:31 +0000)]
ec, group: Bug squashing.
* eccurve_pynew had a bad argument format string, which caused a
segfault.
* fginfo_pynew also had bogus argument parsing, found in sweep for
similar bugs.
* ECCurve.pt hadn't been fixed since curves became types. Now done.
Mark Wooding [Sat, 28 Jan 2006 19:12:38 +0000 (19:12 +0000)]
__init__.py: Spruce up a lot.
* Divide into sections and add commentary.
* Add static methods for BBSPriv class (ooops).
Mark Wooding [Sat, 28 Jan 2006 19:09:57 +0000 (19:09 +0000)]
rand: Generators based on symmetric algorithms; fixing
* Include support for the various generators based on symmetric
algorithms: i.e., counter and OFB modes for block ciphers, and SEAL
and RC4.
* Recognise, and return correct subclass instance for, TLS and SSL
generators, and the symmetric crypto-based generators.
Mark Wooding [Sat, 28 Jan 2006 19:07:27 +0000 (19:07 +0000)]
mp: Replace MP.product() by an MPMul class. Much more useful.
Mark Wooding [Sat, 28 Jan 2006 19:03:25 +0000 (19:03 +0000)]
Bug squashing.
* Fix setting functions to check for null value (interpreted as property
deletion) and raise an exception or do something else useful.
* Fix conversion of read buffer to string so it returns the remainder
rather than the whole thing.
* Make conversions between MP and Python long work on PyObjects rather
than PyLongObjects, to eliminate pointless type casts.
* Fix primefield constructor argument parsing so that it doesn't crash!
* Fix radix checking in MP conversions to exclude +/-1, and 0 for output.
This turns into a little function now.
* Do argument checking on Jacobi function.
Mark Wooding [Sat, 28 Jan 2006 18:46:07 +0000 (18:46 +0000)]
Reorganization: split out utilities; mapping methods
* Move non-project-specific Python utilities into a separate file. They
might conceivably find their way into a new project some day.
* Implement the standard mapping methods generically (i.e., in terms of
basic Python mapping operations).
* Use the mapping methods for the various key-object-related mappings.
* Start fixing setter functions for null values.
Mark Wooding [Sat, 28 Jan 2006 18:07:53 +0000 (18:07 +0000)]
algorithms: Add PRPs as objects in their own right.
Mark Wooding [Sat, 28 Jan 2006 14:41:08 +0000 (14:41 +0000)]
debian: various fixes.
* Adopt Debian standard package naming.
* Improve package descriptions.
* Set up dependencies according to policy.
Mark Wooding [Sat, 28 Jan 2006 14:26:52 +0000 (14:26 +0000)]
passim: fix typo
`tp_iternexr' instead of `tp_iternext'.
Mark Wooding [Sat, 28 Jan 2006 14:04:24 +0000 (14:04 +0000)]
gf.c: remove stub file
This file never really got off the ground; the stuff that was meant
to go in it ended up in mp.c ages ago.
Mark Wooding [Sat, 28 Jan 2006 13:55:26 +0000 (13:55 +0000)]
Extract Subversion ignore data.
mdw [Tue, 27 Sep 2005 11:27:14 +0000 (11:27 +0000)]
key_qtag fixing.
mdw [Tue, 27 Sep 2005 11:27:03 +0000 (11:27 +0000)]
Buffer sharing and subbuffers.
mdw [Mon, 26 Sep 2005 12:58:11 +0000 (12:58 +0000)]
Checkin, Debianized and more or less complete.
mdw [Thu, 15 Sep 2005 11:58:36 +0000 (11:58 +0000)]
Fix for Cygwin.
mdw [Tue, 21 Jun 2005 07:15:39 +0000 (07:15 +0000)]
Various other little bits.
mdw [Tue, 21 Jun 2005 07:11:00 +0000 (07:11 +0000)]
Modularize the password safe.
mdw [Fri, 29 Apr 2005 13:11:19 +0000 (13:11 +0000)]
More fixing for modern Pythons. No longer works with 2.2. Sorry.
mdw [Thu, 28 Apr 2005 09:41:54 +0000 (09:41 +0000)]
Use default python to build.
mdw [Wed, 27 Apr 2005 23:40:07 +0000 (23:40 +0000)]
Fixing for Python 2.3 and later.
mdw [Sun, 10 Apr 2005 23:38:11 +0000 (23:38 +0000)]
Various minor fixings.
mdw [Sun, 10 Apr 2005 18:03:11 +0000 (18:03 +0000)]
Initial check-in of catacomb-python.
mdw [Sun, 10 Apr 2005 17:59:47 +0000 (17:59 +0000)]
Import catacomb-python.