diff options
author | Legrandin <gooksankoo@hoiptorrow.mailexpire.com> | 2011-10-16 22:41:21 +0200 |
---|---|---|
committer | Legrandin <gooksankoo@hoiptorrow.mailexpire.com> | 2011-10-16 22:41:21 +0200 |
commit | 897b75983c31a9e2630af92161e6206c2480685e (patch) | |
tree | ee73668ae2862dd828fd39c7bf41e4dbc10a1e09 /src/MD2.c | |
parent | e05362993e34be982bd08e5ffd076c3e4a351232 (diff) | |
download | pycrypto-897b75983c31a9e2630af92161e6206c2480685e.tar.gz |
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.
Diffstat (limited to 'src/MD2.c')
-rw-r--r-- | src/MD2.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -30,7 +30,7 @@ #include <string.h> #include "Python.h" -#define MODULE_NAME MD2 +#define MODULE_NAME _MD2 #define DIGEST_SIZE 16 #define BLOCK_SIZE 64 |