projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updates. New data types.
[silc.git]
/
lib
/
silccrypt
/
sha1_internal.h
diff --git
a/lib/silccrypt/sha1_internal.h
b/lib/silccrypt/sha1_internal.h
index 15ae9bd789eb7166879e44617fbcfba416f0e0c0..4fce19013ceabf637f4476df5d0f94ba70b4ac31 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 {
- u
nsigned long
state[5];
- u
nsigned long
count[2];
+ u
int32
state[5];
+ u
int32
count[2];
unsigned char buffer[64];
} SHA1_CTX;
/* Function forward declerations */
unsigned char buffer[64];
} SHA1_CTX;
/* Function forward declerations */
-void SHA1Transform(u
nsigned long
state[5], unsigned char buffer[64]);
+void SHA1Transform(u
int32
state[5], unsigned char buffer[64]);
void SHA1Init(SHA1_CTX* context);
void SHA1Init(SHA1_CTX* context);
-void SHA1Update(SHA1_CTX* context, unsigned char* data, u
nsigned int
len);
+void SHA1Update(SHA1_CTX* context, unsigned char* data, u
int32
len);
void SHA1Final(unsigned char digest[20], SHA1_CTX* context);
#endif
void SHA1Final(unsigned char digest[20], SHA1_CTX* context);
#endif