From owner-freebsd-current@FreeBSD.ORG Tue Apr 26 22:52:50 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF30B16A4CE for ; Tue, 26 Apr 2005 22:52:50 +0000 (GMT) Received: from 62-15-211-171.inversas.jazztel.es (62-15-211-171.inversas.jazztel.es [62.15.211.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F92E43D1D for ; Tue, 26 Apr 2005 22:52:49 +0000 (GMT) (envelope-from josemi@freebsd.jazztel.es) Received: from redesjm.local (orion.redesjm.local [192.168.254.16]) j3QMqY9r022758; Wed, 27 Apr 2005 00:52:34 +0200 (CEST) (envelope-from josemi@redesjm.local) Received: from localhost (localhost [[UNIX: localhost]]) by redesjm.local (8.13.3/8.13.3/Submit) id j3QMqX4m058550; Wed, 27 Apr 2005 00:52:33 +0200 (CEST) (envelope-from josemi@redesjm.local) From: Jose M Rodriguez To: freebsd-current@freebsd.org Date: Wed, 27 Apr 2005 00:52:31 +0200 User-Agent: KMail/1.8 References: <200504261143.55195.josemi@redesjm.local> <426E9E1C.6020609@errno.com> <20050426221922.GD8621@ns1.xcllnt.net> In-Reply-To: <20050426221922.GD8621@ns1.xcllnt.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200504270052.33158.josemi@redesjm.local> X-AntiVirus: checked by AntiVir Milter (version: 1.1.0-3; AVE: 6.30.0.7; VDF: 6.30.0.116; host: antares.redesjm.local) cc: Sam Leffler cc: Jose M Rodriguez cc: Marcel Moolenaar Subject: Re: rigth crc32 implementation X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2005 22:52:50 -0000 El Mi=E9rcoles, 27 de Abril de 2005 00:19, Marcel Moolenaar escribi=F3: > On Tue, Apr 26, 2005 at 01:01:32PM -0700, Sam Leffler wrote: > > Note also there is CRC32 code of this sort in WEP and TKIP crypto > > modules in the net80211 support. > > Sam, > > Given the seperation of crc32() into crc32_raw() and crc32(), with > either crc32() only or otherwise both functions inlined, are there > any obstacles preventing the 802.11 code from using the ones in > src/sys/libkern? > > Thanks, at last, sys/dev/if_sbni have another implementation of what seems to be=20 a crc32 alg. geom_gpt also uses this, but the libkern version. =2D- josemi =2D- josemi