aboutsummaryrefslogtreecommitdiffstats
path: root/src/md5.h
diff options
context:
space:
mode:
authoryzrh <yzrh@noema.org>2023-01-01 10:44:27 +0000
committeryzrh <yzrh@noema.org>2023-01-01 11:11:56 +0000
commit9019a184494e6fc220bcc1eb8f47f33fe0f3e506 (patch)
tree1615ce42fec0e7e84d86178f08ae6fc2b55ccb7c /src/md5.h
parenta18de8f2ef4be4a92b2e08161ce4b8f164ad4f7f (diff)
downloadmelon-9019a184494e6fc220bcc1eb8f47f33fe0f3e506.tar.gz
melon-9019a184494e6fc220bcc1eb8f47f33fe0f3e506.tar.zst
Split md5 function.
Signed-off-by: yzrh <yzrh@noema.org>
Diffstat (limited to 'src/md5.h')
-rw-r--r--src/md5.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/md5.h b/src/md5.h
new file mode 100644
index 0000000..9c1745d
--- /dev/null
+++ b/src/md5.h
@@ -0,0 +1,9 @@
+/*
+ * Copyright (c) 2023, yzrh <yzrh@noema.org>
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+int
+strmd5(unsigned char **dst, int *dst_size,
+ const unsigned char * restrict src, int src_size);