summaryrefslogtreecommitdiff
path: root/crypto/md32_common.h
diff options
context:
space:
mode:
authorappro <appro>2007-04-30 17:22:09 +0000
committerappro <appro>2007-04-30 17:22:09 +0000
commit2e93771ef5757669cd5601f43ce1efa8b83fa314 (patch)
treef804979bdd2a87bed95af8388dfd9f3b0cf817bd /crypto/md32_common.h
parent1bbb5499dc5846e14b5a2f2981ff968770acf17f (diff)
downloadopenssl-2e93771ef5757669cd5601f43ce1efa8b83fa314.tar.gz
Revert irrelevant changes from commit #16191.
Diffstat (limited to 'crypto/md32_common.h')
-rw-r--r--crypto/md32_common.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/crypto/md32_common.h b/crypto/md32_common.h
index e3ec1a72d..8fda6ffde 100644
--- a/crypto/md32_common.h
+++ b/crypto/md32_common.h
@@ -64,7 +64,8 @@
* HASH_CBLOCK
* size of a unit chunk HASH_BLOCK operates on.
* HASH_LONG
- * has to be at lest 32 bit wide.
+ * has to be at lest 32 bit wide, if it's wider, then
+ * HASH_LONG_LOG2 *has to* be defined along
* HASH_CTX
* context structure that at least contains following
* members:
@@ -72,8 +73,8 @@
* ...
* HASH_LONG Nl,Nh;
* either {
- * HASH_LONG data[HASH_LBLOCK];
- * unsigned char data[HASH_CBLOCK];
+ * HASH_LONG data[HASH_LBLOCK];
+ * unsigned char data[HASH_CBLOCK];
* };
* unsigned int num;
* ...
@@ -97,6 +98,7 @@
* #define DATA_ORDER_IS_LITTLE_ENDIAN
*
* #define HASH_LONG MD5_LONG
+ * #define HASH_LONG_LOG2 MD5_LONG_LOG2
* #define HASH_CTX MD5_CTX
* #define HASH_CBLOCK MD5_CBLOCK
* #define HASH_UPDATE MD5_Update