From owner-freebsd-stable@FreeBSD.ORG Wed Jul 9 19:31:38 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DD5010656A2 for ; Wed, 9 Jul 2008 19:31:38 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 055B98FC3B for ; Wed, 9 Jul 2008 19:31:37 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost1.sentex.ca (8.14.2/8.14.2) with ESMTP id m69JVX1g071024; Wed, 9 Jul 2008 15:31:33 -0400 (EDT) (envelope-from mike@sentex.net) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.8/8.13.3) with ESMTP id m69JVWej032290 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 9 Jul 2008 15:31:33 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <200807091931.m69JVWej032290@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Wed, 09 Jul 2008 15:31:30 -0400 To: Patrick =?iso-8859-1?Q?Lamaizi=E8re?= , freebsd-stable@freebsd.org From: Mike Tancsa In-Reply-To: <20080622170507.5ac469d2@baby-jane-lamaiziere-net.local> References: <20080606234135.46144207@baby-jane-lamaiziere-net.local> <20080622170507.5ac469d2@baby-jane-lamaiziere-net.local> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: Re: AMD Geode LX crypto accelerator (glxsb) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jul 2008 19:31:38 -0000 At 11:05 AM 6/22/2008, Patrick Lamaizi=E8re wrote: >Le Fri, 6 Jun 2008 23:41:35 +0200, >Patrick Lamaizi=E8re a =E9crit : > >Hello, > > > I'm trying to port the glxsb driver from OpenBSD to FreeBSD 7-STABLE > > (via the NetBSD port). > > " The glxsb driver supports the security block of the Geode LX > > series processors. The Geode LX is a member of the AMD Geode family > > of integrated x86 system chips. Hi, Thanks for porting this over! I am just=20 trying it now with ipsec on a soekris 5501 Without the module loaded, I can do something simple like # sh s # cat s MEOUTSIDE=3D64.x.x.x MEINSIDE=3D192.168.5.0/24 REMOTEOUTSIDE=3D64.y.y.y REMOTEINSIDE=3D192.168.1.0/24 IPSECKEY=3DzxzpprlNH61N11SGfrCa8dxZ setkey -c < mem 0xa0000000-0xa0003fff irq 10 at device 1.2 on pci0 # sh s The result of line 1: Invalid argument. The result of line 2: Invalid argument. # What is the proper AES encryption to use for=20 IPSEC ? Why is there a difference in syntax=20 ? This is RELENG_7 from a few days ago. If I=20 change the crypto to 3des-cbc, it works, but its=20 not making use of the crypto offload of course. ---Mike=20