summaryrefslogtreecommitdiffhomepage
path: root/src/md5.h
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2014-01-03 10:19:42 +0100
committerSteven Barth <steven@midlink.org>2014-01-03 10:19:42 +0100
commit34330b9d564d706f38d01dd6608147bfe54f122d (patch)
treef606776c4fd82e092611074545bd5a2482b9ea5c /src/md5.h
parentb382a5a3b96a944d1621d3708ad8293a5be7aab4 (diff)
switch to libubox md5 implementation
Diffstat (limited to 'src/md5.h')
-rw-r--r--src/md5.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/md5.h b/src/md5.h
deleted file mode 100644
index fb79ae0..0000000
--- a/src/md5.h
+++ /dev/null
@@ -1,17 +0,0 @@
-#pragma once
-#include <stdint.h>
-#include <stddef.h>
-
-typedef struct md5_ctx {
- 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);