Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/conf We can't use bf_cbc.S if I386_CPU is defi...



details:   https://anonhg.NetBSD.org/src/rev/acd5dfdcd8d4
branches:  trunk
changeset: 555395:acd5dfdcd8d4
user:      tls <tls%NetBSD.org@localhost>
date:      Sun Nov 16 12:02:15 2003 +0000

description:
We can't use bf_cbc.S if I386_CPU is defined; the 80386 doesn't have
bswapl, and bf_cbc.S uses it.  Unfortunately, this means that GENERIC
will no longer use the asm code -- though it will still use the asm
for the basic Blowfish transform.  This won't slow down the KAME IPsec
(since it rolls its own CBC) but may slow down fast-ipsec in kernels
that have I386_CPU defined.

diffstat:

 sys/arch/i386/conf/files.i386 |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 6cacb7b2c4c7 -r acd5dfdcd8d4 sys/arch/i386/conf/files.i386
--- a/sys/arch/i386/conf/files.i386     Sun Nov 16 11:22:30 2003 +0000
+++ b/sys/arch/i386/conf/files.i386     Sun Nov 16 12:02:15 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.i386,v 1.245 2003/10/13 06:40:14 dyoung Exp $
+#      $NetBSD: files.i386,v 1.246 2003/11/16 12:02:15 tls Exp $
 #
 # new style config file for i386 architecture
 #
@@ -100,7 +100,7 @@
 file   crypto/des/arch/i386/des_cbc.S          des
 
 file   crypto/blowfish/arch/i386/bf_enc.S      blowfish
-file   crypto/blowfish/arch/i386/bf_cbc.S      blowfish
+file   crypto/blowfish/arch/i386/bf_cbc.S      blowfish & !i386_cpu
 
 #
 # Machine-independent SCSI drivers



Home | Main Index | Thread Index | Old Index