From 2a94b617f158321878945469a5314f4b8f9b4161 Mon Sep 17 00:00:00 2001 From: tls Date: Sun, 16 Nov 2003 12:02:15 +0000 Subject: [PATCH] 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. --- sys/arch/i386/conf/files.i386 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/i386/conf/files.i386 b/sys/arch/i386/conf/files.i386 index adaa50704318..575e932e8a78 100644 --- a/sys/arch/i386/conf/files.i386 +++ b/sys/arch/i386/conf/files.i386 @@ -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_enc.S des 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