From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fee84,1de6257d3e8a8ddb X-Google-Attributes: gidfee84,public From: spratte@odette.cxo.dec.com (Michael Spratte) Subject: Re: MD5 implementation Date: 1996/01/11 Message-ID: <4d3usa$gfm@nntpd2.cxo.dec.com>#1/1 X-Deja-AN: 134922984 distribution: world references: <30F4CCAF.41C6@adv.magwien.gv.at> organization: Digital Equipment Corporation reply-to: spratte@odette.cxo.dec.com (Michael Spratte) newsgroups: comp.unix.osf.osf1 In article <30F4CCAF.41C6@adv.magwien.gv.at>, Michael Gsandtner writes: |>Where can I get a MD5 (rfc1321) encryption implementation for a |>64 Bit alpha running DEC/OSF1 ? |>The reference implementation included in the RFC works fine only |>on 32 Bit machines. |>-- |>Michael Gsandtner, MA14 ADV, Magistrat Wien, �sterreich |>Rathausstr. 1 |>A-1082 Wien |>Austria (NOT where the kangaroos are !), Europe |> I've had no problem with the RFC1321 code running on Digital UNIX. All I did was modify global.h: /* UINT4 defines a four byte word */ #if defined(__osf__) && defined(__alpha) typedef unsigned int UINT4; #else typedef unsigned long int UINT4; #endif With this modification, the code works identically on ULTRIX, OpenVMS, Digital UNIX, and Windows NT. Michael Spratte DSNlink Engineering Digital Equipment Corporation