summaryrefslogtreecommitdiffstats
path: root/lib/plugins/Python_hash.h
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2010-10-15 14:11:23 +0200
committerDenys Vlasenko <dvlasenk@redhat.com>2010-10-15 14:11:23 +0200
commit2860fc63ac8246fe78efd47d7319b52e8372a48c (patch)
treef8376a5072505344c1bd2e4c3a009b23598c08f3 /lib/plugins/Python_hash.h
parentae0b34aa23e5c37c323f3ad2499784aabafc0bac (diff)
downloadabrt-2860fc63ac8246fe78efd47d7319b52e8372a48c.tar.gz
abrt-2860fc63ac8246fe78efd47d7319b52e8372a48c.tar.xz
abrt-2860fc63ac8246fe78efd47d7319b52e8372a48c.zip
mve md5 hash from Python plugin to abrtlib
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'lib/plugins/Python_hash.h')
-rw-r--r--lib/plugins/Python_hash.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/lib/plugins/Python_hash.h b/lib/plugins/Python_hash.h
deleted file mode 100644
index cc1d2c43..00000000
--- a/lib/plugins/Python_hash.h
+++ /dev/null
@@ -1,29 +0,0 @@
-/* vi: set sw=4 ts=4: */
-/*
- * md5.c - Compute MD5 checksum of strings according to the
- * definition of MD5 in RFC 1321 from April 1992.
- *
- * Written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995.
- *
- * Copyright (C) 1995-1999 Free Software Foundation, Inc.
- * Copyright (C) 2001 Manuel Novoa III
- * Copyright (C) 2003 Glenn L. McGrath
- * Copyright (C) 2003 Erik Andersen
- *
- * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
- */
-
-#define MD5_RESULT_LEN 16
-
-typedef struct md5_ctx_t {
- uint32_t A;
- uint32_t B;
- uint32_t C;
- uint32_t D;
- uint64_t total;
- uint32_t buflen;
- char buffer[128];
-} md5_ctx_t;
-void md5_begin(md5_ctx_t *ctx);
-void md5_hash(const void *data, size_t length, md5_ctx_t *ctx);
-void md5_end(void *resbuf, md5_ctx_t *ctx);