Subject: Re: md4.h revisited!
To: Patrick Welche <prlw1@cam.ac.uk>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 05/16/1997 11:05:40
On Fri, 16 May 1997 17:57:09 +0100 (BST) 
 prlw1@cam.ac.uk (Patrick Welche) wrote:

 > Can someone put me right on this libc please, I think I got rid of too
 > much now!

you did :-)

 > md:
 > total 56
 > -rw-r--r--  1 root  wheel    678 May  9 12:14 Makefile.inc
 > -rw-r--r--  1 root  wheel   1017 Jan 30 12:13 md4.copyright
 > -rw-r--r--  1 root  wheel   8177 Apr 30 21:40 md4c.c
 > -rw-r--r--  1 root  wheel   1021 Jan 30 12:13 md5.copyright
 > -rw-r--r--  1 root  wheel  10245 Apr 30 21:40 md5c.c
 > -rw-r--r--  1 root  wheel   3747 Jan 30 12:13 mdX.3
 > -rw-r--r--  1 root  wheel   1857 Apr 30 21:40 mdXhl.c
 > 
 > I had a go with yesterday's (15/5/97) sup, recompiling/installing
 > make, then make build.

lestat (thorpej) /usr/src/lib/libc/md 355% ls -l
total 31
 1 drwxr-xr-x  2 thorpej  source    512 May 11 17:38 CVS/
 1 -rw-r--r--  1 thorpej  source    678 May 11 17:26 Makefile.inc
 1 -rw-r--r--  1 thorpej  source   1017 Apr 25 11:37 md4.copyright
 8 -rw-r--r--  1 thorpej  source   8177 May  6 13:38 md4c.c
 1 -rw-r--r--  1 thorpej  source    220 May  6 13:38 md4hl.c
 1 -rw-r--r--  1 thorpej  source   1021 Apr 25 11:37 md5.copyright
11 -rw-r--r--  1 thorpej  source  10245 May  6 13:38 md5c.c
 1 -rw-r--r--  1 thorpej  source    220 May  6 13:38 md5hl.c
 4 -rw-r--r--  1 thorpej  source   3747 Apr 25 11:37 mdX.3
 2 -rw-r--r--  1 thorpej  source   1857 May  6 13:38 mdXhl.c
lestat (thorpej) /usr/src/lib/libc/md 356% cat md4hl.c
/*      $NetBSD: md4hl.c,v 1.1 1997/04/30 00:40:45 thorpej Exp $        */

/*
 * Written by Jason R. Thorpe <thorpej@netbsd.org>, April 29, 1997.
 * Public domain.
 */

#define MDALGORITHM     MD4

#include <md4.h>

#include "mdXhl.c"
lestat (thorpej) /usr/src/lib/libc/md 357% 

..md5hl.c is very similar...

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939