projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Integer type name change.
[silc.git]
/
lib
/
silccrypt
/
sha1_internal.h
diff --git
a/lib/silccrypt/sha1_internal.h
b/lib/silccrypt/sha1_internal.h
index 15ae9bd789eb7166879e44617fbcfba416f0e0c0..62b9789315dfd9e6d120c3904ce8ec6af6204297 100644
(file)
--- a/
lib/silccrypt/sha1_internal.h
+++ b/
lib/silccrypt/sha1_internal.h
@@
-20,15
+20,15
@@
A million repetitions of "a"
/* Context declaration */
typedef struct {
/* Context declaration */
typedef struct {
-
unsigned long
state[5];
-
unsigned long
count[2];
+
SilcUInt32
state[5];
+
SilcUInt32
count[2];
unsigned char buffer[64];
} SHA1_CTX;
/* Function forward declerations */
unsigned char buffer[64];
} SHA1_CTX;
/* Function forward declerations */
-void SHA1Transform(
unsigned long state[5], unsigned char buffer[64]
);
+void SHA1Transform(
SilcUInt32 *state, const unsigned char *data
);
void SHA1Init(SHA1_CTX* context);
void SHA1Init(SHA1_CTX* context);
-void SHA1Update(SHA1_CTX* context, unsigned char* data,
unsigned int
len);
+void SHA1Update(SHA1_CTX* context, unsigned char* data,
SilcUInt32
len);
void SHA1Final(unsigned char digest[20], SHA1_CTX* context);
#endif
void SHA1Final(unsigned char digest[20], SHA1_CTX* context);
#endif