projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
e_padlock.c: make it compile on MacOS X.
[openssl.git]
/
engines
/
ccgost
/
gosthash.h
diff --git
a/engines/ccgost/gosthash.h
b/engines/ccgost/gosthash.h
index d9889cae2db41451b04c16126ae63a0341cc5e03..4a2e441ece2741131288b790db80581cd26d8687 100644
(file)
--- a/
engines/ccgost/gosthash.h
+++ b/
engines/ccgost/gosthash.h
@@
-1,5
+1,5
@@
/**********************************************************************
/**********************************************************************
- * gosthash.
c
*
+ * gosthash.
h
*
* Copyright (c) 2005-2006 Cryptocom LTD *
* This file is distributed under the same license as OpenSSL *
* *
* Copyright (c) 2005-2006 Cryptocom LTD *
* This file is distributed under the same license as OpenSSL *
* *
@@
-10,8
+10,17
@@
#define GOSTHASH_H
#include "gost89.h"
#include <stdlib.h>
#define GOSTHASH_H
#include "gost89.h"
#include <stdlib.h>
+
+#if (defined(_WIN32) || defined(_WIN64)) && !defined(__MINGW32__)
+typedef __int64 ghosthash_len;
+#elif defined(__arch64__)
+typedef long ghosthash_len;
+#else
+typedef long long ghosthash_len;
+#endif
+
typedef struct gost_hash_ctx {
typedef struct gost_hash_ctx {
-
long long
len;
+
ghosthash_len
len;
gost_ctx *cipher_ctx;
int left;
byte H[32];
gost_ctx *cipher_ctx;
int left;
byte H[32];