projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added SILC Thread Queue API
[silc.git]
/
lib
/
silccrypt
/
sha1_internal.h
diff --git
a/lib/silccrypt/sha1_internal.h
b/lib/silccrypt/sha1_internal.h
index 4fce19013ceabf637f4476df5d0f94ba70b4ac31..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 {
-
ui
nt32 state[5];
-
ui
nt32 count[2];
+
SilcUI
nt32 state[5];
+
SilcUI
nt32 count[2];
unsigned char buffer[64];
} SHA1_CTX;
/* Function forward declerations */
unsigned char buffer[64];
} SHA1_CTX;
/* Function forward declerations */
-void SHA1Transform(
uint32 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,
ui
nt32 len);
+void SHA1Update(SHA1_CTX* context, unsigned char* data,
SilcUI
nt32 len);
void SHA1Final(unsigned char digest[20], SHA1_CTX* context);
#endif
void SHA1Final(unsigned char digest[20], SHA1_CTX* context);
#endif