Initial checkins of random crypto implementations


git-svn-id: svn://svn.tartarus.org/sgt@734 cda61777-01e9-0310-a592-d414129be87e
SHA-256, SHA-384 and SHA-512 Mysterious Constants


git-svn-id: svn://svn.tartarus.org/sgt@735 cda61777-01e9-0310-a592-d414129be87e
Finish implementation


git-svn-id: svn://svn.tartarus.org/sgt@736 cda61777-01e9-0310-a592-d414129be87e
Implementation of the draft SHA-256 algorithm


git-svn-id: svn://svn.tartarus.org/sgt@737 cda61777-01e9-0310-a592-d414129be87e
Draft SHA-512 and SHA-384 algorithms


git-svn-id: svn://svn.tartarus.org/sgt@738 cda61777-01e9-0310-a592-d414129be87e
Small typo in test rig


git-svn-id: svn://svn.tartarus.org/sgt@774 cda61777-01e9-0310-a592-d414129be87e
Core of AES (Rijndael) implementation. ECB, CBC etc not done.


git-svn-id: svn://svn.tartarus.org/sgt@775 cda61777-01e9-0310-a592-d414129be87e
Rijndael (AES) Python reference code plus table generation for the C version


git-svn-id: svn://svn.tartarus.org/sgt@776 cda61777-01e9-0310-a592-d414129be87e
Twofish implementation


git-svn-id: svn://svn.tartarus.org/sgt@777 cda61777-01e9-0310-a592-d414129be87e
Add the Unix crypt(3) stuff to the DES reference implementation


git-svn-id: svn://svn.tartarus.org/sgt@799 cda61777-01e9-0310-a592-d414129be87e
Update AES implementation to include the extensions for block and
key sizes of 5 and 7 words (20 and 28 bytes; 160 and 224 bits).


git-svn-id: svn://svn.tartarus.org/sgt@1225 cda61777-01e9-0310-a592-d414129be87e
Stop using physical tabs in Python. (I was goaded into doing this by
my editor, which has defaulted to showing them as explicit ^I for a
while now, but it seems like a generally prudent idea in any case.)


git-svn-id: svn://svn.tartarus.org/sgt@8478 cda61777-01e9-0310-a592-d414129be87e
Preliminary implementation of the subset of Keccak used as the SHA-3
submission, on the basis that it's bound to come in handy sooner or
later.


git-svn-id: svn://svn.tartarus.org/sgt@9684 cda61777-01e9-0310-a592-d414129be87e
New compilation mode for md5.c: if you compile with -DTEST_VERBOSE
then it will compile to a test program much like -DTEST, except that
all the intermediate hash states will be dumped between and during
each round. Handy for checking another implementation against, and a
useful model which at some point I might apply to the other
implementations in this directory.


git-svn-id: svn://svn.tartarus.org/sgt@9685 cda61777-01e9-0310-a592-d414129be87e