diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-06-21 00:09:21 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-06-21 00:09:21 +0000 |
commit | 58dfa32dfb713d4e3007707a08545d7cb4b260f6 (patch) | |
tree | 29203461a1397b05f692e94feda8d1cb08974f52 /sys/netinet/ip_sha1.h | |
parent | 049ba3e9549dd5fa08b2966376f4e220b4145fad (diff) |
u_int32_t changes, need testing
Diffstat (limited to 'sys/netinet/ip_sha1.h')
-rw-r--r-- | sys/netinet/ip_sha1.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet/ip_sha1.h b/sys/netinet/ip_sha1.h index 2a0cec5777f..64615eb0e3a 100644 --- a/sys/netinet/ip_sha1.h +++ b/sys/netinet/ip_sha1.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_sha1.h,v 1.2 1997/02/24 14:06:44 niklas Exp $ */ +/* $OpenBSD: ip_sha1.h,v 1.3 1997/06/21 00:09:20 deraadt Exp $ */ /* SHA-1 in C @@ -7,12 +7,12 @@ By Steve Reid <steve@edmweb.com> */ typedef struct { - unsigned long state[5]; - unsigned long count[2]; + u_int32_t state[5]; + u_int32_t count[2]; unsigned char buffer[64]; } SHA1_CTX; -void SHA1Transform(unsigned long state[5], unsigned char buffer[64]); +void SHA1Transform(u_int32_t state[5], unsigned char buffer[64]); void SHA1Init(SHA1_CTX* context); void SHA1Update(SHA1_CTX* context, unsigned char* data, unsigned int len); void SHA1Final(unsigned char digest[20], SHA1_CTX* context); |