From d24a74c5b4fb62b720a79b632021746b69de7c45 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Thu, 30 Apr 2009 11:37:54 +0000 Subject: merging changes from portability branch back to trunk important change for developers: %Y replaces %D to print identities! --- src/libfreeswan/ipsec_sha1.h | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 src/libfreeswan/ipsec_sha1.h (limited to 'src/libfreeswan/ipsec_sha1.h') diff --git a/src/libfreeswan/ipsec_sha1.h b/src/libfreeswan/ipsec_sha1.h deleted file mode 100644 index a0fcd90e1..000000000 --- a/src/libfreeswan/ipsec_sha1.h +++ /dev/null @@ -1,32 +0,0 @@ -/* - * RCSID $Id$ - */ - -/* - * Here is the original comment from the distribution: - -SHA-1 in C -By Steve Reid -100% Public Domain - - * Adapted for use by the IPSEC code by John Ioannidis - */ - - -#ifndef _IPSEC_SHA1_H_ -#define _IPSEC_SHA1_H_ - -typedef struct -{ - __u32 state[5]; - __u32 count[2]; - __u8 buffer[64]; -} SHA1_CTX; - -void SHA1Transform(__u32 state[5], __u8 buffer[64]); -void SHA1Init(void *context); -void SHA1Update(void *context, unsigned char *data, __u32 len); -void SHA1Final(unsigned char digest[20], void *context); - - -#endif /* _IPSEC_SHA1_H_ */ -- cgit v1.2.3