Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jun-ichiro itojun Hagino <itojun@netbsd.org>
List: source-changes
Date: 08/31/2000 10:50:38
Module Name:	syssrc
Committed By:	itojun
Date:		Thu Aug 31 07:50:38 UTC 2000

Modified Files:
	syssrc/sys/crypto/blowfish [netbsd-1-5]: bf_cbc.c bf_cbc_m.c bf_enc.c
	    bf_locl.h blowfish.h

Log Message:
pullup 1.1 -> 1.2 (for all files) - approved by releng-1-5

without the fix, blowfish encryption function panics the kernel, on LP64 arch.

>make the code friendly with LP64 machines.
>- use u_int32_t for 32bit quantity unsigned integer type.
>- s/unsigned long/BF_LONG/ (BF_LONG = u_int32_t) where appropriate.
>- prototype cleanup - due to *BSD code sharing, we still are using __P().
>part of PR 10918.  sync with kame.


To generate a diff of this commit:
cvs rdiff -r1.1.1.1 -r1.1.1.1.2.1 syssrc/sys/crypto/blowfish/bf_cbc.c \
    syssrc/sys/crypto/blowfish/bf_cbc_m.c syssrc/sys/crypto/blowfish/bf_enc.c \
    syssrc/sys/crypto/blowfish/bf_locl.h \
    syssrc/sys/crypto/blowfish/blowfish.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.