summaryrefslogtreecommitdiff
path: root/src/DES.c
diff options
context:
space:
mode:
authorLegrandin <gooksankoo@hoiptorrow.mailexpire.com>2012-05-09 20:55:07 +0200
committerLegrandin <gooksankoo@hoiptorrow.mailexpire.com>2012-05-10 19:16:50 +0200
commit6f9fe103a582999c397f7bc8a2248613a207b780 (patch)
treec7f1bcf72442b2392d078d4a38e8bd9761bb39da /src/DES.c
parent2f8a86bd83138bfef618e763fb8b2147f1214af8 (diff)
downloadpycrypto-6f9fe103a582999c397f7bc8a2248613a207b780.tar.gz
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.
Diffstat (limited to 'src/DES.c')
-rw-r--r--src/DES.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DES.c b/src/DES.c
index 2bf3f84..ba63a09 100644
--- a/src/DES.c
+++ b/src/DES.c
@@ -102,7 +102,7 @@ static void block_decrypt(block_state *self, unsigned char *in, unsigned char *o
# define BLOCK_SIZE 8 /* 64-bit block size */
# define KEY_SIZE 0 /* variable key size (can be 128 or 192 bits (including parity) */
#else
-# define MODULE_NAME DES /* single DES */
+# define MODULE_NAME _DES /* single DES */
# define BLOCK_SIZE 8 /* 64-bit block size */
# define KEY_SIZE 8 /* 64-bit keys (including parity) */
#endif