Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Define MD4_DIGEST_STRING_LENGTH in <md4.h>



details:   https://anonhg.NetBSD.org/src/rev/79bcb8fec55d
branches:  trunk
changeset: 446220:79bcb8fec55d
user:      kamil <kamil%NetBSD.org@localhost>
date:      Wed Nov 28 05:19:13 2018 +0000

description:
Define MD4_DIGEST_STRING_LENGTH in <md4.h>

This is a kind of a symbol existing in other implementations and included
in headers for other hash APIs (like MD5).

diffstat:

 sys/sys/md4.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r a7c006a892e2 -r 79bcb8fec55d sys/sys/md4.h
--- a/sys/sys/md4.h     Wed Nov 28 03:17:13 2018 +0000
+++ b/sys/sys/md4.h     Wed Nov 28 05:19:13 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md4.h,v 1.8 2016/07/01 16:43:16 christos Exp $ */
+/*     $NetBSD: md4.h,v 1.9 2018/11/28 05:19:13 kamil Exp $    */
 
 /*
  * This file is derived from the RSA Data Security, Inc. MD4 Message-Digest
@@ -36,6 +36,7 @@
 #include <sys/types.h>
 
 #define MD4_DIGEST_LENGTH 16
+#define MD4_DIGEST_STRING_LENGTH 33
 #define MD4_BLOCK_LENGTH 64
 
 /* MD4 context. */



Home | Main Index | Thread Index | Old Index