From owner-freebsd-current@FreeBSD.ORG Tue Mar 4 23:07:08 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDD3C1065671 for ; Tue, 4 Mar 2008 23:07:08 +0000 (UTC) (envelope-from chargen@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by mx1.freebsd.org (Postfix) with ESMTP id 3FEA08FC20 for ; Tue, 4 Mar 2008 23:07:08 +0000 (UTC) (envelope-from chargen@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so963170fgg.35 for ; Tue, 04 Mar 2008 15:07:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=iv0pWhpg984adHi1id2NdN4VH8PhZaQ4h5sAq8SBUZY=; b=aX/MA9jdLpMKCuPw//cB5BvG1plKCcFXebdg1f8XPGpf+xeEY/1gDMKZ4NEZXajli15z8SbS+8KyGhieNYn5saWAP4zNPwfmrYbfU5kkUlyXFS7UAwZ/wHeEZqq6WrHzHVUSDlApqIKE7MTTrxAjGdgq+lX2YlAVEZbxdWacjnM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=kzRV2GnuKEsZlDeADBYSTyc6ZgtBurB+V7piEK9MSauuM+GhTTnm0oQ1CQJzlnZJbUUM413bUBdWqhYtxNBeq5KTNa7I2bga86FWcskgEtehFlSzLvl0yVkmpVlZISzXygdDsNsUz4n8aADDVDgYWOJVHULjCfMaQlIQsFjWAVE= Received: by 10.86.80.5 with SMTP id d5mr1978488fgb.57.1204672027213; Tue, 04 Mar 2008 15:07:07 -0800 (PST) Received: by 10.86.50.17 with HTTP; Tue, 4 Mar 2008 15:07:07 -0800 (PST) Message-ID: <292361ab0803041507w2f384305k4461200b78ab0351@mail.gmail.com> Date: Wed, 5 Mar 2008 00:07:07 +0100 From: Chargen To: "M. Warner Losh" In-Reply-To: <20080304.155256.910758059.imp@bsdimp.com> MIME-Version: 1.0 References: <0B526200-AE42-436D-BB28-51B396D95FC5@rabson.org> <20080304.083144.1219863991.imp@bsdimp.com> <292361ab0803041437t48245090y3db91d2e7d9a0c9b@mail.gmail.com> <20080304.155256.910758059.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: current@freebsd.org Subject: Re: IPSEC/crypto is broken in FreeBSD/powerpc 7.0-RELEASE! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 04 Mar 2008 23:07:08 -0000 On Tue, Mar 4, 2008 at 11:52 PM, M. Warner Losh wrote: > In message: <292361ab0803041437t48245090y3db91d2e7d9a0c9b@mail.gmail.com> > Chargen writes: > > : on the topic of IPSEC/Crypto/Cryptodev (soft), is anyone interested in > : testing pr- 120270 (feature request > : http://www.freebsd.org/cgi/query-pr.cgi?pr=120270 ) - because there are > : still some features missing like AES-192/256 hardware support > > There seems to be a number of changes swizzled together in the diff in > this PR. Things like: > > #if defined(__OpenBSD__) || defined(__FreeBSD__) > - ENGINE_load_cryptodev(); > +#define HAVE_CRYPTODEV > #endif > #endif > +#ifdef HAVE_CRYPTODEV > + ENGINE_load_cryptodev(); > +#endif > > and then later > > void *ENGINE_get_static_state(void); > -#if defined(__OpenBSD__) || defined(__FreeBSD__) > +#if defined(__OpenBSD__) || defined(__FreeBSD__) || > defined(HAVE_CRYPTODEV) > void ENGINE_setup_bsd_cryptodev(void); > > and the like. > > Warner > Ai.. thanks for noticing (where was my mind ? :-) But I don't want to resubmit that particular diff, perhaps an expert will resolve these eventually .. again, thanks :-) back on topic.. nexus0-cryptodev broken on powerpc regards, Chargen