From 89c23755c8ab5d8c5bbbfa6e40eb0c6bda109dad Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Wed, 14 Jul 2021 14:39:31 +0300 Subject: update CVS --- lib/libc/hash/CVS/Entries | 13 +++++++++++++ lib/libc/hash/CVS/Repository | 1 + lib/libc/hash/CVS/Root | 1 + lib/libc/hash/md5.c | 4 ++-- lib/libc/hash/rmd160.c | 2 +- 5 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 lib/libc/hash/CVS/Entries create mode 100644 lib/libc/hash/CVS/Repository create mode 100644 lib/libc/hash/CVS/Root (limited to 'lib/libc/hash') 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 -- cgit v1.2.3