aboutsummaryrefslogtreecommitdiff
path: root/sha1.h
diff options
context:
space:
mode:
authorSimon Quigley <tsimonq2@ubuntu.com>2017-06-19 15:19:47 -0500
committerSimon Quigley <tsimonq2@ubuntu.com>2017-06-19 15:19:47 -0500
commit79c11b29d78a70ae1b04af3b7ca4ec9bb12dd8d7 (patch)
treec4577e59ae13a8031f937991dcc3a63f68d18db5 /sha1.h
parent62eb92d94fa902b4a34dafce45547680a2655b40 (diff)
parent7aacc9f2510901c9e97b30fa9bcb550bb7f99c03 (diff)
Merge tag 'upstream/0.5.1+git20170605'
Upstream version 0.5.1+git20170605
Diffstat (limited to 'sha1.h')
-rw-r--r--sha1.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/sha1.h b/sha1.h
deleted file mode 100644
index 573ff8ac..00000000
--- a/sha1.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * SHA-1 in C
- * By Steve Reid <steve@edmweb.com>
- * 100% Public Domain
- */
-
-#ifndef __SHA1_H__
-#define __SHA1_H__
-
-#include <glib.h>
-
-#ifndef LITTLE_ENDIAN
-#if G_BYTE_ORDER == G_LITTLE_ENDIAN
-#define LITTLE_ENDIAN /* This should be #define'd if true. */
-#endif /* G_BYTE_ORDER */
-#endif /* LITTLE_ENDIAN */
-
-
-typedef struct {
- guint32 state[5];
- guint32 count[2];
- guchar buffer[64];
-} SHA1_CTX;
-
-void SHA1Transform(guint32 state[5], guchar buffer[64]);
-void SHA1Init(SHA1_CTX* context);
-void SHA1Update(SHA1_CTX* context, guchar* data, unsigned int len);
-void SHA1Final(guchar digest[20], SHA1_CTX* context);
-
-#endif /* __SHA1_H__ */