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.
This commit is contained in:
tls 2003-11-16 12:02:15 +00:00
parent 95ad31d40c
commit 2a94b617f1
1 changed files with 2 additions and 2 deletions

View File

@ -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