aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/sha1.h
diff options
context:
space:
mode:
authorLeandro A. F. Pereira <leandro@hardinfo.org>2010-05-03 09:25:43 -0300
committerLeandro A. F. Pereira <leandro@hardinfo.org>2010-05-03 09:25:43 -0300
commit9a50155ec3e27aa6cedf3f118196f1947c769a29 (patch)
treec23cc6949b227b9e09432af038a44ccb81d92ce6 /hardinfo2/sha1.h
parentca5a3e84296a34c2391374942001cfaf1d8395a6 (diff)
Use CMake instead of ToscoConf.
Diffstat (limited to 'hardinfo2/sha1.h')
-rw-r--r--hardinfo2/sha1.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/hardinfo2/sha1.h b/hardinfo2/sha1.h
deleted file mode 100644
index 573ff8ac..00000000
--- a/hardinfo2/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__ */