aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/hash
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-07-14 14:39:31 +0300
committerCem Keylan <cem@ckyln.com>2021-07-14 14:39:31 +0300
commit89c23755c8ab5d8c5bbbfa6e40eb0c6bda109dad (patch)
tree0619d977ce4ceecca0523f20a0609a293440e030 /lib/libc/hash
parent0ea3661a6ba0baaa39b95e836e8f2c87e2f4c20f (diff)
downloadotools-89c23755c8ab5d8c5bbbfa6e40eb0c6bda109dad.tar.gz
update CVS
Diffstat (limited to 'lib/libc/hash')
-rw-r--r--lib/libc/hash/CVS/Entries13
-rw-r--r--lib/libc/hash/CVS/Repository1
-rw-r--r--lib/libc/hash/CVS/Root1
-rw-r--r--lib/libc/hash/md5.c4
-rw-r--r--lib/libc/hash/rmd160.c2
5 files changed, 18 insertions, 3 deletions
diff --git a/lib/libc/hash/CVS/Entries b/lib/libc/hash/CVS/Entries
new file mode 100644
index 0000000..66f05b7
--- /dev/null
+++ b/lib/libc/hash/CVS/Entries
@@ -0,0 +1,13 @@
+/MD5Init.3/1.2/Thu Dec 5 21:45:05 2019//
+/Makefile.inc/1.25/Fri Aug 30 22:20:43 2019//
+/RMD160Init.3/1.2/Thu Dec 5 21:45:05 2019//
+/SHA1Init.3/1.2/Thu Dec 5 21:45:05 2019//
+/SHA256Init.3/1.3/Wed Dec 4 19:01:49 2019//
+/SipHash24_Init.3/1.1/Fri Aug 30 22:20:43 2019//
+/helper.c/1.18/Fri Jun 28 13:32:41 2019//
+/sha1.c/1.27/Fri Jun 7 22:56:36 2019//
+/sha2.c/1.28/Tue Jul 23 12:35:22 2019//
+/siphash.c/1.8/Sun Jan 20 03:53:47 2019//
+/md5.c/1.12/Result of merge//
+/rmd160.c/1.23/Result of merge//
+D
diff --git a/lib/libc/hash/CVS/Repository b/lib/libc/hash/CVS/Repository
new file mode 100644
index 0000000..d794fca
--- /dev/null
+++ b/lib/libc/hash/CVS/Repository
@@ -0,0 +1 @@
+src/lib/libc/hash
diff --git a/lib/libc/hash/CVS/Root b/lib/libc/hash/CVS/Root
new file mode 100644
index 0000000..3811072
--- /dev/null
+++ b/lib/libc/hash/CVS/Root
@@ -0,0 +1 @@
+/cvs
diff --git a/lib/libc/hash/md5.c b/lib/libc/hash/md5.c
index 97a444d..1a069d2 100644
--- a/lib/libc/hash/md5.c
+++ b/lib/libc/hash/md5.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: md5.c,v 1.11 2015/09/11 09:18:27 guenther Exp $ */
+/* $OpenBSD: md5.c,v 1.12 2020/10/13 04:42:28 guenther Exp $ */
/*
* This code implements the MD5 message-digest algorithm.
@@ -38,7 +38,7 @@
(cp)[1] = (value) >> 8; \
(cp)[0] = (value); } while (0)
-static u_int8_t PADDING[MD5_BLOCK_LENGTH] = {
+static const u_int8_t PADDING[MD5_BLOCK_LENGTH] = {
0x80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
diff --git a/lib/libc/hash/rmd160.c b/lib/libc/hash/rmd160.c
index c2e368f..9c00893 100644
--- a/lib/libc/hash/rmd160.c
+++ b/lib/libc/hash/rmd160.c
@@ -83,7 +83,7 @@
#define X(i) x[i]
-static u_int8_t PADDING[RMD160_BLOCK_LENGTH] = {
+static const u_int8_t PADDING[RMD160_BLOCK_LENGTH] = {
0x80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0