From b9ff7a3142227a703c7be1db5663972941c8d631 Mon Sep 17 00:00:00 2001 From: Paul Park Date: Tue, 27 Jun 1995 20:42:45 +0000 Subject: [PATCH] Allow md4.c to be optimized by native DEC compilers git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6170 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/crypto/md4/ChangeLog | 6 ++++++ src/lib/crypto/md4/md4.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/lib/crypto/md4/ChangeLog b/src/lib/crypto/md4/ChangeLog index c16c03e20..40a96927c 100644 --- a/src/lib/crypto/md4/ChangeLog +++ b/src/lib/crypto/md4/ChangeLog @@ -1,3 +1,9 @@ + +Tue Jun 27 15:53:02 EDT 1995 Paul Park (pjpark@mit.edu) + * md4.c(Transform) - Add 'register' to scratch variable names. Helps + out compiler so that DEC native compilers can now optimize + this module within our lifetimes. + Thu Jun 22 16:13:29 1995 Tom Yu (tlyu@dragons-lair) * md4.c: reverse sense of KRB5_PROVIDE_PROTOTYPES diff --git a/src/lib/crypto/md4/md4.c b/src/lib/crypto/md4/md4.c index be40b5dad..878b81df2 100644 --- a/src/lib/crypto/md4/md4.c +++ b/src/lib/crypto/md4/md4.c @@ -179,7 +179,7 @@ static void Transform (buf, in) krb5_ui_4 FAR *buf; krb5_ui_4 FAR *in; { - krb5_ui_4 a = buf[0], b = buf[1], c = buf[2], d = buf[3]; + register krb5_ui_4 a = buf[0], b = buf[1], c = buf[2], d = buf[3]; /* Round 1 */ FF (a, b, c, d, in[ 0], 3); -- 2.26.2