OSDN Git Service

Change to build OpenSSL by ourselves to support Windows XP and earlier.
[ffftp/ffftp.git] / contrib / openssl / include / openssl / whrlpool.h
index b986f17..73c749d 100644 (file)
@@ -1,41 +1,41 @@
-#ifndef HEADER_WHRLPOOL_H\r
-# define HEADER_WHRLPOOL_H\r
-\r
-# include <openssl/e_os2.h>\r
-# include <stddef.h>\r
-\r
-#ifdef __cplusplus\r
-extern "C" {\r
-#endif\r
-\r
-# define WHIRLPOOL_DIGEST_LENGTH (512/8)\r
-# define WHIRLPOOL_BBLOCK        512\r
-# define WHIRLPOOL_COUNTER       (256/8)\r
-\r
-typedef struct {\r
-    union {\r
-        unsigned char c[WHIRLPOOL_DIGEST_LENGTH];\r
-        /* double q is here to ensure 64-bit alignment */\r
-        double q[WHIRLPOOL_DIGEST_LENGTH / sizeof(double)];\r
-    } H;\r
-    unsigned char data[WHIRLPOOL_BBLOCK / 8];\r
-    unsigned int bitoff;\r
-    size_t bitlen[WHIRLPOOL_COUNTER / sizeof(size_t)];\r
-} WHIRLPOOL_CTX;\r
-\r
-# ifndef OPENSSL_NO_WHIRLPOOL\r
-#  ifdef OPENSSL_FIPS\r
-int private_WHIRLPOOL_Init(WHIRLPOOL_CTX *c);\r
-#  endif\r
-int WHIRLPOOL_Init(WHIRLPOOL_CTX *c);\r
-int WHIRLPOOL_Update(WHIRLPOOL_CTX *c, const void *inp, size_t bytes);\r
-void WHIRLPOOL_BitUpdate(WHIRLPOOL_CTX *c, const void *inp, size_t bits);\r
-int WHIRLPOOL_Final(unsigned char *md, WHIRLPOOL_CTX *c);\r
-unsigned char *WHIRLPOOL(const void *inp, size_t bytes, unsigned char *md);\r
-# endif\r
-\r
-#ifdef __cplusplus\r
-}\r
-#endif\r
-\r
-#endif\r
+#ifndef HEADER_WHRLPOOL_H
+# define HEADER_WHRLPOOL_H
+
+# include <openssl/e_os2.h>
+# include <stddef.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+# define WHIRLPOOL_DIGEST_LENGTH (512/8)
+# define WHIRLPOOL_BBLOCK        512
+# define WHIRLPOOL_COUNTER       (256/8)
+
+typedef struct {
+    union {
+        unsigned char c[WHIRLPOOL_DIGEST_LENGTH];
+        /* double q is here to ensure 64-bit alignment */
+        double q[WHIRLPOOL_DIGEST_LENGTH / sizeof(double)];
+    } H;
+    unsigned char data[WHIRLPOOL_BBLOCK / 8];
+    unsigned int bitoff;
+    size_t bitlen[WHIRLPOOL_COUNTER / sizeof(size_t)];
+} WHIRLPOOL_CTX;
+
+# ifndef OPENSSL_NO_WHIRLPOOL
+#  ifdef OPENSSL_FIPS
+int private_WHIRLPOOL_Init(WHIRLPOOL_CTX *c);
+#  endif
+int WHIRLPOOL_Init(WHIRLPOOL_CTX *c);
+int WHIRLPOOL_Update(WHIRLPOOL_CTX *c, const void *inp, size_t bytes);
+void WHIRLPOOL_BitUpdate(WHIRLPOOL_CTX *c, const void *inp, size_t bits);
+int WHIRLPOOL_Final(unsigned char *md, WHIRLPOOL_CTX *c);
+unsigned char *WHIRLPOOL(const void *inp, size_t bytes, unsigned char *md);
+# endif
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif